Skip to main content

Module mcp

Module mcp 

Source
Expand description

grr mcp — the Model Context Protocol server. // wired in cli.rs

The protocol implementation lives in crate::mcp; this module is the clap surface (the mcp subcommand is registered in src/cli.rs) and the startup path: one GoogleAuth built the same way run() does, reused for every call, plus the --readonly safety profile the server honors exactly as the CLI dispatch does.

grr mcp                # serve every Discovery method over stdio
grr mcp --readonly     # writes refused with MCP error results

Structs§

McpArgs

Functions§

run_mcp