Searching Constellation

Type to search Constellation.

Add to Claude Code & Codex

Connect the Constellation MCP server to Claude Code, Codex, and other MCP clients so AI agents can read and write your plan.

constellation mcp exposes the plan to AI agents over stdio. Run the server from your repo root so it starts there and finds the plan. Otherwise tools return NO_PLAN_FOUND.

Claude CodeCodexOther clients
# Run straight from npm, no install needed:
claude mcp add constellation -- npx -y @magic-spells/constellation mcp

# Or, if installed globally (npm i -g @magic-spells/constellation):
claude mcp add constellation -- constellation mcp

# Share with everyone who clones the repo (writes .mcp.json):
claude mcp add --scope project constellation -- npx -y @magic-spells/constellation mcp

Manage it with claude mcp list, claude mcp get constellation, and claude mcp remove constellation.

Codex CLI keeps MCP servers in ~/.codex/config.toml (TOML, not JSON). Add it with the CLI:

# Run straight from npm, no install needed:
codex mcp add constellation -- npx -y @magic-spells/constellation mcp

# Or, if installed globally (npm i -g @magic-spells/constellation):
codex mcp add constellation -- constellation mcp

…or hand-edit the config (a project-scoped .codex/config.toml also works in trusted repos):

[mcp_servers.constellation]
command = "npx"
args = ["-y", "@magic-spells/constellation", "mcp"]
cwd = "/path/to/your/repo"   # so the server walks up to your plan

Launch codex from your repo root (or set cwd above) so the server finds the plan. Otherwise tools return NO_PLAN_FOUND. Run /mcp inside a Codex session to confirm it’s connected; manage it with codex mcp list and codex mcp remove constellation.

Hand-edit the client’s config (Claude Desktop, a project .mcp.json, etc.):

{
  "mcpServers": {
    "constellation": {
      "command": "constellation",
      "args": ["mcp"],
      "cwd": "/path/to/your/repo"
    }
  }
}

Set cwd to your repo root (or any folder inside it). The server finds the plan by walking up from its working directory; without cwd it inherits the client’s, which may not be your project, and then tools return NO_PLAN_FOUND.

The cwd / NO_PLAN_FOUND rule

Every setup above comes down to one rule: the server must start somewhere inside your project. It finds the plan by walking up from its working directory. Start it from the repo root, or pin cwd to your repo root (or any folder inside it). If it starts anywhere else, its tools return NO_PLAN_FOUND.

Managing the server

ClientListInspectRemove
Claude Codeclaude mcp listclaude mcp get constellationclaude mcp remove constellation
Codexcodex mcp list/mcp (inside a session)codex mcp remove constellation

Bootstrap or audit a plan

To build a plan from an existing codebase, or audit one, ask the agent to bootstrap or audit. The server ships bootstrap_plan and audit_plan prompts that walk the code macro to micro: follow the data, follow the user and auth, then step back and pressure-test the plan for blind spots (missing unhappy paths, auth gaps, forgotten cross-cutting concerns) and recommend. With the server added under the name constellation, Claude Code lists them as /mcp__constellation__bootstrap_plan and /mcp__constellation__audit_plan.