Skip to main content

Module mcp

Module mcp 

Source
Expand description

lev mcp - manage MCP tool servers and their authentication.

Adding a server that requires OAuth starts the browser login automatically, the way Claude Code and other clients do, so setup is a single command.

Structs§

McpArgs
Arguments for lev mcp.
McpEnv
Seams the real I/O of lev mcp depends on, injected so the command logic is unit-testable without a browser, real config, or the real home directory.

Functions§

execute_with
Run a lev mcp subcommand against the injected environment.