Hedera MCP Server
by hedera-dev
The Hedera MCP Server integrates with a Langchain wrapper to enable interaction with the Hedera network using natural language commands. It facilitates performing Hedera operations through the Langchain setup.
Last updated: N/A
What is Hedera MCP Server?
The Hedera MCP Server is a server that acts as an interface between natural language commands and the Hedera network. It uses a Langchain wrapper to interpret natural language requests and translate them into actions on the Hedera network.
How to use Hedera MCP Server?
To use the server, clone the repository, set up the required environment variables in both the langchain-proxy
and mcp-server
packages, install dependencies using pnpm install
, start the Langchain Proxy service using pnpm run dev:lc
(or pnpm start
for production), and then run the MCP server using pnpm run dev:mcp
(or pnpm start
for production). Ensure you have the correct authentication token configured.
Key features of Hedera MCP Server
Integration with Langchain
Interaction with Hedera network via natural language
Support for Hedera operations (e.g., token creation, HBAR transfer, smart contract interaction)
Server-Sent Events (SSE) for communication
Authentication via X-MCP-AUTH-TOKEN
Use cases of Hedera MCP Server
Performing Hedera operations using natural language commands
Integrating Hedera functionality into applications with a natural language interface
Automating Hedera tasks through conversational interfaces
Building AI agents that can interact with the Hedera network
Creating user-friendly interfaces for interacting with Hedera
FAQ from Hedera MCP Server
What is the purpose of the X-MCP-AUTH-TOKEN header?
What is the purpose of the X-MCP-AUTH-TOKEN header?
The X-MCP-AUTH-TOKEN header is required to establish a connection with the MCP server and authenticate requests.
What are the prerequisites for running the server?
What are the prerequisites for running the server?
You need Node.js (20 or later recommended), pnpm, and Git installed.
How do I configure the environment variables?
How do I configure the environment variables?
Copy the .env.example file to .env in both the packages/langchain-proxy and packages/mcp-server directories, and then edit the .env files to fill in the required configuration values.
How do I start the Langchain Proxy service?
How do I start the Langchain Proxy service?
Run pnpm run dev:lc
for development mode or pnpm start
for production mode (if configured).
How do I start the MCP server?
How do I start the MCP server?
Run pnpm run dev:mcp
for development mode or pnpm start
for production mode (if configured).