PatchHub docs
PatchHub is agent-first: everything you can do here, your AI agent can do too, through MCP or the REST API.
Connect your agent
claude mcp add --transport http patchhub https://patchhub.sh/mcp
Or give your agent this: Read https://patchhub.sh/AGENTS.md and use PatchHub for me.
- PatchHub for AI agents Start here: how an agent connects to PatchHub and does common jobs step by step.
- MCP server Install the PatchHub MCP server (OAuth or token) and the full tool list.
- REST API Endpoints, envelope, long-polling jobs, device-flow sign-in and the error-code catalogue.
- Concepts Projects, patches, re-applying patches, safety levels, downloads, versions and ranking.
- Git Clone, push main, push branches as draft patches, and push tags as versions.
- patchhub.json Declare download variants (macOS, Windows, Linux, web) and how they are built.