crypto-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the HTTP transport. Default: 3000. | |
| MNEMONIC | No | BIP-39 mnemonic phrase. | |
| TRANSPORT | No | stdio (default) or http. | |
| PRIVATE_KEY | No | 0x-prefixed hex private key. | |
| ALCHEMY_API_KEY | Yes | Your Alchemy API key. | |
| DEFAULT_NETWORK | No | Default chain when a call omits network (e.g. polygon-amoy, sepolia). Default: ethereum. | |
| DERIVATION_PATH | No | HD path used with MNEMONIC (defaults to ethers' default path). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_native_balanceA | Get the native currency balance (ETH/POL/etc.) of an address on a supported network. |
| get_token_balanceA | Get an ERC-20 token balance for an address, using the token's on-chain decimals and symbol. |
| get_gas_priceB | Get current fee data (gas price, EIP-1559 fields) for a network. |
| get_blockA | Fetch a block by number, tag (e.g. 'latest'), or hash on a supported network. |
| get_transactionA | Fetch a transaction and, if mined, its receipt by hash on a supported network. |
| resolve_ensA | Resolve an ENS name to an address, or an address to its primary ENS name, where the network supports ENS. |
| read_contractB | Call a read-only (view/pure) contract method. Provide the contract address, an ABI fragment array, the method name, and arguments. |
| simulate_transactionA | Dry-run a transaction (native/erc20/contract) WITHOUT broadcasting. Returns success/revert, gas estimate, and a decoded revert reason when it would fail. |
| send_nativeA | Sign and broadcast a native currency transfer from the configured wallet. STATE-CHANGING: spends funds. |
| send_tokenA | Sign and broadcast an ERC-20 transfer from the configured wallet, converting the amount using the token's decimals. STATE-CHANGING. |
| write_contractB | Sign and broadcast a call to a state-changing contract method. Provide address, ABI fragments, method, args, and optional native value. STATE-CHANGING. |
| sign_messageA | Sign an arbitrary text message (EIP-191 personal_sign) with the configured wallet. |
| sign_typed_dataB | Sign EIP-712 typed data with the configured wallet. Provide domain, types, and value. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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