Sunaiva Gate — Agent Rule Enforcement
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http sunaiva-gate-agent-rule-enforcement 'https://mcp.sunaivacore.io'
{
"mcpServers": {
"sunaiva-gate-agent-rule-enforcement": {
"type": "http",
"url": "https://mcp.sunaivacore.io"
}
}
}
@sunaiva/gateclaude mcp add sunaiva-gate-agent-rule-enforcement -e 'SUNAIVA_GATE_API_KEY=<your sunaiva_gate_api_key>' -e 'SUNAIVA_GATE_DRY_RUN=<SUNAIVA_GATE_DRY_RUN>' -e 'DISABLE_SUNAIVA_GATE=<DISABLE_SUNAIVA_GATE>' -- npx -y @sunaiva/gate@2.0.4
{
"mcpServers": {
"sunaiva-gate-agent-rule-enforcement": {
"command": "npx",
"args": [
"-y",
"@sunaiva/gate@2.0.4"
],
"env": {
"SUNAIVA_GATE_API_KEY": "<your sunaiva_gate_api_key>",
"SUNAIVA_GATE_DRY_RUN": "<SUNAIVA_GATE_DRY_RUN>",
"DISABLE_SUNAIVA_GATE": "<DISABLE_SUNAIVA_GATE>"
}
}
}
}
Environment variables
SUNAIVA_GATE_API_KEYsecret Pro-tier API key for premium rules. Free tier (35 local rules: 27 constitutional + 8 recommended-default) needs no key.SUNAIVA_GATE_DRY_RUNSet to '1' to evaluate without blocking — writes 'would_have_blocked' to audit log.DISABLE_SUNAIVA_GATEEmergency kill-switch: set to '1' to allow all actions unconditionally.
Frequently asked questions
What is Sunaiva Gate — Agent Rule Enforcement?
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
How do I install Sunaiva Gate — Agent Rule Enforcement?
It runs as a remote server. In Claude Code: claude mcp add --transport http sunaiva-gate-agent-rule-enforcement 'https://mcp.sunaivacore.io'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Sunaiva Gate — Agent Rule Enforcement need an API key?
Yes. It expects SUNAIVA_GATE_API_KEY, which you set in its configuration.
Who maintains Sunaiva Gate — Agent Rule Enforcement?
It is published by io.sunaivacore. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.