Hedera MCP Server
Overview
Hedera MCP Server is a Model Context Protocol (MCP) server designed for interacting with the Hedera network, providing tools for creating wallets, checking account balances, building transactions, and sending signed transactions.
To use the Hedera MCP Server, clone the repository, install the dependencies, set up your Hedera credentials in a .env file, and run the server. You can also test the server using the included test client script.
- Create new Hedera wallets with minimal initial balance. - Check the balance of existing Hedera accounts. - Build transfer transactions without signing. - Send signed transactions to the Hedera network.
- Creating and managing Hedera wallets for users.
- Checking account balances for financial applications.
- Facilitating transactions on the Hedera network for decentralized applications.
Add to your AI client
Use these steps to connect Hedera MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"hedera-mcp-server-hedera-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"hedera-mcp-server-hedera-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"hedera-mcp-server-hedera-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"hedera-mcp-server-hedera-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"hedera-mcp-server-hedera-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"hedera-mcp-server-hedera-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hedera-mcp-server-hedera-dev"
]
}
}
}FAQ
What are the prerequisites for using the Hedera MCP Server?
You need Node.js (v18 or higher), npm or yarn, and a Hedera account for testnet or mainnet.
Is there a test client available?
Yes, the repository includes a test client script that demonstrates how to connect to the MCP server and use its tools.
How do I deploy the server?
A simple deployment script is included, which you can run after making it executable.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2237,"uuid":"170b6929-3e90-4fae-8856-848b232c91a2","name":"hedera-mcp-server","title":"Hedera MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/129940793?v=4","created_at":"2025-03-09T04:27:33.230Z","updated_at":"2025-03-12T10:20:33.745Z","status":"created","author_name":"hedera-dev","author_avatar_url":"https://avatars.githubusercontent.com/u/129940793?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/hedera-dev/hedera-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-07 04:54:55\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]