@fractalcode/mcp-server
v2.0.0
Published
Fractal Code MCP Server — Constitutional governance for AI agent tool calls
Maintainers
Readme
@fractal-code/mcp-server
Model Context Protocol (MCP) server that exposes Fractal Code's scoped tool surface to AI agents (Cursor, Claude Code, etc.). Replaces the agent's built-in Bash / Write / Edit with channel-scoped equivalents:
fractal_workspace_read|write|list|mkdir|renamefractal_workspace_http(allowlisted hosts only)fractal_workspace_test(allowlisted runners; network denied by default)fractal_workspace_git(protected refs; force-push denied by default)fractal_workspace_package(lockfile-enforced by default)fractal_workspace_browser(allowlisted hosts; headless Playwright)fractal_scaffold_*(build pipelines deterministically)fractal_run_*,fractal_request_channel,fractal_safety_gate,fractal_record_usage, …
In regulated mode (Audit Hardening V1):
- Destructive workspace ops fire HITL approvals.
- All LLM channel calls land in an encrypted transaction ledger.
npx fractal-mcp --stdio
# or
npx fractal-mcp --http --port 3001See the Fractal Code repo for setup.
License
See LICENSE.
