hedera-dev_hedera-mcp-server
0
The Hedera MCP Server is designed to facilitate interaction with the Hedera network, offering tools for wallet management, transaction creation, and balance verification. It supports easy integration with Hedera's testnet and mainnet.
Hedera MCP Server
A Model Context Protocol (MCP) server for interacting with the Hedera network. This server provides tools for creating Hedera wallets, checking account balances, building transactions, and sending signed transactions.
Prerequisites
- Node.js (v18 or higher)
- npm or yarn
- A Hedera account (for testnet or mainnet)
Installation
- Clone this repository
- Install dependencies
- Create a
.env
file in the root directory with your Hedera credentials
Building the Application
Compile the TypeScript code.
Running the Server
Start the server available at http://localhost:3000.
Testing with the Test Client
The repository includes a test client script that demonstrates how to connect to the MCP server and use its tools.
Available MCP Tools
- create-wallet: Creates a new Hedera account.
- check-balance: Checks the balance of a Hedera account.
- build-transaction: Builds a transfer transaction.
- send-transaction: Sends a signed transaction to the Hedera network.