# Cpm Planner

> Cpm Planner is an open-source MCP server for developer tools. Critical Path Method scheduling and parallel work cohorts for coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, Self-hosted
- **Repository:** https://github.com/praxec/cpm-planner
- **MCP Registry name:** io.github.praxec/cpm-planner
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-23

## About

The server takes a task graph and returns a full schedule: earliest and latest start and finish, slack, the critical path and the bottleneck tasks that gate completion. Its distinguishing feature is lock-aware cohorts. It leases groups of ready deliverables whose file sets do not overlap, so several workers can run side by side without editing the same files.

Plans can live in the repository as plan-as-code files under .cpm-planner/plans/<name>/<variant>.json, with forkable and comparable variants. A typical flow is plan.lint for static checks, plan.sync to register a variant and get a plan_id, then plan.status for the schedule, critical path, ready set and locks. Read-only tools lint plans, level them against resource capacities and run Monte Carlo risk, and earned-value tools track PV, EV, AC, SPI and CPI against a frozen baseline. An optional AI review can propose schedule improvements that are verified before use.

It runs over stdio and ships as prebuilt binaries for Linux, macOS and Windows on x86_64 and ARM64, as an npm launcher, from source with Cargo, or as a Docker image that keeps state in a /data volume.

## Features

- **Schedule computation:** Calculates early and late dates, slack, the critical path and bottleneck tasks.
- **Lock-aware cohorts:** Leases ready deliverables with disjoint file sets so workers do not collide.
- **Plan as code:** Stores plans as versioned JSON files with forkable, comparable variants.
- **Resource leveling and risk:** Read-only tools level against capacities and run Monte Carlo analysis.
- **Earned value tracking:** Reports PV, EV, AC, SPI and CPI against a frozen baseline.
- **Checksum-verified install:** Installers check the SHA-256 of release archives before replacing the binary.

## Good for

- Plan a multi-step refactor and find which tasks gate completion
- Run several coding agents in parallel without file conflicts
- Keep a project plan in git and compare alternative variants
- Track schedule and cost performance against a baseline
- Check a plan for errors before agents start work

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add cpm-planner -- docker run -i --rm ghcr.io/praxec/cpm-planner:0.8.0
```

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

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add cpm-planner -- docker run -i --rm ghcr.io/praxec/cpm-planner:0.8.0
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.cpm-planner]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/praxec/cpm-planner:0.8.0"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user cpm-planner docker -- run -i --rm ghcr.io/praxec/cpm-planner:0.8.0

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 5 tools read data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `plan.lint`: Static checks on a plan file; writes no state.
- `plan.sync`: Registers a plan variant and returns its plan_id.
- `plan.status` (name suggests: reads): Returns the schedule, critical path, ready set and locks.
- `plan.submit`: Submits a task graph.
- `plan.get` (name suggests: reads): Fetches a stored plan.

## FAQ

### How do I install Cpm Planner?

Use the install script for Linux, macOS or Windows, npm install -g @matthew-cochran/cpm, cargo install from a tag, or the ghcr.io/praxec/cpm-planner Docker image.

### Does Cpm Planner depend on praxec?

No. The README describes it as a standalone tool, although a praxec workflow can drive it.

### Which clients can drive Cpm Planner?

Any MCP client over stdio, including Claude Code, Cursor, VS Code, Codex or a custom orchestrator.

### How is plan state kept in Docker?

The image sets CPM_PLANNER_DB to /data/cpm-planner.db and declares /data as a volume, so a named volume persists plans across runs.

### How do I add Cpm Planner to Claude Code?

Run this command in your terminal: claude mcp add cpm-planner -- docker run -i --rm ghcr.io/praxec/cpm-planner:0.8.0

### What are the best alternatives to Cpm Planner?

The closest alternatives to Cpm Planner 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [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): 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.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers 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.

---
Source: https://ai-powered.com/mcp/cpm-planner
