usage mcp
- Usage:
usage mcp [-f --file <FILE>] [-s --spec <SPEC>] - Aliases:
mcp-server - Effect: read-only
- Source code:
cli/src/cli/mcp.rs
Serve a usage spec over the Model Context Protocol
Reads JSON-RPC over stdin and writes responses to stdout, which is how MCP clients launch a local server. Point one at usage mcp -f mycli.usage.kdl.
Flags
-f --file <FILE>
Usage spec file (not "-": stdin is the MCP transport)
-s --spec <SPEC>
Raw string spec input
