controlplane-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@controlplane-mcp Adopt my existing project for orchestration."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ControlPlane MCP
ControlPlane MCP v0.1 is a small local Python server for adopting an already-scoped project into a durable, repo-backed coordination pattern. Markdown and TOML in the target repository remain the database of record; MCP is only the interface.
Install and run
Python 3.11 or newer is required. From this repository:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[test]"The v0.1 package currently targets MCP Python SDK 2.0.x. Its dependency metadata excludes 2.1 and later until their changed tool-exception rendering can be adopted without weakening ControlPlane's stable actionable-error contract.
The server is scoped to one allowed workspace root at process startup. Set CONTROLPLANE_ALLOWED_ROOT to that existing directory, then launch the local stdio transport:
$env:CONTROLPLANE_ALLOWED_ROOT = 'C:\path\to\allowed-workspace'
.\.venv\Scripts\python.exe -m controlplane_mcpIf the variable is omitted, the process working directory is the single allowed root. The target project directory must already exist beneath it. Relative project paths are resolved from that root; absolute paths are accepted only when their resolved location remains inside it.
For a generic MCP host, register these inputs in the host's own configuration:
command: the environment's Python executable;
arguments:
-m,controlplane_mcp;working directory: this installed project or another suitable launch directory;
environment:
CONTROLPLANE_ALLOWED_ROOT=<absolute allowed root>;transport: stdio.
The generic stdio launch and all five tools are covered by automated tests, including a real subprocess integration test. For Codex, use a trusted project-local configuration where practical and confirm the server with codex mcp list or /mcp.
For exact Codex configuration, verification labels, and copyable fresh-thread adoption prompts, see Documentation/CODEX_ADOPTION_RUNBOOK.md.
Related MCP server: continuity
Tests
Install the test extra and run the full suite:
.\.venv\Scripts\python.exe -m pip install -e ".[test]"
.\.venv\Scripts\python.exe -m pytest -qThe suite covers repository bootstrap and validation, role-scoped outputs, resolved-path containment (including symlink/junction escape cases), MCP tool metadata, and real STDIO startup/shutdown.
Disposable rehearsal
The fixture and preparation helper build a fresh local Git repository, configure the server project-locally, bootstrap the supplied demo brief, and verify that no work order is fabricated:
.\.venv\Scripts\python.exe scripts\prepare_codex_live_rehearsal.py `
--workspace C:\path\to\new-disposable-workspaceThe destination must not already exist. The script deliberately refuses to
overwrite it. See examples/codex-live-rehearsal/PROJECT_BRIEF.md for the neutral
demo purpose.
Tools
bootstrap_projectis the only mutation. It acceptsproject_path,project_id,project_name, and non-empty caller-suppliedproject_brief. It creates only initial scaffolding and state, is idempotent for identical inputs, reports conflicts without overwriting, and never creates a work order.get_project_statusreturns compact canonical state and explicit validation errors.get_orchestrator_bootstrapreturns project purpose, current state, authority, issuance guidance, and evidence-review gates.get_worker_bootstrapreturns bounded worker context, first-order identity requirements, execution gates, evidence permissions, and stop/review behavior.get_bootstrap_contextaccepts onlyorchestratororworkerand returns structurally different, narrowly role-scoped context.
The four read tools are annotated read-only and closed-world. bootstrap_project is annotated non-destructive and idempotent. MCP annotations are client hints, not security controls.
Canonical layout
.controlplane/config.toml
Documentation/PROJECT_BRIEF.md
Documentation/CURRENT_STATE.md
WorkOrders/
Decisions/
Evidence/The initial configuration stores only schema version and caller-supplied project identity. The Project Brief is written exactly as supplied. Initial CURRENT_STATE says no work is authorized. Empty work, decision, and evidence directories are created; no WO-001 or other substantive order is invented.
Minimal new-project example
With an allowed root C:\work and an existing empty directory C:\work\sample, call:
{
"name": "bootstrap_project",
"arguments": {
"project_path": "sample",
"project_id": "sample",
"project_name": "Sample Project",
"project_brief": "# Sample Project\n\nBuild the caller-defined sample safely.\n"
}
}Calling again with exactly the same values returns an idempotent existing-state result. Different identity or brief content is a conflict and is never written over the canonical files.
Authority and safety limits
Only an orchestrator transitions canonical work-order state. READY is not permission to execute, and worker completion is not acceptance. The canonical orchestrator and primary worker must be separate first-order, user-visible threads or tasks. A primary worker is a persistent project-level identity; work orders are temporary assignments. The worker bootstrap returns a manual lifecycle prompt only when no primary worker exists or replacement is explicitly recorded, and it reports worker reachability, start confirmation, assignment, and canonical activation separately.
Ordinary dispatch is one ACTIVE-plus-START message: the worker verifies the canonical ACTIVE commit, explicit START, identity, and scope, executes in that same turn, and next reports completion for orchestrator review. There is no acknowledgement-only turn.
v0.1 does not authenticate caller roles. Safety comes from a read-oriented API surface, one narrow initialization mutation, resolved-path containment, strict state validation, conflict refusal, and explicit authority protocol. Filesystem containment is checked before each operation, but v0.1 does not claim protection against an adversary racing filesystem links between validation and use.
License
Apache License 2.0. See LICENSE.
Available Tools
5 toolsbootstrap_projectAIdempotent
Initialize canonical scaffolding from an explicit caller-supplied brief.
The target directory must already exist under the configured workspace root. This never infers purpose, overwrites canonical state, or creates a work order.
Inputs: project_id (required), project_name (required), project_path (required), project_brief (required). Returns: object
get_bootstrap_contextCRead-only
Return narrowly role-scoped canonical context for the requested role.
Inputs: role (required), project_path (required). Returns: object
get_orchestrator_bootstrapDRead-only
Return purpose, state, authority, issuance guidance, and review gates.
Inputs: project_path (required). Returns: object
get_project_statusCRead-only
Return compact canonical status and explicit validation errors.
Inputs: project_path (required). Returns: object
get_worker_bootstrapBRead-only
Return bounded worker entry context, execution gates, and stop behavior.
Inputs: project_path (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The getter tools for bootstrap context overlap: get_orchestrator_bootstrap, get_worker_bootstrap, and get_bootstrap_context all return role-scoped context, with the generic one likely covering the same ground. Only bootstrap_project is clearly distinct, while the getter separation by role is somewhat clear but not fully disambiguated.
All tool names are snake_case and follow a verb_noun pattern consistently. bootstrap_project stands out as an action, while the others use get_ prefix, but this is a typical and understandable distinction. The consistent prefix and structure make the naming predictable.
With only 5 tools, the surface is compact and well‑scoped for a control plane bootstrap service. Each tool appears to serve a distinct functional need without bloat, making the count appropriate for the apparent domain.
The tool set covers project bootstrap, status retrieval, and role‑specific context, but lacks lifecycle operations like listing or updating projects. The generic get_bootstrap_context seems redundant, and there are no endpoints for project deletion or modification, leaving notable gaps for a control plane.
Maintenance
Related MCP Connectors
One shared project for a team's coding agents: decisions, a task board and handoffs.
Project memory, documentation and controlled secret access for AI coding agents.
Shared project context for AI agents and teams: docs, tasks, and messages that stay current.
Give every project one workspace for its files, its team, and its AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to handshake with a repository, providing them with a map, standing decisions, and prior visit briefings so they can continue work without re-deriving the context. It also guards against regressions with a grandfathered baseline and maintains a visitor ledger and journal.73 npmMIT
- AlicenseAqualityBmaintenanceEnables git-versioned project state for AI sessions, capturing decisions, constraints, and rejected paths with confidence and provenance. It provides a deterministic resume context so new sessions continue without losing direction or re-proposing rejected work.136MIT
- AlicenseNot gradedqualityAmaintenanceEnables coordinating Claude Code and Codex across separate Git worktrees with shared issue ownership, file reservations, messages, and explicit handoffs.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to maintain local-first project memory, coordinate task ownership across Git worktrees, and verify completion against project-defined checks with durable evidence stored in the repository.1Apache 2.0