SuperAPIAI Directory

mcp-wallet-signer

github.com · AI developer platforms

Non-custodial EVM wallet that routes transactions to browser wallets like MetaMask for signing, with explicit user approval for every action via EIP-6963.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

mcp-wallet-signer is designed to solve the problem of blockchain tools needing to put private keys into configuration files, thereby introducing fund risk. It routes each transaction request through an MCP server to the browser wallet the user already uses, letting users review and approve transactions just like an ordinary dapp interaction. Its core feature is that private keys never leave the browser, and all transactions must be explicitly approved in the user's own wallet (MetaMask, Rabby, TronLink, etc.).

The project has been superseded by nikicat/browser-web3-signer. browser-web3-signer reimplements the same browser wallet signing flow in Rust and provides a CLI as well as Rust/TypeScript/Go libraries. Everything published from this repository is now a lightweight compatibility layer based on browser-web3-signer, so existing installations can continue to work; new code should use browser-web3-signer directly.

In terms of usage, all three implementations start browser-web3-signer serve, which handles the localhost bridge, approval page, and browser tab. Platform-specific binaries are installed automatically as a dependency, with no other setup required. Integration is also available via MCP for Claude Desktop, Cursor, Windsurf, and other stdio MCP clients. The EVM_MCP_DEFAULT_CHAIN environment variable is used to set the default chain ID when a call does not specify a chain (the default value is 1).

Changes in the compatibility layer include: removal of components such as PendingStore, pendingStore, createHttpServer, startTestServer, buildConnectUrl, buildSignUrl, and openBrowser, because the in-process HTTP bridge they drove no longer exists. approvalUrl now points to the bridge's base URL; the bridge opens the approval page itself and no longer returns a per-request URL. The constructor option port is ignored, and the bridge binds its own free port; getPort() / DEFAULT_PORT can still be resolved to preserve source compatibility. The balance tools (get_balance, get_token_balance) and TRON tools were removed from the MCP server, because balance queries do not need a wallet and any MCP server or cast call that reads RPC can do it without triggering an approval prompt, while TRON signing can be done via the CLI. WalletSigner.getBalance and .getTokenBalance in both libraries are unchanged. They have been marked as deprecated on npm and JSR. browser-evm-signer@0.3.0 does not work at all, because its export points to ./esm/mod.js, while the tarball actually provides ./esm/browser-evm-signer/src/mod.js, which also affects mcp-wallet-signer@0.6.0. The pre-compatibility-layer Deno implementation (in-process bridge, Svelte approval UI, wallet-signer-core package) remains in the history up to commit 636fd3b. Each package is released independently: the tag format is <package>@<version>, and a GitHub release is published.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools