Enables AI assistants to interact with blockchains securely, allowing users to maintain control over transaction signing.
Enables AI assistants to interact with blockchains securely, allowing users to maintain control over transaction signing. Exposed over MCP by the blockchain interaction mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
An MCP server that lets AI assistants read blockchain data and prepare transactions — while the user keeps full custody of their keys and signs every transaction in their own wallet.
mcp-blockchain-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Everything the assistant can do here goes through one of these:
get-chains — List supported networks and their chain idsget-balance — Native-token balance for an address on a chainread-contract — Call a read-only contract method (pass an abi or set ETHERSCAN_API_KEY)prepare-transaction — Create an unsigned transaction and return a signing URLget-transaction-status — Track a prepared transaction by idReleasing — CI (build + tests) runs on every push and PR. To publish a new version to npm:You will need 7 environment variables: PUBLIC_BASE_URL, UPSTASH_REDIS_REST_URL, UPSTASH_REDIS_REST_TOKEN, ETHERSCAN_API_KEY, DEFAULT_CHAIN_ID, KV_REST_API_URL, INFURA_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Blockchain Interaction's toolset — get-chains, get-balance, read-contract and 3 more — is a fair guide to whether it matches your workflow. It is maintained by zhangzhongnan928; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| get-chains | List supported networks and their chain ids. |
| get-balance | Native-token balance for an address on a chain. |
| read-contract | Call a read-only contract method (pass an abi or set ETHERSCAN_API_KEY). |
| prepare-transaction | Create an unsigned transaction and return a signing URL. |
| get-transaction-status | Track a prepared transaction by id. |
| Releasing | CI (build + tests) runs on every push and PR. To publish a new version to npm: |
{
"mcpServers": {
"blockchain": {
"command": "npx",
"args": ["-y", "mcp-blockchain-server"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| PUBLIC_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| UPSTASH_REDIS_REST_URL | Endpoint or connection string the server talks to. | Yes |
| UPSTASH_REDIS_REST_TOKEN | Credential the server authenticates with. | Yes |
| ETHERSCAN_API_KEY | Credential the server authenticates with. | Yes |
| DEFAULT_CHAIN_ID | Configuration value read at startup. | Optional |
| KV_REST_API_URL | Endpoint or connection string the server talks to. | Yes |
| INFURA_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.