An MCP wallet server is a software service that exposes cryptocurrency wallet operations—such as checking balances, sending transactions, signing messages, and swapping tokens—through the Model Context Protocol (MCP). MCP is an open standard, originally developed by Anthropic, that lets AI agents discover and call external tools through a standardized interface. The wallet server acts as a bridge: on one side, it holds or manages private keys and connects to blockchains; on the other, it presents wallet functions as named tools that any MCP-compatible client can invoke with structured parameters.
The mechanism has three layers. First, the transport layer: the server runs as a local process or remote service and communicates with the AI agent via stdio, HTTP with Server-Sent Events, or WebSockets. The agent and server exchange JSON-RPC messages following MCP conventions. When the agent starts, it requests a list of available tools from the server.
Second, the tool layer: the wallet server registers each operation as a tool with a name, description, and input schema. For example, a tool called send_transaction might accept parameters for recipient address, amount, and token identifier. The agent's language model uses these descriptions to decide which tool to call based on the user's natural language request. The model does not hold keys or construct raw transactions itself—it only generates the tool call with the correct arguments.
Third, the execution layer: the server receives the tool call, validates the parameters, performs the cryptographic signing with its managed keys, broadcasts the transaction to the appropriate blockchain network, and returns the result to the agent. This separation means the AI agent handles intent and reasoning while the wallet server handles security-critical key operations and chain communication. Custody models vary: some servers use MPC (multi-party computation) to distribute key shares, others use smart accounts with programmable permissions, and some operate as fully custodial services.
The following entries in the agentwallet.md directory implement or support MCP-based wallet access for AI agents: