MCP.so
登录

Hedera MCP Server

@hedera-dev

基本信息

分类

其他

传输方式

stdio

作者

hedera-dev

关于 Hedera MCP Server

暂无概览

Hedera MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "hedera-mcp-server": {
      "command": "node",
      "args": [
        "test-client.js"
      ]
    }
  }
}

Hedera MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Hedera MCP Server?

A Model Context Protocol (MCP) server for interacting with the Hedera network. It provides tools for creating Hedera wallets, checking account balances, building transactions, and sending signed transactions.

How to use Hedera MCP Server?

Requires Node.js v18 or higher, npm/yarn, and a Hedera account. Clone the repository, install dependencies, create a .env file with your operator credentials (HEDERA_OPERATOR_ID, HEDERA_OPERATOR_KEY, HEDERA_NETWORK), build the TypeScript code, and start the server. A test client script (test-client.js) demonstrates the complete workflow: create-wallet, check-balance, build-transaction, sign client-side, and send-transaction.

Key features of Hedera MCP Server

  • Create a new Hedera account with a minimal initial balance
  • Check the balance of any Hedera account in tinybars
  • Build an unsigned transfer transaction (returns base64-encoded)
  • Send a client-signed transaction and return status and ID
  • Complete end-to-end test client demonstrating all tools

Use cases of Hedera MCP Server

  • Create Hedera wallets programmatically via AI assistants
  • Check account balances without direct SDK integration
  • Build and send transfer transactions through conversational interfaces
  • Integrate Hedera network operations into AI-powered workflows

常见问题

1

What are the prerequisites for running the server?

Node.js v18 or higher, npm or yarn, and a Hedera account (testnet or mainnet).

2

How do I configure the server to connect to Hedera?

Create a `.env` file with `HEDERA_OPERATOR_ID`, `HEDERA_OPERATOR_KEY`, and `HEDERA_NETWORK` (testnet or mainnet). An optional `PORT` defaults to 3000.

3

What tools does the server expose?

Four tools: `create-wallet` (no inputs), `check-balance` (requires `accountId`), `build-transaction` (requires `senderAccountId`, `recipientAccountId`, `amount` in tinybars), and `send-transaction` (requires `signedTransaction` as base64 string).

4

How can I test the server?

Run `node test-client.js` after starting the server. It connects, lists tools, creates a wallet, checks balance, builds a transaction, signs it client-side, sends it, and displays the result.

5

Is there a deployment script?

Yes, a `deploy.sh` script is included. Make it executable with `chmod +x deploy.sh` and then run `./deploy.sh`.

评论

其他 分类下的更多 MCP 服务器