Entry Points¶
The CLI and server entry points are documented below.
mcp_zen_of_languages.cli.main
¶
Top-level CLI entry point invoked by the zen console script.
With no arguments the welcome panel is displayed and the process exits
cleanly. Otherwise argv is forwarded to the Typer :pydata:app
instance. All Typer and Click exceptions are caught so the function
always returns a numeric exit code rather than raising.
| PARAMETER | DESCRIPTION |
|---|---|
argv
|
Command-line tokens; defaults to
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
Process exit code —
TYPE:
|
See Also
_build_welcome_panel: Rendered when no arguments are supplied.
Source code in src/mcp_zen_of_languages/cli.py
mcp_zen_of_languages.__main__.main
¶
Start the FastMCP server with stdio transport.
Stdio transport is the standard MCP communication channel: the server reads JSON-RPC requests from stdin and writes responses to stdout, letting any MCP-compatible client drive the interaction. Once running, the server exposes tools for code analysis, reporting, and configuration management.
See Also
server.mcp: The FastMCP instance that registers all available
MCP tools and handles request routing.