Geth MCP Proxy
Uses dotenv for environment variable management to configure Geth node connections and server settings
Provides comprehensive access to Ethereum blockchain data and operations through Geth node integration, including querying blocks, transactions, balances, admin functions, debug tools, and transaction pool management
Built on Express.js web framework to provide HTTP endpoints for MCP tool calls and REST API access
Implemented as a Node.js application that serves as a proxy server between Ethereum Geth nodes and MCP-enabled applications
Utilizes Zod for input validation and schema definition of all MCP tool parameters to ensure type safety
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Geth MCP Proxyget the current block number"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChainRPC MCP
JSON-RPC MCP server for EVM chains and Bitcoin
A safety-first Model Context Protocol server for EVM chains and Bitcoin.
ChainRPC MCP gives agents a focused set of tools for balances, blocks, transactions, logs, smart-contract reads, gas and fee estimation, and transaction decoding. It can submit already-signed transactions, but only behind explicit, disabled-by-default safety gates. It never accepts private keys, manages wallets, or signs transactions.
Two ecosystems, one server: EVM JSON-RPC and Bitcoin Core-compatible RPC.
Useful without an account: defaults to public Ethereum and Bitcoin endpoints from PublicNode.
Bring your own infrastructure: replace either endpoint and optionally use HTTP Basic authentication.
Official transports: local stdio and stateful Streamable HTTP through the official MCP SDK.
Constrained by design: no arbitrary RPC passthrough and no wallet, admin, debug, miner, or node-management methods.
Choose how to connect
Hosted, read-only service
The public endpoint is available now:
https://chainrpc-mcp.mitander.io/mcpFor clients that accept a remote Streamable HTTP server:
{
"mcpServers": {
"chainrpc-mcp": {
"url": "https://chainrpc-mcp.mitander.io/mcp"
}
}
}Health and upstream status:
curl 'https://chainrpc-mcp.mitander.io/health?upstream=1'The hosted service is shared, rate-limited, and intentionally has both broadcast features disabled. It is suitable for evaluation and public-chain reads, but has no availability SLA. Requests are visible to the service operator and upstream RPC providers; use your own deployment for sensitive queries or production workloads.
Local stdio server
Requirements: Node.js 20 or newer.
npx -y chainrpc-mcpExample client configuration:
{
"mcpServers": {
"chainrpc-mcp": {
"command": "npx",
"args": ["-y", "chainrpc-mcp"],
"env": {
"EVM_RPC_URL": "https://ethereum-rpc.publicnode.com",
"BITCOIN_RPC_URL": "https://bitcoin-rpc.publicnode.com"
}
}
}
}The RPC variables are optional; they are shown to make the defaults explicit.
Related MCP server: Ethereum RPC MCP Server
Available tools
EVM
Tool | Purpose | State-changing |
| Return the latest block number | No |
| Return chain ID and client version | No |
| Read a native-token balance at a block | No |
| Read a block by number, tag, or hash | No |
| Read a transaction and receipt | No |
| Execute an | No |
| Encode, call, and decode a function from its ABI | No |
| Estimate gas for an unsigned transaction | No |
| Query event logs with address and topic filters | No |
| Preflight and submit signed transaction bytes | Yes |
Any HTTP(S) EVM JSON-RPC endpoint can be used, so the same tools work with Ethereum mainnet, testnets, and compatible chains. Results always come from the configured endpoint; callers should inspect evm_getChainInfo before making chain-specific assumptions.
Bitcoin
Tool | Purpose | State-changing |
| Return network, height, sync, and pruning information | No |
| Scan confirmed UTXOs for an address | No |
| Read a block by height or hash | No |
| Read raw transaction details | No |
| Look up an unspent transaction output | No |
| Estimate a fee rate for a confirmation target | No |
| Decode serialized transaction bytes | No |
| Validate and submit signed transaction bytes | Yes |
Bitcoin Core is not an address indexer. btc_getAddressBalance uses scantxoutset, which reports currently unspent, confirmed outputs—not history or unconfirmed balance. Only one scan can run on a node at a time, so a shared endpoint may return scan already in progress. Use a dedicated node for frequent address scans.
Safety model
ChainRPC MCP treats transaction submission as an exceptional operation:
Broadcasting is off unless
ALLOW_EVM_BROADCASTorALLOW_BITCOIN_BROADCASTis explicitly enabled.The server accepts only serialized, already-signed transaction bytes.
Every broadcast call requires the literal confirmation
I understand this broadcasts a real transaction.EVM submission checks the endpoint and transaction chain IDs, rejects unprotected legacy transactions, recovers the signer, and runs
eth_estimateGasfirst.Bitcoin submission checks the endpoint network and requires
testmempoolacceptto approve the transaction.Submission requests are never automatically retried. A timeout can leave broadcast status ambiguous.
Read inputs use strict schemas; upstream concurrency, timeout, retry, and response sizes are bounded.
HTTP mode validates hosts and browser origins, supports bearer authentication, caps request bodies, and binds to loopback by default.
RPC responses are untrusted external data. A compromised endpoint can lie about chain state, censor requests, or observe queries. Independently verify high-value decisions, ideally against infrastructure you control.
See SECURITY.md for vulnerability reporting and the complete trust boundary.
Configuration
Copy example.env to .env when running from a checkout.
Variable | Default | Description |
|
| Any HTTP(S) EVM JSON-RPC endpoint |
|
| Any HTTP(S) Bitcoin Core-compatible endpoint |
| unset | Optional EVM HTTP Basic authentication pair |
| unset | Optional Bitcoin HTTP Basic authentication pair |
|
| Per-attempt upstream timeout |
|
| Retry count for retryable reads only |
|
| Maximum upstream response body |
|
| Maximum concurrent requests per chain client |
|
| Enable signed EVM transaction submission |
|
| Enable signed Bitcoin transaction submission |
|
| Default transport: |
|
| HTTP bind address and port |
|
| Streamable HTTP MCP path |
| unset | Optional bearer token for |
| unset | Required allowlist when binding HTTP to a non-loopback address |
| unset | Comma-separated browser-origin allowlist |
|
| Maximum concurrent HTTP MCP sessions |
|
| Express request-body limit |
GETH_URL remains a deprecated compatibility alias for EVM_RPC_URL. Credentials embedded in RPC URLs are rejected; use the matching username and password variables.
Self-host with Streamable HTTP
Start a loopback-only HTTP server:
npm start
curl 'http://127.0.0.1:3000/health?upstream=1'To bind beyond loopback, explicitly set the host allowlist and authentication:
HOST=0.0.0.0 \
ALLOWED_HOSTS=mcp.example.com \
MCP_AUTH_TOKEN='replace-with-a-long-random-secret' \
npm startTerminate TLS at a trusted reverse proxy, preserve the original Host header, and keep the origin private. A bearer token is useful for a single trusted client; use an OAuth-capable gateway and network access policy for multi-user deployments.
Docker defaults to stdio. Override the command for HTTP:
docker build -t chainrpc-mcp .
docker run --rm -p 127.0.0.1:3000:3000 \
-e HOST=0.0.0.0 \
-e ALLOWED_HOSTS=localhost,127.0.0.1 \
-e MCP_AUTH_TOKEN='replace-with-a-long-random-secret' \
chainrpc-mcp --httpProduction service topology:
MCP client
|
v
Cloudflare edge -> outbound-only Cloudflare Tunnel -> nginx on loopback
|
v
ChainRPC MCP
/ \
v v
EVM RPC Bitcoin RPCDeployment units, nginx configuration, hardening details, and operating commands are in docs/OPERATIONS.md.
Development
git clone https://github.com/John0n1/chainrpc-mcp.git
cd chainrpc-mcp
npm ci
npm run check
npm run test:coverageUseful commands:
Command | Purpose |
| Start the stdio transport |
| Start Streamable HTTP |
| Start HTTP with Node watch mode |
| Run the test suite |
| Syntax-check the entry point and run all tests |
| Inspect the npm package contents |
The detailed design and remediation record is in docs/AUDIT.md. Contributions are welcome through issues and pull requests. Please use a private GitHub security advisory—not a public issue—for suspected vulnerabilities.
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that gives LLMs the ability to interact with Ethereum networks, manage wallets, query blockchain data, and execute smart contract operations through a standardized interface.544114MIT
- AlicenseBqualityFmaintenanceProvides tools for AI assistants to interact with the Ethereum blockchain through standard JSON-RPC methods, enabling queries for account balances, gas prices, and smart contract code.32012MIT
- -licenseNot gradedqualityNot gradedmaintenanceComprehensive Model Context Protocol server that enables AI agents to interact with 30+ Ethereum-compatible blockchain networks, supporting token transfers, smart contract interactions, and ENS name resolution through a unified interface.1

Blockscout MCP Serverofficial
FlicenseAqualityBmaintenanceA server that exposes blockchain data (balances, tokens, NFTs, contract metadata) via the Model Context Protocol, enabling AI agents and tools to access and analyze blockchain information contextually.1843
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
Abstraxn: public Web3 MCP server for read-only chain data and pay-per-call relays.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/John0n1/chainrpc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server