First MCP Server
Register an MCP server and discover tools through KorClaw.
Register MCP servers in your workspace, then discover and call tools through KorClaw's governed MCP runtime. Upstream transport URLs are stored securely — they never appear in API request bodies.
1. Register the server
bash
curl -X POST https://app.korclaw.com/api/v1/mcp-servers \
-H "Authorization: Bearer kc_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "My Tools Server",
"slug": "my-tools",
"transport_url": "https://mcp.example.com/sse"
}'2. Discover tools
bash
curl -X POST https://app.korclaw.com/api/v1/runtime/mcp/discover \
-H "Authorization: Bearer kc_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"server": "my-tools",
"input": { "action": "discover", "agent": "research-agent" }
}'3. Call a tool
bash
curl -X POST https://app.korclaw.com/api/v1/runtime/mcp/call \
-H "Authorization: Bearer kc_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"server": "my-tools",
"tool": "search_documents",
"arguments": { "query": "quarterly report" },
"input": { "action": "search", "agent": "research-agent", "tool": "search_documents" }
}'MCP compatibility
KorClaw implements MCP tool discovery and invocation over HTTP/SSE transport using JSON-RPC (protocol version 2024-11-05). See the official MCP specification at https://modelcontextprotocol.io for protocol details. KorClaw adds governance, policy evaluation, and audit on top of standard MCP operations.