Skip to content

Add MCP-Guard β€” security proxy daemon for MCP servers#124

Open
jmolz wants to merge 1 commit into
Puliczek:mainfrom
jmolz:add-mcp-guard
Open

Add MCP-Guard β€” security proxy daemon for MCP servers#124
jmolz wants to merge 1 commit into
Puliczek:mainfrom
jmolz:add-mcp-guard

Conversation

@jmolz
Copy link
Copy Markdown

@jmolz jmolz commented Apr 9, 2026

MCP-Guard

Security proxy daemon for MCP servers β€” adds OAuth 2.1 authentication, PII detection, rate limiting, permission scoping, and audit logging without modifying upstream servers.

Key features:

  • Terminate/inspect/re-originate architecture β€” nothing passes through uninspected
  • Fail-closed interceptor pipeline (Auth β†’ Rate Limit β†’ Permissions β†’ Sampling Guard β†’ PII Detect)
  • Bidirectional PII scanning with Luhn validation
  • Floor-based config merge β€” personal configs can restrict but never relax base policies

Benchmarks (self-generated, fully reproducible):

  • 97% detection across 4,500+ attack scenarios in 10 categories (range: 92.4%–100% per category)
  • 0 false positives observed in 10,168 legitimate requests (<0.03% at 95% CI, Rule of Three)
  • Tested against own scenario generators, not an independent corpus β€” methodology doc explains mitigations and known limitations
  • Regex-based PII detection β€” does not catch semantic encoding or cross-field splitting

Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant