MCP server exposing runtime-supervisor tools to LLM agents (Claude Desktop, Cursor, etc.)
Project description
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_actionwith dry_run=true to show me what the supervisor would decide."
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_supervisor-0.3.0.tar.gz.
File metadata
- Download URL: mcp_supervisor-0.3.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318820fa95fb22f1697c3f69190ce719345e43ae4af4f02de27ee7738977c97b
|
|
| MD5 |
0b63e76b0ee8dcacd87c06673c5bfe8a
|
|
| BLAKE2b-256 |
ddb791c2eefa8ea4aa207cc3ef23c3c9bfb8067376517322be82cdcb1b5b4698
|
File details
Details for the file mcp_supervisor-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mcp_supervisor-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32fe21e5ce947f6aff3cba5200380a7b9f613dc16782dc54dbb470205660680c
|
|
| MD5 |
76627afbd0cff06b477372ed404c3740
|
|
| BLAKE2b-256 |
5b0051e5ce9f22c2b2615dea890ea7b57898030da5c543761e8b8b33b5bb85f4
|