C

Cpm Planner

by praxec · io.github.praxec/cpm-planner

Enables MCP clients to schedule task graphs, compute critical paths and slack, lease lock-aware parallel cohorts to agents, version plan-as-code variants, and track earned value with resource leveling and Monte Carlo risk analysis.

oci Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

Reload the VS Code window to activate.

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

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-praxec-cpm-planner": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "CPM_JEV_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_MODEL=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_DB=<YOUR_VALUE>",
        "-e",
        "CPM_JEV_ENDPOINT=<YOUR_VALUE>",
        "-e",
        "CPM_MAX_TTL_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PROJECT_ROOT=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND=<YOUR_VALUE>",
        "-e",
        "OPENROUTER_API_KEY=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_PROVIDER=<YOUR_VALUE>",
        "-e",
        "CPM_LLM_TIMEOUT_SECS=<YOUR_VALUE>",
        "-e",
        "CPM_PLANNER_STATE_MODE=<YOUR_VALUE>",
        "-e",
        "CPM_REVIEW_COMMAND_ENV=<YOUR_VALUE>",
        "-e",
        "CPM_OPENROUTER_KEY_FILE=<YOUR_VALUE>",
        "ghcr.io/praxec/cpm-planner:0.8.0"
      ]
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
CPM_JEV_MODEL No Jev model id for `plan.review`: at most 128 characters of `A-Z a-z 0-9 . _ : / -`, and never containing the key. Defaults to `typesafe/jev-1.13`. Default: typesafe/jev-1.13
CPM_LLM_MODEL No Generative (chat) model id: at most 128 characters of `A-Z a-z 0-9 . _ : / -`. A frontier vendor is refused before any call, with a typed error naming the model: `anthropic/`, `openai/` (except `openai/gpt-oss*`), `google/`, `x-ai/`, `xai/`. Defaults to `deepseek/deepseek-v4.1-flash`. Default: deepseek/deepseek-v4.1-flash
CPM_PLANNER_DB No SQLite path for durable, cross-process planner state; `:memory:` gives ephemeral state. Defaults to `~/.local/share/praxec/cpm-planner.db` on every OS, or `/data/cpm-planner.db` in the Docker image.
CPM_JEV_ENDPOINT No Jev endpoint URL: `https://`, or `http://` only for a loopback host, with no credentials. Defaults to `https://openrouter.ai/api/v1/systemone`. Default: https://openrouter.ai/api/v1/systemone
CPM_MAX_TTL_SECS No Server-side ceiling for `ttl_seconds` on `plan.acquire_cohort` and `plan.heartbeat`; larger requested values are clamped. Must be an integer in 1..=2592000 (at most 30 days) — any other value aborts startup. Defaults to `28800` (8h). Default: 28800
CPM_PROJECT_ROOT No Repo root for plan-as-code files (`.cpm-planner/plans/<name>/<variant>.json`). Defaults to the nearest ancestor of cwd with `.cpm-planner/` or `.git`.
CPM_REVIEW_COMMAND No Absolute path of the review adapter for `CPM_REVIEW_PROVIDER=command`.
OPENROUTER_API_KEY No OpenRouter key for `plan.review`. Unset or blank: `plan.review` reports `review_unavailable` ("no OpenRouter key configured"). Never logged or returned.
CPM_REVIEW_PROVIDER No Who answers `plan.review`: `direct` (OpenRouter, using the key settings here), `command` (the adapter configured by `CPM_REVIEW_COMMAND`) or `disabled`. There is no fallback between providers. Defaults to `direct`. Default: direct
CPM_LLM_TIMEOUT_SECS No Bound on each LLM call, integer seconds in 1..=300. Defaults to `30`. Default: 30
CPM_PLANNER_STATE_MODE No Leave unset for normal durable-state opening. If an existing database is empty or its sidecar receipt detects missing known plans, startup refuses to mutate it. Set to `recover` only after reviewing the timestamped backup path reported by the server; `initialize` explicitly accepts an existing empty location.
CPM_REVIEW_COMMAND_ENV No Comma-separated variable names to pass to the review adapter, whose environment is otherwise cleared. It may not name the OpenRouter key variables.
CPM_OPENROUTER_KEY_FILE No File holding the OpenRouter key (contents trimmed; at most 4096 bytes), used when `OPENROUTER_API_KEY` is unset. On unix a world-readable (`o+r`) or empty file is ignored with a warning (`chmod 600` it).

Similar servers