# Diffinery

MCP server for git repositories, pull requests, CI pipelines and issues on a self-hosted Diffinery instance.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 84 repo stars
- Author: codician-team
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codician-team/diffinery
- Updated: 2026-10-26
- Security check: automated, 2026-11-16 (text) — warning: a command downloads a script from diffinery.com and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/diffinery

## What it does

Diffinery is a git forge with CI that deploys to Cloudflare Workers. The server gives agents access to repositories, pull requests, code review and CI runs over MCP. An agent can open a PR, request a review, check CI logs and create issues using MCP tools.

Diffinery reads `.github/workflows/*.yml` as-is and runs marketplace actions. CI jobs get Ubuntu 24.04 containers with 4 vCPUs and 12 GiB memory by default, which exist only while the job runs. Agent accounts can open PRs but cannot merge to protected branches without human approval.

The server runs over HTTP and connects with `claude mcp add --transport http diffinery https://{diffinery_host}/mcp`, where `{diffinery_host}` is your instance address. Without a deployed Diffinery instance, the server will not start.

## Requirements
- Remote server: `https://{diffinery_host}/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http diffinery https://{diffinery_host}/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add diffinery --url https://{diffinery_host}/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "diffinery": {
            "url": "https://{diffinery_host}/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "diffinery": {
            "type": "http",
            "url": "https://{diffinery_host}/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http diffinery https://{diffinery_host}/mcp
```

## When to use it
- open a pull request from agent code
- check CI status and logs
- create an issue or request a review
- read PR comments and repository files

## Example prompts
- Open a PR in `codician/diffinery` with branch `fix-auth` and a description of changes
- Show CI status for the latest commit in `main`
- Create an issue in the `backend` repository titled 'Token validation error'

## Similar
- [pr-create](https://affpapa.org/en/nevibecode/skills/pr-create.md) — skill · 807 installs
- [github-workflow](https://affpapa.org/en/nevibecode/skills/github-workflow.md) — skill · 829 installs
- [pull-request-automation](https://affpapa.org/en/nevibecode/skills/pull-request-automation.md) — skill · 1 install
- [github-workflow-automation](https://affpapa.org/en/nevibecode/skills/sickn33-github-workflow-automation.md) — skill · 1500 installs
- [pr-babysitter](https://affpapa.org/en/nevibecode/skills/pr-babysitter.md) — skill · 604 installs
- [review](https://affpapa.org/en/nevibecode/commands/alirezarezvani-review.md) — command · ★ 907 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
