validate_action
Check if a proposed action passes all active validation rules. Returns allowed/blocked with rule violations.
actionrequiredcontextio.sunaivacorePublished by sunaivacore.ioOfficial publisherv2.0.4Updated Oct 27, 2026
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
A rule-enforcement gate that lets an assistant validate proposed actions against policy rules, log bypasses, and manage custom rules and audit logs.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.sunaivacore%2Fgate/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"sunaiva-gate-agent-rule-enforcement": {
"type": "http",
"url": "https://mcp.sunaivacore.io/"
}
}
}Check if a proposed action passes all active validation rules. Returns allowed/blocked with rule violations.
actionrequiredcontextRecord an intentional rule bypass with justification. Cannot bypass constitutional rules.
reasonrequiredrule_idrequiredList 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.
presetcategory[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.
enabledisableView recent gate decisions — blocks, warnings, passes, and bypasses.
limitrule_id[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.
labelartifact_idrequiredcommand_preview[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.
Takes no parameters.
Set enforcement mode (shadow/advisory/enforce) for a specific rule. Requires API key (Pro+).
moderequiredrule_idrequiredagent_idList all enforcement-mode overrides configured for the authenticated customer. Requires an account (Dev+).
Takes no parameters.
Remove a mode override for a rule, reverting it to its default enforcement mode. Requires API key (Pro+).
rule_idrequiredCreate a custom detection rule in the backend. Requires API key (Pro+).
namerequiredtierseverityrequireddescriptionrequireddetection_patternrequiredUpdate an existing custom rule. Requires API key (Pro+).
idrequirednametierseveritydescriptiondetection_patternDelete a custom rule. Requires API key (Pro+).
idrequiredList all custom rules for the authenticated customer. Requires API key (Pro+).
Takes no parameters.
List available rule preset bundles. Requires API key (Dev+).
Takes no parameters.
Apply a preset bundle, activating all its included rules. Requires API key (Pro+).
preset_idrequired75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
Declare a license in the repository or the registry entry.