# Agentpack MCP server

> Lets AI coding agents record task goals, decisions, and checkpoints in the repo so later sessions can resume where work stopped.

- Repository: https://github.com/ihorponom/agentpack
- Page: https://hostedmcp.org/servers/ihorponom/agentpack
- Transport: stdio
- Stars: 19
- License: MIT
- Latest version: 1.11.1

## Install

### Claude Code

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

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"agentpack","type":"stdio","command":"npx","args":["-y","agentpack-cli"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

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

### Codex config.toml (`~/.codex/config.toml`)

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

### Gemini CLI

```sh
gemini mcp add -s user agentpack npx -- -y agentpack-cli
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## FAQ

### Where does Agentpack store task state?

It stores task state as plain files in a .agentpack/ directory inside your repository, with no cloud or network calls.

### Which MCP clients does Agentpack work with?

It works with Claude Code, Codex, Cursor, Claude Desktop, and other MCP clients.

### How is Agentpack different from agent memory?

Agent memory keeps preferences and long-lived conventions, while Agentpack keeps the state of the current task: goal, decisions, dead ends, next actions, and verification.

### How do I install Agentpack?

Install the agentpack-cli npm package (Node.js 20 or later), run agentpack init in your repo, then install the integration for your client.

### Does Agentpack send any data to the cloud?

No. It has no telemetry and makes no network calls during normal CLI or MCP operation.
