Expand description
MCPSEC: MCP Security Benchmark Framework
Vendor-neutral security evaluation for MCP gateways. Tests 10 security properties across 64 attack test cases.
Modules§
- attacks
- Attack registry — defines all 64 test cases across 12 attack classes.
- report
- JSON and Markdown report generation.
- runner
- HTTP client that sends attack payloads to the gateway under test.
- scoring
- Score calculation from attack results.
Structs§
- Attack
Result - Result of a single attack test.
- Benchmark
Config - Configuration for a benchmark run.
- Benchmark
Result - Complete benchmark result.
- Benchmark
Summary - Summary statistics for a benchmark run.
- Gateway
Config - Gateway connection configuration.
- Property
Score - Score for a single security property.
Enums§
- Output
Format - Output format for benchmark results.
Functions§
- run_
benchmark - Run the full benchmark suite against a gateway.