Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP (Model Context Protocol) server — read-only DB introspection tools.

The public entry point is run_stdio; it is invoked by the rivet-mcp binary in src/bin/rivet-mcp.rs. See that file for client integration examples (Claude Desktop, Claude Code).

The server speaks JSON-RPC 2.0 over stdin/stdout (one object per line). All tools are read-only — no writes, no DDL.

Functions§

run_stdio
Run the MCP server loop on stdin/stdout until EOF.