cli

The cli/ directory provides a command-line interface for interacting with jcodemunch tools outside of the MCP protocol.

Purpose

This module allows developers and operators to invoke jcodemunch operations directly from the terminal — useful for debugging, manual inspection, and scripting. It wraps the same underlying tools (search_symbols, get_symbol, etc.) that the MCP server exposes, presenting results in a human-readable format.

Key Components

cli.py

The main CLI entry point. Contains:

The CLI is designed as a thin wrapper: it handles argument parsing and output formatting, while all business logic is delegated to the core jcodemunch_mcp package in src/.