Skip to content

Show MCP-SP: A 7-phase security proxy for MCP agent systems #2915

@amurlaniakea

Description

@amurlaniakea

MCP Core Defense — Open-source 7-phase security proxy for MCP

I've built MCP Core Defense, a defense-in-depth security proxy interposed between AI agents and MCP servers. It implements 7 sequential verification phases:

  1. Policy Engine — Deny-by-default allowlist with wildcards
  2. Schema Validator — Strict JSON schema validation
  3. DCI Checker — Description-Consistency via AST analysis (Python + JS/TS)
  4. TDP Detector — Tool Description Poisoning scan (exfil/exec/obfuscation patterns)
  5. Mutual TLS — Certificate verification + SHA256 pinning + MITM detection
  6. Sandbox — Filesystem jail with path traversal prevention
  7. SDK Adapter — Async MCP client integration with dry-run mode

Key features

  • 127 tests passing on Python 3.10/3.11/3.12
  • Cortocircuitable — stops at first failure
  • Research-based — based on Shi et al. 2026, Liu et al. 2026, Zhou et al. 2026

Links

Happy to answer questions or collaborate!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions