0.0.21 • Published 8 months ago
@oraichain/mcp-server v0.0.21
Test Oraichain MCP client & server
Install dependencies
npm install -g vite-nodeUpdate .env file
MISTRAL_API_KEY=
RPC_URL=In the root directory, run:
Run the MCP server
tsx test/oraichainMCPServer.tsRun the MCP client
tsx test/oraichainMCPClient.ts test/oraichainMCPServer.ts- When asking for prompt in MCP client, enter the following as an example:
query balance of wallet orai14h0n2nlfrfz8tn9usfyjrxqd23fhj9a0ec0pm7 with denom oraiTest Oraichain SSE MCP client & server
Install dependencies
npm install -g tsx vite-nodeUpdate .env file
MISTRAL_API_KEY=
RPC_URL=In the root directory, run:
Run the MCP server
vite-node test/oraichainSSEMCPServer.tsRun the MCP client
vite-node test/oraichainSSEMCPClient.tsTest Oraichain SSE MCP client & server with Mistral AI Agent
Update .env file
MISTRAL_API_KEY=
RPC_URL=In the root directory, run:
Run the MCP server
vite-node test/oraichainSSEMCPServer.tsRun the MCP client
vite-node test/oraichainSSEMCPClientWithAgent.tsThen, start asking questions to the agent, for example:
query balance of wallet orai1f5nyvnx5ks738d5ys7pwa0evc42v6ff043h6d2 with denom orai
Run MCP Server Inspector for debugging
Start the MCP server
Start the inspector using the following command:
# you can choose a different server
SERVER_PORT=9000 npx @modelcontextprotocol/inspector- Connect to the MCP server via Inspector
For Stdio:

For SSE:

0.0.21
8 months ago
0.0.20
8 months ago
0.0.19
8 months ago
0.0.18
8 months ago
0.0.17
8 months ago
0.0.16
8 months ago
0.0.15
8 months ago
0.0.14
8 months ago
0.0.13
8 months ago
0.0.12
8 months ago
0.0.11
8 months ago
0.0.10
8 months ago
0.0.9
8 months ago
0.0.8
8 months ago
0.0.7
8 months ago
0.0.6
8 months ago
0.0.5
8 months ago
0.0.4
8 months ago
0.0.3
8 months ago
0.0.2
8 months ago
0.0.1
8 months ago