patchwork-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@patchwork-mcp-serverShow me failing CI checks on patch 14553325"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
patchwork-mcp-server
A Model Context Protocol (MCP) server that exposes the Patchwork REST API to LLM-based coding agents (Claude Code, Claude Desktop, Cursor, etc.).
It is a thin, read-only wrapper around /api/1.2/ so you can ask the
agent things like:
"What's the state of my latest
seg6:series on netdev?""Show me failing CI checks on patch 14553325."
"List the cover-letter thread for series 1089407."
"Find the patch with Message-Id
20260505-seg6-mobile-v2-0-...."
Without this server, the same questions either require a working
~/.pwclientrc (which has trouble with CI checks and comment threads)
or hand-rolled curl against the REST API.
Install
Requires Python 3.10+. Install with uv:
# From PyPI (preferred once published)
uv tool install patchwork-mcp-server
# From a local checkout
uv tool install .
# From a Git remote
uv tool install git+https://github.com/higebu/patchwork-mcp-serverThe package installs a patchwork-mcp-server executable into ~/.local/bin/. To
refresh an existing install after editing source locally:
uv tool install --reinstall .Related MCP server: osidb-mcp
Configuration
Variable | Default | Purpose |
|
| Base URL of the Patchwork instance |
|
| REST API version segment |
Read-only access to public Patchwork instances needs no credentials.
Connect to Claude Code
After uv tool install, the executable is on your PATH, so registration
needs no path:
claude mcp add patchwork-mcp-server -- patchwork-mcp-serverFor Claude Desktop, add it to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"patchwork": {
"command": "patchwork-mcp-server"
}
}
}Tools
Tool | Purpose |
| List Patchwork projects on the instance. |
| Look up patches/covers by Message-Id (works across projects). |
| Series with every patch's state, delegate, archived flag, check summary. |
| Single patch with submitter, tags, series links, check summary. |
| CI checks for a patch (checkpatch, build_*, sashiko-*, contest, ...). Optional |
| Comment thread on a cover letter or patch (time-ordered, body preview). |
| Recent cover letters on a project, optional submitter filter, optional revision collapse. |
| Substring search over patch names, with project/state/submitter filters. |
Example interaction
What's the state of my SRv6 Mobile series on netdev?
Behind the scenes the agent calls:
find_by_msgid("20260505-seg6-mobile-v2-0-9e8022bdfdb6@gmail.com")to discover series id1089407onnetdevbpf.get_series(1089407)for the per-patch state table.get_checks(<lead_patch>, fail_only=True)to triage CI.get_comments("cover", 14117478)to read the thread.
Development
cd patchwork-mcp-server
uv sync --group dev
just check # ruff lint + format check + pytestjust release patch bumps the version, regenerates CHANGELOG.md via
git-cliff, and tags locally. Push the tag to trigger the PyPI release
workflow.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseAqualityAmaintenanceRead-only MCP server for NetBox that enables LLMs to query NetBox objects (devices, IPAM, etc.) and change logs through natural language, with field filtering for token optimization.Last updated4207Apache 2.0- Alicense-qualityAmaintenanceMCP server for OSIDB (Red Hat Product Security's vulnerability management system). Enables read-only querying of flaws, affects, trackers, and status via natural language from MCP clients like Cursor or Claude Desktop.Last updated2MIT
- Flicense-qualityCmaintenanceAn MCP server that exposes relational databases (PostgreSQL/MySQL) to AI agents with natural language to SQL query support.Last updated18
- Alicense-qualityAmaintenanceA read-only MCP server that exposes Quickwit log search and aggregations to LLM clients, enabling natural language log investigation.Last updatedApache 2.0
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Local-first RAG engine with MCP server for AI agent integration.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/higebu/patchwork-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server