Skip to content
MCP server

Agentpack

Repo-local task ledger that lets coding agents resume a task after context loss

Runs locally

Agentpack is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Free
Platforms
CLI, macOS, Linux
Runs
Locally
Version
1.12.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add agentpack -- npx -y agentpack-cli

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "agentpack": {
      "command": "npx",
      "args": [
        "-y",
        "agentpack-cli"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agentpack": {
      "command": "npx",
      "args": [
        "-y",
        "agentpack-cli"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentpack": {
      "command": "npx",
      "args": [
        "-y",
        "agentpack-cli"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "agentpack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentpack-cli"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add agentpack -- npx -y agentpack-cli

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.agentpack]
command = "npx"
args = ["-y", "agentpack-cli"]

Codex setup guide

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

{
  "mcpServers": {
    "agentpack": {
      "command": "npx",
      "args": [
        "-y",
        "agentpack-cli"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user agentpack npx -- -y agentpack-cli

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "agentpack": {
          "command": "npx",
          "args": [
            "-y",
            "agentpack-cli"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Agentpack

Agent memory keeps preferences and conventions; this keeps the state of one task. Connected agents write the goal, decisions, dead ends, verification evidence and checkpoints into a .agentpack folder in the repository, and a later session, possibly in a different client, loads a compact summary and carries on instead of redoing the investigation.

Each task has a Task Passport holding goal, status, constraints, write scope, next actions and verification tied to a commit. Notes about a file store its hash, so the tool flags a conclusion when the file changes, though a matching hash does not prove the conclusion is right. A task gate checks edits against the passport and by default only warns; it can be set to block edits outside the write scope. The README calls hooks a guardrail, not a sandbox.

It works with Claude Code, Codex, Cursor and Claude Desktop, can export tasks as portable bundles, and has a terminal inspector and local token-usage reports. It has no runtime dependencies, telemetry or network calls, and needs Node.js 20 or later.

Tools this server provides (1)

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

From the tool list in its README, going by the names, 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

load_context
Loads the compact task state at the start of a session.

What it does

Task Passport
Holds goal, constraints, write scope, next actions and commit-bound verification.
Resume across clients
Any MCP client can load the same state after compaction or a new chat.
Stale-note flags
File notes store a hash so changes to the file are flagged.
Task gate
Warns or blocks edits outside the passport's write scope.
Portable bundles
Export a task to one JSON file and import it elsewhere.
Local-first
Plain files in the repo, with no cloud, telemetry or network calls.

Good for

  • Continue a refactor after the agent's context is compacted
  • Hand a task from Claude Code to Cursor
  • Keep a record of rejected approaches and why
  • Limit an agent to the paths a task is meant to change

Pricing

Free

Free, local; no account.

Agentpack FAQ

How is Agentpack different from agent memory?

Memory stores how you like to work; Agentpack stores where one task stands, including decisions and dead ends.

Does Agentpack send data anywhere?

No. The README says there is no telemetry or network call in normal operation.

What does Agentpack need?

Node.js 20 or later; install with npm install -g agentpack-cli and run agentpack init.

Will the gate block my edits?

Not by default. It warns unless gateMode is set to block.

Is Agentpack free?

Yes. Agentpack is free to use.

How do I add Agentpack to Claude Code?

Run this command in your terminal: claude mcp add agentpack -- npx -y agentpack-cli

What are the best alternatives to Agentpack?

The closest alternatives to Agentpack are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers