Governance proxy for MCP servers — policy evaluation, human approval, audit trails.
io.github.VladUZH/sidclaw-governance-mcp — Model Context Protocol (MCP) Governance Proxy
This MCP server acts as a governance proxy for MCP servers, providing policy evaluation, human approval, and audit trails for AI agent tool calls. It targets governance and compliance workflows rather than tool execution itself, and it is compatible with MCP and multiple agent frameworks.
🛠️ Key Features
Policy evaluation for agent tool calls
Human approval steps
Audit trails
“Governance proxy” for MCP servers
Related compatibility includes MCP, LangChain, OpenAI Agents, and Claude Agent SDK (15+ more per excerpt)
🚀 Use Cases
Approve or deny AI agent tool calls
Add human-in-the-loop review to agent actions
Maintain compliance records via audit trails
Enforce tool-governance and agent-security policies
⚡ Developer Benefits
Centralized governance for MCP-based tool calls
Reusable policy-engine approach
Cross-framework integration mentioned in the readme excerpt (MCP, LangChain, OpenAI Agents, Claude Agent SDK)
⚠️ Limitations
No tool count or specific tools supported are provided in the available data.
Your agents call tools without oversight. SidClaw intercepts every tool call, checks it against your policies, and holds risky actions for human review before they execute.
Try it locally (10 seconds, no signup)
bash
npx sidclaw-demo
Opens a local governance dashboard at http://localhost:3030 with four pre-loaded scenarios (Claude Code rm -rf, fintech trade, DevOps scale-to-zero, clinical lab order). No signup, no Docker, no API key — just the approval card UX running in your browser.
See it in action
Atlas Financial Demo
Agent wants to send an email → policy flags it → reviewer sees full context → approves or denies → trace recorded.
Works With Your Stack
SidClaw integrates with 18+ frameworks and platforms — including OpenClaw (329K+ users), LangChain, OpenAI, MCP, Claude Agent SDK, Google ADK, NemoClaw, Copilot Studio, GitHub Copilot, and more. Add governance in one line of code. See all integrations →
See It In Action
Customer Support Agent (Financial Services)
Atlas Financial Demo
An AI agent wants to send a customer email. Policy flags it for review. The reviewer sees full context — who, what, why — and approves with one click. Every step is traced.
Infrastructure Automation (DevOps)
DevOps Demo
An AI agent wants to scale production services. High-risk deployments require human approval. Read-only monitoring is allowed instantly.
Clinical Decision Support (Healthcare)
Healthcare Demo
An AI assistant recommends lab orders. The physician reviews the clinical context and approves. Medication prescribing is blocked by policy — only physicians can prescribe.
How It Works
code
Agent wants to act → SidClaw evaluates → Policy decides → Human approves (if needed) → Action executes → Trace recorded
allow → action executes immediately, trace recorded
approval_required → human sees context card, approves/denies, trace recorded
deny → blocked before execution, no data accessed, trace recorded
Deploy your own SidClaw instance ($0)
Railway is the recommended one-click deploy — it spins up Postgres + API + Dashboard together. Vercel hosts only the Next.js dashboard; pair it with a hosted API.
Vercel can only host the dashboard (Next.js). The API is Fastify — deploy it to Railway, Fly, Render, or run via Docker. Set NEXT_PUBLIC_API_URL on the dashboard project to point at it.
Under 3 minutes to a working instance on Railway.
Quick Start — Pick What Fits
Option 1: Claude Code Hooks (zero code)
For Claude Code users. Every Bash, Write, Agent, mcp__* tool call is governed by SidClaw:
bash
# In the SidClaw platform repo
npm run hooks:install
# Then set two env varsexport SIDCLAW_BASE_URL=https://api.sidclaw.com
export SIDCLAW_API_KEY=ai_your_key_here
Restart Claude Code. rm -rf pauses for approval, git push --force gets flagged, every tool call is traced with a hash-chained audit trail. See hooks/README.md.
import os
from sidclaw import SidClaw
from sidclaw.middleware.generic import with_governance, GovernanceConfig
client = SidClaw(
api_key=os.environ["SIDCLAW_API_KEY"],
agent_id=os.environ["SIDCLAW_AGENT_ID"],
)
@with_governance(client, GovernanceConfig(
operation="send_email",
target_integration="email_service",
data_classification="confidential",
))defsend_email(to, subject, body):
email_service.send(to=to, subject=subject, body=body)
MCP Governance Proxy
Wrap any MCP server with policy evaluation and approval workflows. Works with Claude Desktop, Cursor, VS Code, GitHub Copilot — any MCP client. Listed on the official MCP Registry.
SidClaw sits at the tool-call layer: the moment an agent decides to act in the real world.
Integrations
SidClaw wraps your existing agent tools — no changes to your agent logic.
Agent Frameworks
TypeScript
Python
Core client
@sidclaw/sdk
sidclaw
MCP proxy
@sidclaw/sdk/mcp
sidclaw.mcp
LangChain
@sidclaw/sdk/langchain
sidclaw.middleware.langchain
OpenAI Agents
@sidclaw/sdk/openai-agents
sidclaw.middleware.openai_agents
CrewAI
@sidclaw/sdk/crewai
sidclaw.middleware.crewai
Vercel AI
@sidclaw/sdk/vercel-ai
—
Pydantic AI
—
sidclaw.middleware.pydantic_ai
Claude Agent SDK
@sidclaw/sdk/claude-agent-sdk
sidclaw.middleware.claude_agent_sdk
Google ADK
@sidclaw/sdk/google-adk
sidclaw.middleware.google_adk
LlamaIndex
@sidclaw/sdk/llamaindex
sidclaw.middleware.llamaindex
Composio
@sidclaw/sdk/composio
sidclaw.middleware.composio
NemoClaw
@sidclaw/sdk/nemoclaw
sidclaw.middleware.nemoclaw
Webhooks
@sidclaw/sdk/webhooks
sidclaw.webhooks
Platform Integrations
Integration
Description
Claude Code
Govern any MCP server in Claude Code. Add a .mcp.json entry — zero code changes. Guide →
OpenClaw
Governance proxy for OpenClaw skills. Published as sidclaw-governance on ClawHub. Guide →
MCP
Governance proxy for any MCP server. Listed on the official MCP Registry. CLI binary (sidclaw-mcp-proxy) + programmatic API. Guide →
NemoClaw
Govern NVIDIA NemoClaw sandbox tools with MCP-compatible proxy generation. Guide →
Copilot Studio
Governance for Microsoft Copilot Studio skills via OpenAPI action. Guide →
GitHub Copilot
Governance for GitHub Copilot agents via HTTP transport. Guide →
GitHub Action
sidclawhq/governance-action@v1 — reusable CI governance step. Guide →
Notification Channels
Approval requests are delivered to your team's preferred channels. Reviewers can approve or deny directly from chat.
Channel
Features
Slack
Block Kit messages with interactive Approve/Deny buttons. Messages update in-place after decision.
Microsoft Teams
Adaptive Card notifications with Approve/Deny buttons (Bot Framework) or dashboard links (webhook).
Telegram
HTML messages with inline keyboard. Callback updates remove buttons and add reply.
Resend
Email notifications for approval requests via transactional email.
Licensing
Component
License
What you can do
SDK (@sidclaw/sdk, sidclaw on PyPI)
Apache 2.0
Use freely, modify, distribute, commercial use
MCP Proxy (sidclaw-mcp-proxy)
Apache 2.0
Same as SDK
Platform (API, Dashboard, Docs)
FSL 1.1
Free for orgs under CHF 1M revenue. Converts to Apache 2.0 in 2028
Start with just the SDK? You don't need the platform. The SDK works standalone with the free hosted API at app.sidclaw.com, or you can self-host everything.
Why This Exists
AI agents are being deployed in production, but the governance layer is missing:
73% of CISOs fear AI agent risks, but only 30% are ready (NeuralTrust 2026)
79% of enterprises have blind spots where agents act without oversight
FINRA 2026 explicitly requires "documented human checkpoints" for AI agent actions in financial services
EU AI Act mandates human oversight, automatic logging, and risk management for high-risk AI systems — obligations apply from 2 December 2027 (Annex III) and 2 August 2028 (product-embedded), deferred from August 2026 by the 2026 Digital Omnibus
OpenClaw has 329K+ stars and 13,700+ skills — but 1,184 malicious skills were found in the ClawHavoc campaign. There's no policy layer governing what skills can do.
The big vendors (Okta, SailPoint, WorkOS) handle identity and authorization. But none of them ship the approval step — the part where a human sees rich context and makes an informed decision before an agent acts.
Compliance
SidClaw maps to regulatory requirements across the US, EU, Switzerland, and Singapore:
git clone https://github.com/sidclawhq/platform.git
cd platform
cp deployment/env.example .env# edit with your values
docker compose -f docker-compose.production.yml up -d
Development credentials:
Email: admin@example.com / Password: admin
Or click "Sign in with SSO" on the login page to auto-login without a password