Surface · MCP

Dark Factory in any
MCP-speaking agent.

Claude Code, Cursor, Codex, Gemini — every MCP agent discovers Dark Factory's verbs automatically. No bespoke integration per agent. Same data, same policy, same audit trail as the CLI.


Available tools via MCP · momentiq/dark-factory
df_handoff
Pause work with structured reasoning, linked PRs, and live state — posted to a dedicated GitHub Issue. Secret-scrubbed before it lands.
production
df_accept
Claim a handoff Issue. Sets assignee, derives live state for every linked PR, returns reasoning into the agent's context.
production
df_rehydrate
Resume your own paused context. Returns the prior session's reasoning + linked PRs as structured tool output.
production
df_handoffs
List the open handoff stack — yours, your teammate's, your cloud agent's. Queryable by label, age, and assignee.
production

Why MCP

Agents that can see DF state can act on it.

Without MCP, asking an agent to "check the gate" requires the agent to shell out, parse text, and guess. With MCP, Dark Factory is a first-class citizen inside the agent's tool surface — typed inputs, structured outputs, retries handled.

Claude Code
✓ ready
Cursor
✓ ready
Codex CLI
✓ ready
Gemini CLI
✓ ready

Wire it up

One config line per agent.

MCP config jsonc
// Claude Code: ~/.claude/settings.json
{
  "mcpServers": {
    "dark-factory": {
      "command": "npx",
      "args": ["df", "mcp"]
    }
  }
}

// Cursor: ~/.cursor/mcp.json — same shape
// Codex / Gemini: see their respective MCP configs

Get Started

Make Dark Factory a first-class tool surface.

Stop asking your agent to shell out and parse text. Give it typed access to handoffs, verdicts, and cost data — pinned to the MCP protocol.