@cdr-kit/mcp
v0.7.3
Published
Stdio MCP server for Story CDR — wrapper around @cdr-kit/cli so `npx @cdr-kit/mcp` Just Works in any MCP host.
Readme
@cdr-kit/mcp
Model Context Protocol (stdio) server for Story CDR. One binary, 34 tools, plugs into Claude Desktop / Cursor / any MCP host.
The MCP server exposes the same 34 tools as @cdr-kit/tools. The agent's wallet auto-generates on first run (auto-funded via the faucet step below) — no per-conversation key juggling.
Install
pnpm add -g @cdr-kit/mcp
# provides the `cdr-kit-mcp` binaryWire to Claude Desktop / Cursor
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"cdr-kit": {
"command": "cdr-kit-mcp",
"env": {
"CDR_PRIVATE_KEY": "0x…", // optional — auto-generates if omitted
"CDR_RPC_URL": "https://aeneid.storyrpc.io"
}
}
}
}Restart your MCP host. Verify:
# in your MCP host: ask "list cdr tools" → should return all 34Wire to OpenClaw / generic MCP
openclaw mcp set cdr-kit cdr-kit-mcpWhat you get
- 34 tools, schema-typed (JSON-Schema), same as
@cdr-kit/tools - stdio transport: stdout is the protocol channel, all logs go to stderr (never breaks the wire)
- Auto-wallet: first boot generates
~/Library/Preferences/cdr-kit/wallet.json. Fund it viacdr fund. - 0.5+ advanced conditions + Story IP author surface included
Boot directly (no host)
cdr mcp
# or
cdr-kit-mcp
# pipe a JSON-RPC request from another process:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | cdr-kit-mcpEnv vars
CDR_PRIVATE_KEY=0x… # override the on-disk wallet
CDR_NETWORK=aeneid # aeneid | mainnet
CDR_RPC_URL=https://…
CDR_API_URL=http://…
LOG_LEVEL=debugPeer dependencies
None — @cdr-kit/mcp is bundled.
