Repository navigation
Releases
Releases · dbdefault/joons-mcp-policy-gate
v0.1.0 Preview
JOONS MCP Policy Gate 0.1.0 is the first Preview release.
Static policy checks for MCP tool contracts, built for CI. Policy Gate reads a tool-list snapshot (the joons-mcp-diff snapshot format, schemaVersion 1) and a versioned JSON policy, and reports PASS, WARN or FAIL.
Highlights
- Allow/deny tool-name globs (safe matcher, no regular expressions). Deny wins, and adding a deny rule can never lower a FAIL.
- Required tools, maximum tool count, description and input-schema requirements, required annotation keys.
- User-defined risk classes with dated approvals (approvals never lift a deny).
- Strict policy validation: unknown keys, conflicts and policies that can never produce a finding are rejected;
validate-policycommand. - Terminal, JSON and Markdown reports;
--fail-on failure|warning|none; stable exit codes 0-4. - Input limits, fatal UTF-8 decoding, prototype-pollution safe parsing, no paths or raw untrusted keys in output.
- Zero runtime dependencies. Node.js 20+.
Limits
- Static check of a snapshot only. It does not block tool calls at runtime and does not determine real risk; risk classes are labels you define.
- Formats may change before 1.0. Not published to npm.
Install: npm install -g github:dbdefault/joons-mcp-policy-gate#v0.1.0