mcp-security-checklist

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 22 GitHub stars
Code Gecti
  • Code scan — Scanned 7 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

MCP is being adopted rapidly. Security guidance is lagging behind. This checklist gives security engineers, platform teams, and technical leaders a clear, actionable baseline for securing MCP deployments , whether you're shipping an internal tool or a customer-facing AI agent.

README.md

MCP Security Checklist

A practical, community-maintained security checklist for teams building and deploying Model Context Protocol (MCP) servers and AI agent infrastructure.

License: MIT
Version 1.1.0
MCP spec 2026-07-28
Maintained by Helixar

Interactive checklist: checklist.helixar.ai


Why This Exists

MCP is being adopted rapidly. Security guidance is lagging behind.

This checklist gives security engineers, platform teams and technical leaders a clear, actionable baseline for securing MCP deployments, whether you're shipping an internal tool or a customer-facing AI agent.

It is not vendor-specific, complete, or a replacement for a full security review. It is a starting point.


The Checklists

Seven domains, 52 controls.

Checklist Audience Description
Authentication & Authorization All Identity, token scope, access control, and the MCP OAuth requirements (spec 2026-07-28)
Input Validation & Prompt Injection Engineers Sanitizing inputs before tool execution
Tool & Resource Exposure Engineers / Architects Limiting blast radius of MCP tools
API Session Security Platform Teams Securing inbound sessions from agents
Monitoring & Observability SecOps What to log, alert on, and review
Network & Infrastructure Platform Teams Network-layer hardening
Post-Quantum Readiness Security / Platform / Architects Cryptographic inventory, hybrid key exchange, token signing, migration dates
CISO Summary CISOs / Leadership Non-technical risk summary

Quick Start: Top 10 Controls

If you do nothing else, cover these:

  1. Do not expose an MCP server to the public internet without authentication: OAuth as the MCP authorization spec defines it, or mTLS between servers.
  2. Accept only access tokens issued for this MCP server, and never pass them through to upstream APIs.
  3. Scope every tool to the minimum necessary permissions.
  4. Validate and sanitize all inputs before they reach tool execution.
  5. Log every tool invocation with the originating session context.
  6. Set rate limits on the MCP server and on the downstream APIs it calls.
  7. Separate read and write tools, and require explicit approval for write operations in sensitive contexts.
  8. Rotate MCP server credentials on a defined schedule, and keep private keys out of agent configs.
  9. Watch for unusual tool chains, high-frequency calls and off-hours access.
  10. Review the tool inventory and the cryptographic inventory before every production deployment.

Machine-Readable Version

Use the JSON or YAML version in CI/CD pipelines, compliance tooling or custom dashboards. Every control has a stable ID (auth-001, pq-003), and IDs are never reused.

After editing checklist.json, run:

node scripts/build.mjs

This regenerates checklist.yaml and the data the interactive site loads (docs/checklist.js, docs/checklist.json). CI fails if they are out of date.


Tooling

The checklist stays vendor-neutral. These open-source tools come from its maintainers and automate part of it. An automated scan covers only some controls, and a clean result is not proof that a deployment is secure.

Tool What it checks
Sentinel (Apache-2.0) MCP server configs, live endpoints and Docker containers. The opt-in post-quantum module (preview) checks hybrid ML-KEM key exchange, certificate and token-signing algorithms and key material in agent configs, and writes a CycloneDX 1.6 CBOM.
ReleaseGuard (Apache-2.0) Release artifacts. Version 0.2.0 inventories the certificates, keys, crypto libraries and Go build information inside a build output and turns post-quantum readiness ratings into policy findings.

Contributing

This checklist improves through community input. If you've encountered a gap, misconfiguration or attack pattern in real-world MCP deployments, we want to hear about it.

See CONTRIBUTING.md for how to get involved.


Scope & Limitations

This checklist covers:

  • MCP server deployment and configuration security
  • MCP authorization for HTTP transports
  • Inbound session and API request security
  • Agent-to-tool interaction surface
  • Operational logging and alerting
  • Post-quantum readiness of MCP transport, tokens and release artifacts

This checklist does not cover:

  • Model weights or training pipeline security
  • End-user data privacy compliance (GDPR, CCPA, etc.)
  • General cloud infrastructure hardening

Changelog

1.1.0 (6 December 2026)

  • Authorization: eight new controls (auth-011 to auth-018) for MCP authorization spec revision 2026-07-28: protected resource metadata (RFC 9728), audience validation, no token passthrough, the RFC 8707 resource parameter, PKCE with S256, Client ID Metadata Documents (Dynamic Client Registration is deprecated), scope challenges, and issuer checks.
  • Post-Quantum Readiness: new domain with seven controls (pq-001 to pq-007).
  • Network: net-006, TLS 1.3 by default.
  • Top 10: revised for audience validation, token passthrough and cryptographic inventory.
  • Site: rebuilt at checklist.helixar.ai in the current Helixar branding. It reads checklist.json, so the site and the machine-readable files can no longer drift. Progress is saved in the browser.
  • Format: checklist.json is the single source; checklist.yaml is generated. Added quick_start and tooling keys and metadata.mcp_spec_revision.

1.0.0 (9 March 2026)

  • Initial release: six domains, 36 controls, CISO summary.

License

MIT. Use it freely. Attribution appreciated.


Maintained by Helixar. Helixar builds runtime guardrails and tamper-evident records for AI agents.

Yorumlar (0)

Sonuc bulunamadi