rdk mcp:*

Commands related to the MCP server that connects RDK to Claude Desktop.

Commands

rdk mcp:serve

rdk mcp:serve

Start the MCP server. Claude Desktop connects to this via stdio.

The server:

  • Loads your vault index
  • Listens for tool calls from Claude
  • Runs the background sync loop for public chunks
  • Serves the .well-known/mcp.json endpoint on port 3000

This command blocks the terminal — it must keep running for the MCP connection to stay alive. Run it in a dedicated terminal tab or use a process manager like pm2.

rdk mcp:validate

rdk mcp:validate

Test that the MCP server starts correctly and all tools are registered. Does not block — runs once and exits.