Quick start
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (20 or later recommended)
- pnpm (
npm install -g pnpm
) - Git
Get started
The whole thing consists of two services that we need to run.
-
Clone the repository:
git clone https://github.com/mateuszm-arianelabs/hedera-mcp-server.git
cd hedera-mcp-server -
Set up environment variables in packages:
- You need to copy the .env.example file and create .env from it in two locations:
- packages/langchain-proxy
- packages/mcp-server
Edit the
.env
file and fill in the required configuration values (e.g., Hedera keys, network details).API_URL= # url to langchain proxy endpoint
PORT= # port on which MCP server will be started
MCP_AUTH_TOKEN= # array of accepted tokens separated by comas
LANGCHAIN_PROXY_TOKEN= # token for accessing the Langchain proxy - You need to copy the .env.example file and create .env from it in two locations:
-
Install dependencies:
pnpm install
-
Start Lang chain Proxy Service
pnpm run dev:lc
(Or
pnpm start
for production mode, if configured). -
Run the mcp server:
pnpm run dev:mcp
(Or
pnpm start
for production mode, if configured). -
Enjoy How to use