Yellhorn MCP acts like a highly organized project manager for software developers working with AI. It takes a developer's idea or task and turns it into a step-by-step instruction manual called a workplan. Because it can "see" the entire codebase at once, it ensures that every plan it creates is actually relevant to the existing project, rather than just guessing based on generic coding patterns. This server bridges the gap between powerful reasoning models—including Gemini 2.5 Pro, OpenAI’s o3, and xAI’s Grok—and a developer’s local environment. It doesn't just generate text; it automatically creates labeled GitHub issues for these workplans, which coding agents like Claude Code or Cursor can then reference as a source of truth. It handles the heavy lifting of managing large codebases by intelligently chunking data and using a feature called context curation, which creates a whitelist of relevant directories to save on tokens and improve the AI's focus. For developers who need to maintain high standards, the tool includes a specialized "judge" that evaluates git diffs against the original workplan. This ensures that the final implementation doesn't deviate from the original requirements and provides specific feedback on what needs to change. With built-in Google Search grounding for real-time research, automatic cost tracking, and support for "deep research" models, Yellhorn MCP provides a robust infrastructure for building a semi-autonomous development workflow that is both cost-aware and contextually grounded.
Category: Developer Tools & Code Intelligence
Tags: codebase, git, github, task-management, workflow-automation
Based on the content provided, here are the installation and configuration instructions for Yellhorn MCP.
uv or via PyPI. Requirement: The GitHub CLI (gh) must be installed and authenticated on your system. Option A: Install from source (using uv) bash # Clone the repository git clone https://github.com/msnidal/yellhorn-mcp.git cd yellhorn-mcp # Provision the environment and install dependencies uv sync --group dev # Optional: activate the environment source .venv/bin/activate # Verify installation uv run yellhorn-mcp --help Option B: Install from PyPI bash uv pip install yellhorn-mcp ---GEMINI_API_KEY: Required for Gemini models. * OPENAI_API_KEY: Required for OpenAI models. * XAI_API_KEY: Required for Grok models. * REPO_PATH: Path to your repository (defaults to current directory). * YELLHORN_MCP_MODEL: Model to use (defaults to gemini-2.5-pro). * YELLHORN_MCP_REASONING_EFFORT: For GPT-5 models (low, medium, high). * YELLHORN_MCP_SEARCH: Enable/disable Google Search Grounding (on or off)..mcp.json file to your project root: json { "mcpServers": { "yellhorn-mcp": { "type": "stdio", "command": "uv", "args": ["run", "yellhorn-mcp", "--model", "o3"], "env": { "YELLHORN_MCP_SEARCH": "on" } } } }.vscode/mcp.json in your workspace root: json { "inputs": [ { "type": "promptString", "id": "gemini-api-key", "description": "Gemini API Key" } ], "servers": { "yellhorn-mcp": { "type": "stdio", "command": "uv", "args": ["run", "yellhorn-mcp"], "env": { "GEMINI_API_KEY": "${input:gemini-api-key}", "REPO_PATH": "${workspaceFolder}" } } } }~/.config/codex/config.toml: toml [mcp_servers.yellhorn-mcp] command = "uv" args = ["run", "yellhorn-mcp"] env = { "GEMINI_API_KEY" = "your-api-key", "REPO_PATH" = "/path/to/your/repo" } ---curate_context: Analyzes the codebase and creates a .yellhorncontext whitelist to optimize token usage. * Parameters: user_task, codebase_reasoning (full, lsp, file_structure, none), ignore_file_path, output_path, depth_limit. * create_workplan: Generates a detailed implementation plan and posts it as a GitHub issue. * Parameters: title, detailed_description, codebase_reasoning, debug. * get_workplan: Retrieves the content of an existing workplan from a GitHub issue. * Parameters: issue_number. * revise_workplan: Updates an existing workplan GitHub issue based on new instructions. * Parameters: issue_number, revision_instructions, codebase_reasoning. * judge_workplan: Compares a git diff (between two refs) against a workplan issue to evaluate implementation accuracy. * Parameters: issue_number, base_ref (default 'main'), head_ref (default 'HEAD'), codebase_reasoning. ---create_workplan tool allows a user to provide a high-level goal and uses powerful models (like Gemini 2.5 Pro or OpenAI o3) to scan the entire codebase. It generates a step-by-step implementation plan as a GitHub issue, ensuring the new feature aligns with existing architecture. Example: A developer needs to add a new multi-tenant billing logic. They call create_workplan with the description of the feature. Yellhorn analyzes the existing `auth,db/, andbilling/` directories, then creates a GitHub issue detailing exactly which files to modify and which existing helper functions to reuse, serving as a blueprint for the coding agent.
judge_workplan tool automates the "Manager AI" pattern. It compares a specific Git branch (head) against the main branch (base) and evaluates the changes against the original workplan stored in a GitHub issue. It provides detailed feedback on whether the implementation matches the original intent. Example: After an AI agent finishes a task, the developer runs judge_workplan. Yellhorn creates a "judgement" sub-issue on GitHub, pointing out that while the logic was implemented, the agent forgot to update the documentation files specified in the original workplan, and suggests the specific lines to add.curate_context tool analyzes the user's specific task and the repository structure to generate a .yellhorncontext file. This acts as a whitelist, narrowing the AI's focus to only the relevant directories and files needed for that specific task. Example: A developer wants to fix a bug in the React frontend. They use curate_context with the task "Fix checkout button alignment." Yellhorn identifies that only `srccomponents/checkout/`…
Part of MCP Servers