From 19b4ff84a0f7fb022ca75d69974c511230a1d478 Mon Sep 17 00:00:00 2001 From: codexbountylab Date: Thu, 2 Jul 2026 02:26:21 +0000 Subject: [PATCH] fix README MCP Python entrypoint example --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a24bfd..e58770d 100644 --- a/README.md +++ b/README.md @@ -94,11 +94,19 @@ Add to your Claude config file (`~/Library/Application Support/Claude/claude_des ### For Other MCP Clients +The package exposes the MCP server entrypoint via `rustchain_mcp.server`. +Configure the node URLs with environment variables, then import and run `mcp`: + ```python -from rustchain_mcp import RustChainMCPServer +import os + +os.environ["RUSTCHAIN_NODE"] = "https://50.28.86.131" +os.environ["BOTTUBE_URL"] = "https://bottube.ai" +os.environ["BEACON_URL"] = "https://rustchain.org/beacon" + +from rustchain_mcp.server import mcp -server = RustChainMCPServer(api_key="your-api-key") -server.run() +mcp.run() ``` ## Prerequisites