Bouncer

v0.1.6
io.github.Ezed9/mcp-bouncer Checked 1 day ago Published 20 days ago

Stdio MCP proxy that denies agent sends to destinations first seen in untrusted tool output.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bouncer_check_verdict

Evaluate a hypothetical tool call against Bouncer's deterministic security contracts and return the verdict (ALLOW, DENY, or ASK) with the underlying reason, without executing the tool.

ParameterTypeDescription
tool *stringName of the tool being called (e.g. 'send_email', 'write_file').
argsobjectArguments passed to the tool call.
untrusted_contextarrayList of untrusted strings currently in context (from prior tool outputs).
user_policy_yamlstringOptional YAML policy with custom contract overrides.

bouncer_verify_policy

Validate a YAML policy string against Bouncer's schema and report syntax validity, contract rules count, and covered tools.

ParameterTypeDescription
policy_yaml *stringYAML content defining tool policies.

bouncer_get_active_policies

Inspect all active contract packs (builtin rules for filesystem, gmail, slack, github, gdrive) and user overrides loaded by Bouncer.

ParameterTypeDescription
pack_namestringOptional name of a specific pack to inspect (e.g. 'filesystem').

bouncer_audit_summary

Retrieve recent audit log entries from Bouncer showing allowed, denied, and asked tool calls with their timestamps and reasons.

ParameterTypeDescription
limitintegerMaximum number of recent entries to return (default: 20).