Skip to main content

Yellhorn MCP server uses Gemini 2.5 pro to generate detailed work plans and review pull requests.

Project description

Yellhorn MCP

Yellhorn Logo

A Model Context Protocol (MCP) server that exposes Gemini 2.5 Pro capabilities to Claude Code for software development tasks.

Features

  • Generate Work Plans: Creates GitHub issues with detailed implementation plans based on your codebase
  • Review Code Diffs: Evaluates pull requests against the original work plan and provides feedback
  • Seamless GitHub Integration: Automatically creates issues, posts reviews as PR comments, and handles asynchronous processing

Installation

# Install from PyPI
pip install yellhorn-mcp

# Install from source
git clone https://github.com/msnidal/yellhorn-mcp.git
cd yellhorn-mcp
pip install -e .

Configuration

The server requires the following environment variables:

  • GEMINI_API_KEY: Your Gemini API key (required)
  • REPO_PATH: Path to your repository (defaults to current directory)
  • YELLHORN_MCP_MODEL: Gemini model to use (defaults to "gemini-2.5-pro-exp-03-25")

The server also requires the GitHub CLI (gh) to be installed and authenticated.

Usage

Running the server

# As a standalone server
yellhorn-mcp --repo-path /path/to/repo --host 127.0.0.1 --port 8000

# Using the MCP CLI
mcp dev yellhorn_mcp.server

# Install as a permanent MCP server for Claude Desktop
mcp install yellhorn_mcp.server

# Set environment variables during installation
mcp install yellhorn_mcp.server -v GEMINI_API_KEY=your_key_here -v REPO_PATH=/path/to/repo

Integration with Claude Code

When working with Claude Code, you can use the Yellhorn MCP tools by:

  1. Starting a project task:

    Please generate a work plan for implementing [your task description]
    
  2. Reviewing your implementation:

    Please review my changes against the work plan from [GitHub issue URL]
    

Tools

generate_work_plan

Creates a GitHub issue with a detailed work plan based on the task description and your codebase.

Input:

  • task_description: Description of the task to implement

Output:

  • issue_url: URL to the created GitHub issue

review_work_plan

Reviews a pull request against the original work plan and provides feedback. Works with GitHub URLs for both the work plan issue and the PR.

Input:

  • work_plan_issue_url: GitHub issue URL containing the work plan
  • pull_request_url: GitHub PR URL containing the changes to review
  • ctx: Server context

Output:

  • Asynchronously posts a review directly to the PR

Development

# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

For more detailed instructions, see the Usage Guide.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yellhorn_mcp-0.1.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yellhorn_mcp-0.1.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file yellhorn_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: yellhorn_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for yellhorn_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b3cdb12a305bf32bdbacab13f6f590a131ea9fadb6d22dd9133eae2c12a6fa37
MD5 d9ee8bda29dc0d727c713806e056e3ca
BLAKE2b-256 9909d7ec9a156d421391d4effbbdd1dd705d58109bd4996c90b2a451f9bffc01

See more details on using hashes here.

File details

Details for the file yellhorn_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: yellhorn_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for yellhorn_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55fd863a8400c867f963897abcd7ae1f238058f695000fcf08f591392f3bd07e
MD5 59ebea0af8cca846c4e734eeebb21c00
BLAKE2b-256 44e8dd56fbc0299d1f24c52410f53b659b38384a0e0410eebd07b734bcc0daf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page