deterministic-agent-control-protocol
Governance gateway for AI agents — bounded, auditable, session-aware control with MCP proxy, shell proxy & HTTP API. Works with Cursor, Claude Code, Codex, and any MCP-compatible agent.
claude mcp add --transport stdio elliot35-deterministic-agent-control-protocol node server.js
How to use
This MCP server provides governance for AI agent actions by routing every action request through a policy-enabled control plane before execution. It does not perform actions itself; instead it evaluates requests against defined constraints, budgets, and risk levels, then either allows execution, blocks it with a logged reason, or gates it behind human approval. The server integrates with common agent shells and tooling ecosystems (Cursor, Codex, Claude Code, and compatible MCP clients) and supports a language-agnostic HTTP API for external tooling.
To use it, install the CLI tooling and bootstrap governance for your agent, or run sessions locally using the provided policy files. You can define capabilities and limits in a policy file, then the MCP server will enforce those rules across tool invocations, file access, and commands. When an action is evaluated, you receive a verdict and, if allowed, you perform the action yourself and record the result in the evidence ledger. The system emphasizes auditable, bounded, and reversible actions with explainable decisions, ensuring you can trace why a tool was allowed or denied and how it affects the overall task.
How to install
Prerequisites:
- Node.js (LTS version) and npm installed on your machine
- Basic familiarity with CLI tools
-
Install the CLI globally (or use npx per project):
npm install -g det-acp-cli
-
Initialize a new MCP policy and config for your agent:
npx det-acp init cursor # For Cursor integration npx det-acp init codex # For Codex integration npx det-acp init claude-code # For Claude Code integration
This generates default policy.yaml, policy files, and an MCP config file. Edit policy.yaml to tailor capabilities, limits, gates, and session behavior to your needs.
-
Start the MCP server (example using the hosted CLI flow):
node server.js # or the appropriate start command for your setup
-
If you’re integrating with a specific agent, follow the agent-specific integration guide in the repository’s docs to connect your agent to the MCP HTTP API
Additional notes
Tips and common considerations:
- Keep policy.yaml under version control with explicit capabilities and limits to ensure repeatable governance.
- Use the evidence ledger to audit actions and support reversibility and explainability.
- If you encounter permission denials, review the gates and risk_level settings in your policy; adjust to balance safety with productivity.
- When integrating multiple agents (Cursor, Codex, Claude Code), ensure consistent policy references across integrations to avoid policy drift.
- Ensure your MCP server has access to the policy files, ledger storage, and any external services needed for human approval workflows.
Related MCP Servers
agent-deck
Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
Overture
Overture is an open-source, locally running web interface delivered as an MCP (Model Context Protocol) server that visually maps out the execution plan of any AI coding agent as an interactive flowchart/graph before the agent begins writing code.
claude-codex-settings
My personal Claude Code and OpenAI Codex setup with battle-tested skills, commands, hooks, agents and MCP servers that I use daily.
kindly-web-search
Kindly Web Search MCP Server: Web search + robust content retrieval for AI coding tools (Claude Code, Codex, Cursor, GitHub Copilot, Gemini, etc.) and AI agents (Claude Desktop, OpenClaw, etc.). Supports Serper, Tavily, and SearXNG.
template-repo
Agent orchestration & security template featuring MCP tool building, agent2agent workflows, mechanistic interpretability on sleeper agents, and agent integration via CLI wrappers
mcp-image
MCP server for AI image generation and editing with automatic prompt optimization and quality presets (fast/balanced/quality). Powered by Gemini (Nano Banana 2 & Pro).