PatchEvergreen MCP Server

PatchEvergreen MCP Server

Provides breaking changes analysis for libraries across multiple languages, enabling version upgrade planning, dependency audits, and migration reports through MCP tool access and expert workflows.

Category
Visit Server

README

PatchEvergreen MCP Server & Skill

This repository provides both a Model Context Protocol (MCP) server and an Agent Skill for accessing PatchEvergreen's breaking changes database. The MCP server provides tool access, while the Skill provides expert workflows and guidance for analyzing breaking changes across multiple programming languages.

What's New: Skills Support

This package now includes a Skill (SKILL.md) that can be used across multiple AI coding tools including:

  • Claude Code (claude.ai)
  • Cursor
  • OpenClaw (Clawdbot)
  • VS Code (with MCP support)
  • Any MCP-compatible tool

Skills provide the expertise and workflow knowledge, while the MCP server provides the underlying tool access. They work together to deliver a complete solution.

MCP Server

The MCP server is a lightweight Model Context Protocol server that interfaces with the PatchEvergreen API to fetch issues for breaking changes for libraries. It uses FastMCP for proper MCP implementation. It does not (currently) support API access tokens, so all accesses are "slow" requests into that API.

Please note that libraries are named as written in their respective ecosystem tools, so as you would type them in files like:

  • composer.json (php)
  • requirements.txt (python)
  • manifest.json (Javascript)
  • gemfile (Ruby)
  • package.json (Javascript)
  • cargo.toml (Rust)
  • libs.versions.toml (Java)
  • pom.xml (Java)
  • build.gradle.kts (Kotlin)

Setup

The file mcp_server.py is a stdio server that assumes you have a working copy of Python 3 installed on your machine.

Installing Dependencies

Install the required dependencies:

pip3 install -r requirements.txt

Note: If you encounter issues with asgiref, you may need to upgrade it:

pip3 install --upgrade asgiref

The requirements.txt specifies asgiref>=3.8.0 to avoid the yanked 3.7.0 version.

[If you are using tools like venv or Docker to run Python, you will need to configure them in your normal way.]

SSE (Server-Sent Events) Hosted Server

The file mcp_server_sse.py is designed for hosting on external servers. It provides a unified server on a single port (8000) that handles both:

  1. MCP Server: SSE transport for MCP protocol communication at /sse
  2. HTTP Skill Endpoints: Serves the SKILL.md file for web clients

Prerequisites

Before running the SSE server, ensure all dependencies are installed:

# Install all dependencies
pip3 install -r requirements.txt

# If you encounter asgiref issues, upgrade it
pip3 install --upgrade asgiref

The requirements.txt specifies asgiref>=3.8.0 to avoid the yanked 3.7.0 version.

Running the SSE Server

Option 1: Direct Python Execution

To run the unified server directly:

python3 mcp_server_sse.py

This starts a single server on port 8000 that handles:

  • MCP SSE protocol at /sse
  • Skill file endpoints at /.well-known/skill, /api/skill, etc.
  • All routing is handled internally in Python - no nginx or reverse proxy needed!

Option 2: Docker Compose (Recommended for Production)

For easy deployment and consistency, use Docker Compose:

# Build and start the container (logs will be shown in terminal)
docker compose up

# To stop the container, press Ctrl+C or in another terminal:
docker compose down

The container will:

  • Build the Docker image with all dependencies
  • Run the server on port 8000
  • Automatically restart if it crashes
  • Include health checks

Access the server at http://localhost:8000 (or your server's IP address).

Option 3: Docker (Manual)

If you prefer to use Docker directly:

# Build the image
docker build -f Docker/Dockerfile -t patchevergreen-mcp .

# Run the container
docker run -d -p 8000:8000 --name patchevergreen-mcp-server patchevergreen-mcp

# View logs
docker logs -f patchevergreen-mcp-server

# Stop the container
docker stop patchevergreen-mcp-server
docker rm patchevergreen-mcp-server

### Single Port Operation

The server runs everything on a single port (8000) using Python's uvicorn ASGI server with internal routing:

- **MCP SSE**: Handles `/sse` endpoint for MCP protocol
- **Skill endpoints**: Handles all other routes (`.well-known/skill`, `/api/skill`, etc.)

All routing is handled internally by the Python server - no nginx or reverse proxy needed!

When you run `python3 mcp_server_sse.py`, both services are available on port 8000:
- MCP SSE: `http://localhost:8000/sse`
- Skill file: `http://localhost:8000/.well-known/skill`
- Skill metadata: `http://localhost:8000/.well-known/skill/metadata`
- Skills list: `http://localhost:8000/.well-known/skills`

### Skill HTTP Endpoints

The SSE server exposes the following HTTP endpoints for web clients to access the Skill:

#### Get Full Skill File
- `GET /.well-known/skill` - Returns the complete SKILL.md file
- `GET /api/skill` - Alternative endpoint for skill content
- `GET /skill` - Simple endpoint for skill content

**Response**: Markdown content with `Content-Type: text/markdown; charset=utf-8`

#### Get Skill Metadata (Discovery)
- `GET /.well-known/skill/metadata` - Returns only YAML frontmatter for discovery
- `GET /api/skill/metadata` - Alternative endpoint for metadata

**Response**: YAML frontmatter with `Content-Type: text/yaml; charset=utf-8`

