cardano-node-mcp
Provides tools to interact with a Cardano node via cardano-cli/torsten-cli, enabling querying, transaction building, address/key management, stake operations, pool management, and governance actions.
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., "@cardano-node-mcpwhat is the current chain tip?"
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.
cardano-node-mcp-server
An MCP (Model Context Protocol) server that enables LLMs to interact with a Cardano node by wrapping the cardano-cli / torsten-cli command-line interface. Compatible with both the Haskell cardano-node and Torsten implementations.
Features
64 tools covering the full
cardano-clisurface areaQuery — chain tip, UTxOs, protocol parameters, stake distribution, governance state, mempool, treasury, constitution, and more
Transaction — build, sign, submit, view, witness, assemble, calculate fees, compute policy IDs
Address & Key — generate key pairs, build addresses, compute key hashes
Stake — registration, delegation, vote delegation certificates
Stake Pool — key generation, registration/retirement certificates, operational certificates
Governance — DRep management, voting, governance actions (info, no-confidence, constitution, hard fork, protocol parameter updates, committee updates, treasury withdrawals)
Node — cold/KES/VRF key generation, operational certificates
Related MCP server: SnapKitty MCP Server
Prerequisites
Node.js ≥ 18
A Cardano CLI binary — either
cardano-cliortorsten-cliA running Cardano node with an accessible Unix domain socket
Installation
git clone https://github.com/michaeljfazio/cardano-node-mcp.git
cd cardano-node-mcp
npm install
npm run buildConfiguration
The server is configured via environment variables:
Variable | Default | Description |
|
| Path to the CLI binary. Set to |
|
| Path to the cardano-node Unix domain socket. |
| (unset = mainnet) | Testnet magic number (e.g., |
Usage
Claude Code
Add to your Claude Code MCP configuration (~/.claude/mcp.json):
{
"mcpServers": {
"cardano-node": {
"command": "node",
"args": ["/path/to/cardano-node-mcp/dist/index.js"],
"env": {
"CARDANO_CLI_PATH": "cardano-cli",
"CARDANO_NODE_SOCKET_PATH": "/path/to/node.sock"
}
}
}
}Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"cardano-node": {
"command": "node",
"args": ["/path/to/cardano-node-mcp/dist/index.js"],
"env": {
"CARDANO_CLI_PATH": "cardano-cli",
"CARDANO_NODE_SOCKET_PATH": "/path/to/node.sock"
}
}
}
}Development
npm run dev # Run with auto-reload via tsx
npm run build # Compile TypeScript
npm start # Run compiled serverTools Reference
See docs/tools.md for a complete reference of all 64 tools with their parameters.
Architecture
The server uses a simple architecture:
LLM ↔ MCP (stdio) ↔ cardano-node-mcp-server ↔ cardano-cli/torsten-cli ↔ cardano-node (Unix socket)Each MCP tool maps to a CLI subcommand. The server:
Validates input parameters via Zod schemas
Constructs CLI arguments
Executes the CLI binary with
CARDANO_NODE_SOCKET_PATHsetReturns stdout as the tool result (or a structured error)
Network and socket configuration are applied globally from environment variables, so individual tool calls don't need to specify them.
License
MIT
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
- Alicense-qualityCmaintenanceMCP server for Cardano blockchain data — exposes on-chain queries, address lookups, transaction history, token metadata, stake pool info, and network parameters to LLM agents.Last updated832MIT
- FlicenseAqualityCmaintenanceMCP server exposing tools for WORM chain sealing, sovereign agent creation, Ada governance contract generation, and SSM state injection from Lean theorems.Last updated64
- Flicense-qualityDmaintenanceAn MCP server that provides LLMs with access to 95 tools covering the Koios Cardano blockchain REST API, enabling queries for on-chain data like transactions, addresses, assets, and governance.Last updated3
- Flicense-qualityCmaintenanceMCP server that exposes Fund402 protocol tools to Casper testnet, allowing LLMs to execute real on-chain actions like wallet creation, token management, and borrowing via natural language.Last updated
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/michaeljfazio/cardano-node-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server