Sunaiva Gate — Agent Rule Enforcement MCP Server
io.sunaivacore/gatev2.0.4
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Sunaiva Gate — Agent Rule Enforcement MCP server
Install in Claude Code
claude mcp add io-sunaivacore-gate -e SUNAIVA_GATE_API_KEY='<sunaiva-gate-api-key>' -- npx -y @sunaiva/gateInstall in Cursor
{
"mcpServers": {
"io-sunaivacore-gate": {
"command": "npx",
"args": [
"-y",
"@sunaiva/gate"
],
"env": {
"SUNAIVA_GATE_API_KEY": "<sunaiva-gate-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"io-sunaivacore-gate": {
"command": "npx",
"args": [
"-y",
"@sunaiva/gate"
],
"env": {
"SUNAIVA_GATE_API_KEY": "<sunaiva-gate-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"io-sunaivacore-gate": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sunaiva/gate"
],
"env": {
"SUNAIVA_GATE_API_KEY": "<sunaiva-gate-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"io-sunaivacore-gate": {
"command": "npx",
"args": [
"-y",
"@sunaiva/gate"
],
"env": {
"SUNAIVA_GATE_API_KEY": "<sunaiva-gate-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SUNAIVA_GATE_API_KEY | — | yes | 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. |
Remote endpoints
- streamable-http
https://mcp.sunaivacore.io
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-07-19 · 3mo ago · official registry · v2.0.4
FAQ
›How do I install the Sunaiva Gate — Agent Rule Enforcement MCP server in Claude Code?
Run: claude mcp add io-sunaivacore-gate -e SUNAIVA_GATE_API_KEY='<sunaiva-gate-api-key>' -- npx -y @sunaiva/gate. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Sunaiva Gate — Agent Rule Enforcement require an API key?
Yes. It expects SUNAIVA_GATE_API_KEY, of which 1 is a secret.
›Can I use Sunaiva Gate — Agent Rule Enforcement as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Sunaiva Gate — Agent Rule Enforcement in the official MCP registry?
Yes, as io.sunaivacore/gate.