Sunaiva Gate — Agent Rule Enforcement is an MCP server published by io.sunaivacore, hosted at mcp.sunaivacore.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 16 tools, including validate_action, log_bypass, get_rules, update_rules, get_audit_log.
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Check if a proposed action passes all active validation rules. Returns allowed/blocked with rule violations.
| Parameter | Type | Description |
|---|---|---|
| action * | string | The action to validate |
| context | string | Optional additional context, appended to `action` before rule matching — it can change which rules match and therefore the verdict. |
{
"name": "validate_action",
"description": "Check if a proposed action passes all active validation rules. Returns allowed/blocked with rule violations.",
"inputSchema": {
"type": "object",
"required": [
"action"
],
"properties": {
"action": {
"type": "string",
"description": "The action to validate"
},
"context": {
"type": "string",
"description": "Optional additional context, appended to `action` before rule matching — it can change which rules match and therefore the verdict."
}
}
}
}None yet. Changes appear after a server's second daily check.
Inferred from the host name and headers: what a server runs on, not who runs it.
Record an intentional rule bypass with justification. Cannot bypass constitutional rules.
| Parameter | Type | Description |
|---|---|---|
| reason * | string | Justification for the bypass |
| rule_id * | string | ID of the rule to bypass |
{
"name": "log_bypass",
"description": "Record an intentional rule bypass with justification. Cannot bypass constitutional rules.",
"inputSchema": {
"type": "object",
"required": [
"rule_id",
"reason"
],
"properties": {
"reason": {
"type": "string",
"description": "Justification for the bypass"
},
"rule_id": {
"type": "string",
"description": "ID of the rule to bypass"
}
}
}
}List active validation rules — the customer's TRUE enforced set (constitutional + recommended-default metadata on dev tier, all 69 premium rules on pro+). `category`/`preset` filter args are accepted but not applied server-side.
| Parameter | Type | Description |
|---|---|---|
| preset | string | Filter by preset name |
| category | string | Filter by category |
{
"name": "get_rules",
"description": "List active validation rules — the customer's TRUE enforced set (constitutional + recommended-default metadata on dev tier, all 69 premium rules on pro+). `category`/`preset` filter args are accepted but not applied server-side.",
"inputSchema": {
"type": "object",
"properties": {
"preset": {
"type": "string",
"description": "Filter by preset name"
},
"category": {
"type": "string",
"description": "Filter by category"
}
}
}
}[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Enable/disable is not backed by any route in this API; use set_rule_mode (shadow/advisory/enforce) instead, or the local `npx @sunaiva/gate` package.
| Parameter | Type | Description |
|---|---|---|
| enable | array | Rule IDs to enable |
| disable | array | Rule IDs to disable |
{
"name": "update_rules",
"description": "[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Enable/disable is not backed by any route in this API; use set_rule_mode (shadow/advisory/enforce) instead, or the local `npx @sunaiva/gate` package.",
"inputSchema": {
"type": "object",
"properties": {
"enable": {
"type": "array",
"items": {
"type": "string"
},
"description": "Rule IDs to enable"
},
"disable": {
"type": "array",
"items": {
"type": "string"
},
"description": "Rule IDs to disable"
}
}
}
}View recent gate decisions — blocks, warnings, passes, and bypasses.
| Parameter | Type | Description |
|---|---|---|
| limit | number | Max entries to return (default 50) |
| rule_id | string | Accepted for forward-compatibility but NOT applied server-side — the backend only honors limit/cursor. Filter the returned entries client-side. |
{
"name": "get_audit_log",
"description": "View recent gate decisions — blocks, warnings, passes, and bypasses.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "number",
"description": "Max entries to return (default 50)"
},
"rule_id": {
"type": "string",
"description": "Accepted for forward-compatibility but NOT applied server-side — the backend only honors limit/cursor. Filter the returned entries client-side."
}
}
}
}[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Ship Confidence Gate (Rule 42) dual-tier authorization is not yet built in this backend.
| Parameter | Type | Description |
|---|---|---|
| label | string | Human-readable label of the publish action (optional) |
| artifact_id * | string | The artifact being shipped (e.g. '@sunaiva/gate@1.1.0') |
| command_preview | string | First 300 chars of the command that triggered the check (optional) |
{
"name": "ship_confidence_check",
"description": "[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Ship Confidence Gate (Rule 42) dual-tier authorization is not yet built in this backend.",
"inputSchema": {
"type": "object",
"required": [
"artifact_id"
],
"properties": {
"label": {
"type": "string",
"description": "Human-readable label of the publish action (optional)"
},
"artifact_id": {
"type": "string",
"description": "The artifact being shipped (e.g. '@sunaiva/gate@1.1.0')"
},
"command_preview": {
"type": "string",
"description": "First 300 chars of the command that triggered the check (optional)"
}
}
}
}[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Forward-linked hash-chain / ed25519 audit-log verification is not yet built in this backend.
No parameters.
{
"name": "audit_verify",
"description": "[Planned — not yet implemented on the remote endpoint, returns NOT_IMPLEMENTED] Forward-linked hash-chain / ed25519 audit-log verification is not yet built in this backend.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Set enforcement mode (shadow/advisory/enforce) for a specific rule. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| mode * | string | Enforcement mode |
| rule_id * | string | Rule ID to configure |
| agent_id | string | Optional: scope override to a specific agent ID |
{
"name": "set_rule_mode",
"description": "Set enforcement mode (shadow/advisory/enforce) for a specific rule. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"rule_id",
"mode"
],
"properties": {
"mode": {
"enum": [
"shadow",
"advisory",
"enforce"
],
"type": "string",
"description": "Enforcement mode"
},
"rule_id": {
"type": "string",
"description": "Rule ID to configure"
},
"agent_id": {
"type": "string",
"description": "Optional: scope override to a specific agent ID"
}
}
}
}List all enforcement-mode overrides configured for the authenticated customer. Requires an account (Dev+).
No parameters.
{
"name": "get_rule_modes",
"description": "List all enforcement-mode overrides configured for the authenticated customer. Requires an account (Dev+).",
"inputSchema": {
"type": "object",
"properties": {}
}
}Remove a mode override for a rule, reverting it to its default enforcement mode. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| rule_id * | string | Rule ID whose override to remove |
{
"name": "reset_rule_mode",
"description": "Remove a mode override for a rule, reverting it to its default enforcement mode. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"rule_id"
],
"properties": {
"rule_id": {
"type": "string",
"description": "Rule ID whose override to remove"
}
}
}
}Create a custom detection rule in the backend. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| name * | string | Rule name |
| tier | string | Optional tier restriction |
| severity * | string | Severity on match |
| description * | string | Rule description (required — the backend 400s on a missing/empty description) |
| detection_pattern * | string | Compiled regex detection pattern (required — the backend 400s on a missing/empty detection_pattern). There is no 'pattern' field: 'detection_pattern' is the only field name the evaluator reads; the backend explicitly rejects 'pattern'. |
{
"name": "add_custom_rule",
"description": "Create a custom detection rule in the backend. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"name",
"description",
"detection_pattern",
"severity"
],
"properties": {
"name": {
"type": "string",
"description": "Rule name"
},
"tier": {
"type": "string",
"description": "Optional tier restriction"
},
"severity": {
"enum": [
"block",
"warn"
],
"type": "string",
"description": "Severity on match"
},
"description": {
"type": "string",
"description": "Rule description (required — the backend 400s on a missing/empty description)"
},
"detection_pattern": {
"type": "string",
"description": "Compiled regex detection pattern (required — the backend 400s on a missing/empty detection_pattern). There is no 'pattern' field: 'detection_pattern' is the only field name the evaluator reads; the backend explicitly rejects 'pattern'."
}
}
}
}Update an existing custom rule. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| id * | string | Rule ID to update |
| name | string | |
| tier | string | |
| severity | string | one of ["block","warn"] |
| description | string | |
| detection_pattern | string | There is no 'pattern' field — 'detection_pattern' is the only field name the evaluator reads; the backend explicitly rejects 'pattern'. |
{
"name": "update_custom_rule",
"description": "Update an existing custom rule. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Rule ID to update"
},
"name": {
"type": "string"
},
"tier": {
"type": "string"
},
"severity": {
"enum": [
"block",
"warn"
],
"type": "string"
},
"description": {
"type": "string"
},
"detection_pattern": {
"type": "string",
"description": "There is no 'pattern' field — 'detection_pattern' is the only field name the evaluator reads; the backend explicitly rejects 'pattern'."
}
}
}
}Delete a custom rule. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| id * | string | Rule ID to delete |
{
"name": "delete_custom_rule",
"description": "Delete a custom rule. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Rule ID to delete"
}
}
}
}List all custom rules for the authenticated customer. Requires API key (Pro+).
No parameters.
{
"name": "list_custom_rules",
"description": "List all custom rules for the authenticated customer. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"properties": {}
}
}List available rule preset bundles. Requires API key (Dev+).
No parameters.
{
"name": "list_presets",
"description": "List available rule preset bundles. Requires API key (Dev+).",
"inputSchema": {
"type": "object",
"properties": {}
}
}Apply a preset bundle, activating all its included rules. Requires API key (Pro+).
| Parameter | Type | Description |
|---|---|---|
| preset_id * | string | ID of the preset to apply |
{
"name": "apply_preset",
"description": "Apply a preset bundle, activating all its included rules. Requires API key (Pro+).",
"inputSchema": {
"type": "object",
"required": [
"preset_id"
],
"properties": {
"preset_id": {
"type": "string",
"description": "ID of the preset to apply"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.