Skip to content
FRGEPLAN

forgeplan mcp

forgeplan mcp groups the helpers an AI-agent client needs to talk to Forgeplan over the Model Context Protocol. It is not a tool you call from agents - its subcommands run on the host machine to wire the binary into client config files (mcp install) or to start the stdio server when launched manually (mcp serve, an alias for forgeplan serve).

Forgeplan is MCP-first: most of the day-to-day surface area (73 tools) is exposed via the server. This parent command exists so a one-shot forgeplan mcp install --client claude gets you from a fresh brew install forgeplan to a working agent without hand-editing JSON.

  • Right after installing Forgeplan and before the first claude / cursor session.
  • When you upgrade Forgeplan via Homebrew and the absolute path in .mcp.json becomes stale (forgeplan mcp install re-detects it).
  • When debugging integration: forgeplan mcp serve runs the same server as forgeplan serve so JSON-RPC traffic can be inspected with mcp-inspector.
  • For day-to-day artifact work - that is what the agent-side MCP tools (forgeplan_*) are for.
  • For HTTP / network exposure - mcp only covers stdio. Forgeplan is local-first.
forgeplan mcp <COMMAND>
-h, --help Print help
-V, --version Print version
CommandPurpose
installSmart-merge Forgeplan into a client config (Claude / Cursor / Windsurf)
serveAlias for forgeplan serve - starts the stdio MCP server
helpPrint help for mcp or its subcommands
Terminal window
forgeplan mcp install --client claude --scope user

Writes Forgeplan into ~/.claude.json so every Claude Code session sees mcp__forgeplan__* tools. Idempotent - safe to re-run after upgrades.

Terminal window
forgeplan mcp install --client cursor --scope project

Creates ./.cursor/mcp.json so the Forgeplan server only runs when this repo is open. Ideal for monorepos where some projects use Forgeplan and others do not.

Terminal window
cd /path/to/project
forgeplan mcp serve

Same effect as forgeplan serve. Useful when piping JSON-RPC by hand or attaching mcp-inspector.

mcp install is a one-time setup step that lives between “binary on disk” and “agent can call tools”. After it succeeds, the rest of the methodology (Shape → Validate → Code → Evidence → Activate) runs through the MCP tools the server exposes. mcp serve is the runtime; you almost never invoke it manually because the client launches it for you.