# graftfork

> graftfork is a freemium MCP server for developer tools. Keep your changes to an open-source fork current across upstream releases. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, CLI
- **Website:** https://graftfork.com/docs/agents
- **MCP Registry name:** com.graftfork/graftfork
- **Categories:** developer tools
- **Listing updated:** 2026-11-15

## About

Graft's rule is that a copy moves only when every one of your changes lands and your tests pass, and agents cannot skip it. Through this server an assistant can register a repository, start a sync, see why a sync stayed put and help fix the conflicts it stopped on. The registry also mentions rebuilding programs from stored records, called duramen records, and the server exposes spec tools prefixed regen_ for that.

An agent with no token can try Graft on a public GitHub fork by posting to its try endpoint. That runs one real sync onto upstream's newest release in a sandbox, never pushes, and allows 10 tries a day per network address. Connecting an account goes through OAuth or a personal bearer token, with scopes, expiry, per-copy limits and a monthly agent-work cap.

For Claude Code there is a plugin that adds a commit-message skill and commands for status, taking the latest kept move, and building one change alone for an upstream pull request. The page says the server has 55 tools, shown according to the token's scopes and plan.

## Features

- **Upstream sync:** Moves a fork onto each new release when all changes land and tests pass.
- **Conflict help:** Agents see why a copy stayed and can resolve conflicts.
- **Try without account:** One sandboxed sync on a public GitHub fork, never pushed.
- **Claude Code plugin:** Adds a skill and graft-status, graft-take and graft-upstream commands.
- **Scoped tokens:** OAuth or personal tokens with scopes, expiry and spending limits.
- **Spec rebuilds:** Rebuilds a program from its record and keeps it only if all cases pass.

## Good for

- Keep a patched fork up to date with upstream releases
- Find out why a fork stopped syncing
- Prepare one change as a pull request for upstream
- Record why a dependency or vendored package was changed
- Preview an upstream sync before committing to it

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http graftfork https://graftfork.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://graftfork.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "graftfork": {
      "url": "https://graftfork.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "graftfork": {
      "type": "http",
      "url": "https://graftfork.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "graftfork": {
      "serverUrl": "https://graftfork.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "graftfork": {
      "type": "http",
      "url": "https://graftfork.com/mcp"
    }
  }
}
```

## Tools

- `regen_order_draft`: Drafts a rebuild order while the hosted drafter is open.
- `buy_agent_work`: Buys a top-up of agent work, needs the pay scope.

## FAQ

### Can I try it without signing up?

Yes, for a public GitHub fork, limited to 10 tries a day per network address.

### Does Graft push to my repository?

The try never pushes, and Graft never opens the upstream pull request for you.

### How does Claude Code connect?

Install the graftfork plugin or run claude mcp add with the HTTP endpoint, then sign in through the browser.

### What does it cost?

Free for syncs that do not conflict, with Premium for automatic conflict resolution; the Premium price is not published here.

### Is graftfork free?

graftfork has a free plan, with paid plans for more usage or features.

### How do I add graftfork to Claude Code?

Run this command in your terminal: claude mcp add --transport http graftfork https://graftfork.com/mcp

### What are the best alternatives to graftfork?

The closest alternatives to graftfork are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/graftfork
