crypto-mcp-server
Allows performing EVM blockchain operations (reading balances, contracts, transactions, etc.) via Alchemy RPC.
Supports interactions with Ethereum mainnet and testnets (sepolia).
Supports interactions with Optimism mainnet and testnet (optimism-sepolia).
Supports interactions with Polygon mainnet and testnet (polygon-amoy).
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., "@crypto-mcp-serverwhat's my ETH balance on mainnet?"
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.
crypto-mcp-server
A Model Context Protocol server that lets any MCP client (Claude Desktop, Cursor, etc.) perform EVM blockchain operations — reading balances, reading/writing contracts, simulating and sending transactions, and signing messages — through Alchemy RPC, using a wallet derived from a mnemonic or private key.
Features
Multi-chain across Alchemy-backed networks. The target network is selectable per tool call (defaults to the configured
DEFAULT_NETWORK).Mainnets:
ethereum,base,arbitrum,optimism,polygonTestnets:
sepolia,base-sepolia,arbitrum-sepolia,optimism-sepolia,polygon-amoy
Both transports: stdio (default, for local clients) and Streamable HTTP (for remote/hosted use).
Tools:
Reads:
get_native_balance,get_token_balance,get_gas_price,get_block,get_transaction,resolve_ens,read_contractWrites:
send_native,send_token,write_contractPre-flight:
simulate_transaction(dry-run, never broadcasts)Signing:
sign_message(EIP-191),sign_typed_data(EIP-712)
Related MCP server: MCP Crypto Wallet EVM
Prerequisites
Node.js ≥ 18
An Alchemy API key
A wallet mnemonic or private key
Setup
npm install
cp .env.example .env # then fill in the values
npm run buildEnvironment variables
Variable | Required | Description |
| yes | Your Alchemy API key. Used to build RPC endpoints for all chains. |
| one of | BIP-39 mnemonic phrase. Provide exactly one of this / key. |
| one of |
|
| no | HD path used with |
| no | Default chain when a call omits |
| no |
|
| no | Port for the HTTP transport. Default: |
The server fails to start (non-zero exit) if ALCHEMY_API_KEY is missing,
if neither key is provided, or if both keys are provided.
Running
stdio (default — most MCP clients launch the server this way):
npm run start
# or for development with reload:
npm run devStreamable HTTP:
TRANSPORT=http PORT=3000 npm run start
# MCP endpoint: http://localhost:3000/mcpUsing with an MCP client (stdio)
Add to your client's MCP config (e.g. Claude Desktop's
claude_desktop_config.json, or .cursor/mcp.json). See
examples/mcp-client-config.json.
{
"mcpServers": {
"crypto": {
"command": "node",
"args": ["/absolute/path/to/crypto-mcp-server/dist/index.js"],
"env": {
"ALCHEMY_API_KEY": "your-alchemy-key",
"PRIVATE_KEY": "0xyour-private-key",
"DEFAULT_NETWORK": "ethereum"
}
}
}
}Security
This server can spend funds. It holds a mnemonic or private key in process memory and can sign and broadcast transactions.
Secrets are read only from environment variables and are never logged, echoed, or returned in tool outputs or error messages.
Prefer
simulate_transactionbefore anysend_*/write_contractcall to preview gas and catch reverts.The HTTP transport exposes spend operations over the network. It performs no authentication of its own — run it only behind a trusted network and/or an authenticating proxy. For local single-user use, prefer
stdio.Use a dedicated, low-value wallet. Never point this at a key holding significant funds without your own additional controls.
Development
npm run lint # type-check only (tsc --noEmit)
npm run test # vitest
npm run build # compile to dist/Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/vkpatva/crypto-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server