castellan mcp
MCP stdio JSON-RPC server exposing stigmergy and harness tools from the shared registry.
Usage
castellan mcp
Methods: initialize, tools/list, tools/call. Same registry as castellan run --mcp live episodes.
Recipes
List tools (stdio):
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | castellan mcp
Discovery flow:
printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"castellan_search_tools","arguments":{"query":"deposit"}}}' \
| castellan mcp
Wire Cursor: see Cursor setup.