statewrightgate-mcp — Claude Code MCP server: setup guide
Remote gate for Statewright agent workflows. It enforces explicit state transitions and produces verifiable receipts in JSON before work proceeds.
claude mcp add --transport http statewrightgate-mcp https://statewrightgate.clauxel.com/mcpWhat statewrightgate-mcp does
This cloud gateway runs over Streamable HTTP to supervise AI agent workflows. It verifies every step against allowed paths before an agent acts. The service logs activity and outputs receipts tailored for audit trails.
Four tools handle execution: check_state_transition validates movements, explain_blocked_action clarifies why a step failed, suggest_next_states outlines viable routes, and export_transition_receipt generates proofs. Agent actions stay strictly bounded.
The service requires a paid bearer token obtained from the vendor portal. Without valid credentials, the HTTP endpoint denies incoming requests with a JSON error.
What it helps with
- validate proposed state transitions in agent workflows
- inspect why a specific agent step was rejected
- list permissible next states for an active task
- generate audit-ready receipts for completed transitions
Example prompts for the agent
- Call
check_state_transitionto see if the workflow can advance to packaging. - Run
explain_blocked_actionto inspect why the agent got halted. - Fetch an audit proof for the finished step with
export_transition_receipt.
How to install statewrightgate-mcp
Platform CLI: remote server
claude mcp add --transport http statewrightgate-mcp https://statewrightgate.clauxel.com/mcpPlatform CLI: remote server
codex mcp add statewrightgate-mcp --url https://statewrightgate.clauxel.com/mcpConfig file
{
"mcpServers": {
"statewrightgate-mcp": {
"url": "https://statewrightgate.clauxel.com/mcp"
}
}
}Config file
{
"servers": {
"statewrightgate-mcp": {
"type": "http",
"url": "https://statewrightgate.clauxel.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http statewrightgate-mcp https://statewrightgate.clauxel.com/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about statewrightgate-mcp
How to install statewrightgate-mcp in Claude Code?
Run claude mcp add --transport http statewrightgate-mcp https://statewrightgate.clauxel.com/mcp in your terminal. You must provide a bearer token from the provider site for production calls.
What does statewrightgate-mcp do?
It acts as an execution gate for Statewright agents. It confirms transitions, surfaces allowed subsequent states, and provides JSON receipts.
Is self-hosting supported by this repository?
No, this repository functions only as a public reference and documentation entry. The production gate runs strictly as a paid hosted remote service.