Oraichain/orai-mcp
Built by Metorial, the integration platform for agentic AI.
Oraichain/orai-mcp
Server Summary
Query blockchain information
Retrieve wallet balances
Interact with multichain data
Integrate AI agents with blockchain data
npm install -g vite-node
MISTRAL_API_KEY=
RPC_URL=
In the root directory, run:
tsx test/oraichainMCPServer.ts
tsx test/oraichainMCPClient.ts test/oraichainMCPServer.ts
query balance of wallet orai14h0n2nlfrfz8tn9usfyjrxqd23fhj9a0ec0pm7 with denom orai
npm install -g tsx vite-node
MISTRAL_API_KEY=
RPC_URL=
In the root directory, run:
vite-node test/oraichainSSEMCPServer.ts
vite-node test/oraichainSSEMCPClient.ts
MISTRAL_API_KEY=
RPC_URL=
In the root directory, run:
vite-node test/oraichainSSEMCPServer.ts
vite-node test/oraichainSSEMCPClientWithAgent.ts
Then, start asking questions to the agent, for example:
query balance of wallet orai1f5nyvnx5ks738d5ys7pwa0evc42v6ff043h6d2 with denom orai
Start the MCP server
Start the inspector using the following command:
# you can choose a different server
SERVER_PORT=9000 npx @modelcontextprotocol/inspector
For Stdio:
For SSE:
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": ["-y", "@oraichain/[email protected]"],
"env": {
"RPC_URL": "https://rpc.orai.io"
}
}
}
}
Local setup for dev:
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": {
"RPC_URL": "https://rpc.orai.io"
}
}
}
}