Sunaiva Gate — Agent Rule Enforcement

Official registry AI and agents

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).

Remote (streamable-http)
Claude Code
claude mcp add --transport http sunaiva-gate-agent-rule-enforcement 'https://mcp.sunaivacore.io'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "sunaiva-gate-agent-rule-enforcement": {
            "type": "http",
            "url": "https://mcp.sunaivacore.io"
        }
    }
}
NPM package @sunaiva/gate
Claude Code
claude 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
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "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_KEY secret Pro-tier API key for premium rules. Free tier (35 local rules: 27 constitutional + 8 recommended-default) needs no key.
  • SUNAIVA_GATE_DRY_RUN Set to '1' to evaluate without blocking — writes 'would_have_blocked' to audit log.
  • DISABLE_SUNAIVA_GATE Emergency 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.