Skip to main content

mcp-supervisor

MCP server that exposes runtime-supervisor as tools for LLM agents (Claude Desktop, Claude Code, any MCP-aware client).

Install

uv pip install -e packages/mcp-supervisor
# or from PyPI once published:
pip install mcp-supervisor

Configure

Environment variables:

Variable Required Description
SUPERVISOR_URL yes Supervisor API base URL (e.g. http://localhost:8000)
SUPERVISOR_APP_ID yes Integration id issued by POST /v1/integrations
SUPERVISOR_SECRET yes Shared secret returned at registration
SUPERVISOR_SCOPES no Comma-separated scopes (default *)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "runtime-supervisor": {
      "command": "uv",
      "args": ["--directory", "/path/to/agentic-internal-controls", "run", "mcp-supervisor"],
      "env": {
        "SUPERVISOR_URL": "http://localhost:8000",
        "SUPERVISOR_APP_ID": "your-integration-id",
        "SUPERVISOR_SECRET": "your-shared-secret",
        "SUPERVISOR_SCOPES": "refund,payment"
      }
    }
  }
}

Exposed tools

  • evaluate_action(action_type, payload, dry_run=false) — gate an agent action through policy + risk.
  • list_action_types() — discover what's supervised (live vs planned).
  • get_evidence(action_id) — fetch the hash-chained evidence bundle for audit.

Example prompt to Claude

"Before I execute a $1200 refund for a customer who signed up 18 days ago and has had 2 refunds in the last 24h, use evaluate_action with dry_run=true to show me what the supervisor would decide."

Metadata

Release files for mcp-supervisor 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-supervisor 0.3.0
File Size Uploaded
mcp_supervisor-0.3.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-supervisor 0.3.0
File Interpreter ABI Platform
mcp_supervisor-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / mcp_supervisor-0.3.0.tar.gz

Download URL mcp_supervisor-0.3.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
318820fa95fb22f1697c3f69190ce719345e43ae4af4f02de27ee7738977c97b
BLAKE2b-256 checksum
How to use checksums
ddb791c2eefa8ea4aa207cc3ef23c3c9bfb8067376517322be82cdcb1b5b4698
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / mcp_supervisor-0.3.0-py3-none-any.whl

Download URL mcp_supervisor-0.3.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32fe21e5ce947f6aff3cba5200380a7b9f613dc16782dc54dbb470205660680c
BLAKE2b-256 checksum
How to use checksums
5b0051e5ce9f22c2b2615dea890ea7b57898030da5c543761e8b8b33b5bb85f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page