#### List Available Skills
- `GET /.well-known/skills` - Returns JSON list of available skills
- `GET /api/skills` - Alternative endpoint for skill listing

**Response**: JSON array with skill metadata:
```json
{
  "skills": [{
    "name": "PatchEvergreen Breaking Changes Analyzer",
    "description": "Expert skill for analyzing breaking changes...",
    "version": "1.0.0",
    "url": "/.well-known/skill"
  }]
}

Accessing Skills from Web Clients

Web clients (like ClaudeCode, OpenClaw, etc.) can access your Skill by:

  1. Direct HTTP Access: Fetch the skill from your hosted server:

    https://your-hosted-server.com/.well-known/skill
    
  2. Discovery: Query the skills endpoint to discover available skills:

    https://your-hosted-server.com/.well-known/skills
    
  3. MCP Resource: Access via MCP resource URI:

    skill://patch-evergreen/SKILL.md
    

Example: Using Skill from Web Client

# Get skill metadata for discovery
curl https://your-hosted-server.com/.well-known/skills

# Get full skill file
curl https://your-hosted-server.com/.well-known/skill

# Get only metadata (faster for discovery)
curl https://your-hosted-server.com/.well-known/skill/metadata

Using as a Skill

Quick Start

  1. Install the MCP Server (see Setup section below)
  2. Configure your tool to use the PatchEvergreen MCP server
  3. Load the Skill - The SKILL.md file contains all the workflow instructions and expertise

The Skill automatically teaches your AI assistant how to:

  • Analyze breaking changes for libraries
  • Plan version upgrades
  • Conduct dependency audits
  • Assess compatibility impacts
  • Generate migration reports

Cross-Platform Usage

Claude Code / Claude Desktop

  1. Connect the PatchEvergreen MCP server (SSE or stdio)
  2. Reference the SKILL.md file or load it as a skill resource
  3. The skill will guide Claude on how to use the MCP tools effectively

Cursor

  1. Configure the MCP server in .cursor/mcp.json (see configuration examples below)
  2. The skill can be loaded as a resource or referenced directly
  3. Cursor will use both the MCP tools and skill workflows

OpenClaw (Clawdbot)

  1. Configure the MCP server connection
  2. Load the SKILL.md file as a skill
  3. OpenClaw will use the skill's workflows with the MCP server tools

Skill Features

The Skill provides five specialized workflows:

  1. Quick Breaking Changes Check - Fast overview of breaking changes
  2. Comprehensive Analysis - Detailed analysis with migration guidance
  3. Dependency Audit - Systematic review of all project dependencies
  4. Version Upgrade Planning - Step-by-step upgrade plans
  5. Compatibility Impact Summary - Focused compatibility assessment

See SKILL.md for complete documentation on workflows and best practices.

Using with Cursor (MCP Server)

Once installed, this server is designed to be used as a stdio MCP server, typically launched and managed by the Cursor editor. You do not need to run it manually or specify a port.

MCP.png

Cursor automatically communicates with this MCP server over stdio when you invoke MCP features (such as asking for issues for a library) within the editor. No manual requests or HTTP endpoints are needed.

Configuring MCP Server with .cursor/mcp.json

To configure Cursor to use this MCP server, add a .cursor/mcp.json to your project. Example configurations are provided below.

MCP Endpoint

The server implements the Model Context Protocol (MCP) standard using FastMCP. It automatically handles all MCP-specific communication, including streaming responses.

Error Handling

The server will return appropriate error messages if:

  • No user message is found in the request
  • The library and language parameters cannot be parsed from the message
  • The PatchEvergreen API request fails
  • Any other unexpected errors occur

All responses are handled automatically by FastMCP, including proper streaming and error handling.

Configuration Examples

Cursor Configuration (stdio)

Create .cursor/mcp.json:

{
  "mcpServers": {
    "PatchEvergreen": {
      "command": "python3",
      "args": ["/path/to/PatchEvergreen-MCP-Server/mcp_server.py"]
    }
  }
}

Cursor Configuration (SSE - for hosted server)

Create .cursor/mcp.json:

{
  "mcpServers": {
    "PatchEvergreen": {
      "url": "https://your-hosted-server.com/sse",
      "transport": "sse"
    }
  }
}

Claude Desktop Configuration

Edit your Claude Desktop configuration file (location varies by OS):

{
  "mcpServers": {
    "PatchEvergreen": {
      "command": "python3",
      "args": ["/path/to/PatchEvergreen-MCP-Server/mcp_server.py"]
    }
  }
}

Or for SSE:

{
  "mcpServers": {
    "PatchEvergreen": {
      "url": "https://your-hosted-server.com/sse",
      "transport": "sse"
    }
  }
}

OpenClaw Configuration

Configure in OpenClaw's MCP settings to point to either:

  • Local stdio server: python3 /path/to/mcp_server.py
  • Hosted SSE server: https://your-hosted-server.com/sse

Then load the SKILL.md file as a skill resource.

Architecture

This package follows the modern Skills + MCP architecture:

  • MCP Server (mcp_server.py, mcp_server_sse.py): Provides tool access via the Model Context Protocol
  • Skill (SKILL.md): Provides workflow knowledge and expertise on how to use the tools effectively

This separation allows:

  • The MCP server to be used independently for tool access
  • The Skill to work with any compatible MCP server
  • Cross-platform compatibility through the Agent Skills open standard

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured