Skip to content
MCP server

graftfork

Keep your changes to an open-source fork current across upstream releases

Install
Pricing
Freemium
Platforms
Web, API, CLI
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About graftfork

graftfork is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://graftfork.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "graftfork": {
      "url": "https://graftfork.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Freemium

Free plan; Premium adds automatic conflict resolution with $6 of agent work a month. Monthly price not published.

Prices change. Check graftfork.com before you buy.

graftfork 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 to graftfork

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools