{
  "metadata": {
    "name": "MCP Security Checklist",
    "version": "1.1.0",
    "maintained_by": "Helixar",
    "url": "https://checklist.helixar.ai/",
    "repository": "https://github.com/Helixar-AI/mcp-security-checklist",
    "last_updated": "2026-12-06",
    "mcp_spec_revision": "2026-07-28",
    "license": "MIT"
  },
  "categories": [
    {
      "id": "auth",
      "name": "Authentication & Authorization",
      "audience": [
        "security-engineers",
        "all"
      ],
      "risk_level": "critical",
      "items": [
        {
          "id": "auth-001",
          "control": "Require authentication on all MCP endpoints",
          "rationale": "Unauthenticated tool invocation allows any caller to execute tools.",
          "tags": [
            "authentication",
            "baseline"
          ]
        },
        {
          "id": "auth-002",
          "control": "Use short-lived tokens for agent sessions",
          "rationale": "Long-lived static keys increase exposure window on compromise.",
          "tags": [
            "authentication",
            "tokens"
          ]
        },
        {
          "id": "auth-003",
          "control": "Implement mTLS for server-to-server MCP communication",
          "rationale": "Mutual TLS ensures both parties are authenticated in transit.",
          "tags": [
            "authentication",
            "tls",
            "network"
          ]
        },
        {
          "id": "auth-004",
          "control": "Do not embed credentials in agent prompts or tool descriptions",
          "rationale": "Agents can leak credentials in responses or logs.",
          "tags": [
            "authentication",
            "secrets"
          ]
        },
        {
          "id": "auth-005",
          "control": "Use a secrets manager for MCP server credentials",
          "rationale": "Environment variables are frequently exposed in logs, error messages, or config dumps.",
          "tags": [
            "authentication",
            "secrets",
            "infrastructure"
          ]
        },
        {
          "id": "auth-006",
          "control": "Apply least-privilege scoping to every tool",
          "rationale": "Overprivileged tools expand blast radius on compromise.",
          "tags": [
            "authorization",
            "least-privilege"
          ]
        },
        {
          "id": "auth-007",
          "control": "Separate read-only and write/execute tools",
          "rationale": "Require explicit elevated authorization for destructive operations.",
          "tags": [
            "authorization",
            "least-privilege"
          ]
        },
        {
          "id": "auth-008",
          "control": "Enforce per-agent identity on tool invocations",
          "rationale": "Shared credentials prevent individual agent traceability.",
          "tags": [
            "authorization",
            "identity"
          ]
        },
        {
          "id": "auth-009",
          "control": "Validate tool-level authorization, not just server-level auth",
          "rationale": "Gateway-only auth checks can be bypassed via direct MCP calls.",
          "tags": [
            "authorization"
          ]
        },
        {
          "id": "auth-010",
          "control": "Restrict which tools are visible to which agents",
          "rationale": "Tool discovery itself is an attack surface.",
          "tags": [
            "authorization",
            "exposure"
          ]
        },
        {
          "id": "auth-011",
          "control": "Publish OAuth 2.0 Protected Resource Metadata (RFC 9728) on every HTTP MCP server that uses OAuth",
          "rationale": "MCP authorization requires it so clients can discover the authorization server. List authorization_servers, and advertise the document through the WWW-Authenticate resource_metadata parameter or /.well-known/oauth-protected-resource.",
          "tags": [
            "authorization",
            "oauth",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-012",
          "control": "Accept only access tokens issued for this MCP server as the audience",
          "rationale": "A token minted for another service must not work here. The MCP spec requires servers to validate the audience and reject any other token.",
          "tags": [
            "authorization",
            "tokens",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-013",
          "control": "Never pass a client's access token through to upstream APIs",
          "rationale": "Token passthrough is prohibited by the MCP spec. It bypasses upstream audience checks and turns the server into a confused deputy. Obtain a separate token for each upstream call.",
          "tags": [
            "authorization",
            "tokens",
            "confused-deputy",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-014",
          "control": "Send the RFC 8707 resource parameter in authorization and token requests",
          "rationale": "Clients must name the MCP server's canonical URI so the authorization server can bind the token to that audience, whether or not the server supports the parameter.",
          "tags": [
            "authorization",
            "oauth",
            "client",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-015",
          "control": "Require PKCE with the S256 method, and refuse authorization servers that do not advertise it",
          "rationale": "MCP clients must use PKCE. If code_challenge_methods_supported is missing from the authorization server metadata, the client must not proceed.",
          "tags": [
            "authorization",
            "oauth",
            "client",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-016",
          "control": "Register clients with Client ID Metadata Documents or pre-registration, and validate redirect URIs exactly",
          "rationale": "Dynamic Client Registration is deprecated as of MCP spec 2026-07-28. Redirect URIs must be localhost or HTTPS and must match registered values exactly.",
          "tags": [
            "authorization",
            "oauth",
            "registration",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-017",
          "control": "Return required scopes in the WWW-Authenticate challenge, and use 403 insufficient_scope for step-up",
          "rationale": "Clients treat the challenged scopes as authoritative, so a precise challenge keeps grants narrow instead of requesting every scope up front.",
          "tags": [
            "authorization",
            "least-privilege",
            "mcp-spec"
          ]
        },
        {
          "id": "auth-018",
          "control": "Check the issuer before using authorization server metadata or an authorization code",
          "rationale": "The issuer in the metadata must match the URL used to fetch it, and clients must apply the RFC 9207 iss check. Both stop mix-up attacks between authorization servers.",
          "tags": [
            "authorization",
            "oauth",
            "client",
            "mcp-spec"
          ]
        }
      ]
    },
    {
      "id": "input-validation",
      "name": "Input Validation & Prompt Injection",
      "audience": [
        "engineers"
      ],
      "risk_level": "critical",
      "items": [
        {
          "id": "input-001",
          "control": "Validate structure and type of all tool inputs before execution",
          "rationale": "Unvalidated inputs can cause unexpected behavior or injection.",
          "tags": [
            "input-validation",
            "baseline"
          ]
        },
        {
          "id": "input-002",
          "control": "Define and enforce input schemas for every tool",
          "rationale": "Schema enforcement rejects malformed and adversarial inputs early.",
          "tags": [
            "input-validation",
            "schemas"
          ]
        },
        {
          "id": "input-003",
          "control": "Set maximum length limits on all string inputs",
          "rationale": "Unbounded inputs can cause resource exhaustion.",
          "tags": [
            "input-validation",
            "resource-limits"
          ]
        },
        {
          "id": "input-004",
          "control": "Separate data from instructions at the tool layer",
          "rationale": "Mixing data and instructions enables prompt injection via retrieved content.",
          "tags": [
            "prompt-injection",
            "architecture"
          ]
        },
        {
          "id": "input-005",
          "control": "Validate output of tool results before passing back to model",
          "rationale": "Tool responses can contain adversarial instructions targeting further agent calls.",
          "tags": [
            "prompt-injection",
            "output-validation"
          ]
        },
        {
          "id": "input-006",
          "control": "Require explicit confirmation for irreversible actions",
          "rationale": "Reduces impact of successful prompt injection or misconfiguration.",
          "tags": [
            "prompt-injection",
            "safeguards"
          ]
        }
      ]
    },
    {
      "id": "tool-exposure",
      "name": "Tool & Resource Exposure",
      "audience": [
        "engineers",
        "architects"
      ],
      "risk_level": "high",
      "items": [
        {
          "id": "tool-001",
          "control": "Maintain a formal inventory of all exposed tools",
          "rationale": "You cannot secure what you haven't catalogued.",
          "tags": [
            "inventory",
            "governance"
          ]
        },
        {
          "id": "tool-002",
          "control": "Review tool inventory before every deployment",
          "rationale": "Development tools frequently carry over-permissive access into production.",
          "tags": [
            "inventory",
            "deployment"
          ]
        },
        {
          "id": "tool-003",
          "control": "Expose only tools an agent needs for its current task",
          "rationale": "Minimal tool surface limits blast radius of compromised sessions.",
          "tags": [
            "least-privilege",
            "exposure"
          ]
        },
        {
          "id": "tool-004",
          "control": "Use separate MCP instances for different agent roles",
          "rationale": "Mixing admin and read-only tools in one server enables privilege escalation.",
          "tags": [
            "segmentation",
            "architecture"
          ]
        },
        {
          "id": "tool-005",
          "control": "Apply egress filtering on all external API calls from MCP tools",
          "rationale": "Unfiltered egress enables data exfiltration via tool-initiated calls.",
          "tags": [
            "egress",
            "exfiltration"
          ]
        }
      ]
    },
    {
      "id": "api-session",
      "name": "API Session Security",
      "audience": [
        "platform-engineers"
      ],
      "risk_level": "high",
      "items": [
        {
          "id": "session-001",
          "control": "Assign a unique session ID to every agent interaction",
          "rationale": "Session IDs are required to trace multi-step tool chains.",
          "tags": [
            "sessions",
            "traceability"
          ]
        },
        {
          "id": "session-002",
          "control": "Enforce session timeouts",
          "rationale": "Indefinite sessions increase the window for token abuse.",
          "tags": [
            "sessions",
            "timeout"
          ]
        },
        {
          "id": "session-003",
          "control": "Apply rate limits per session and per tool",
          "rationale": "Server-level rate limiting alone is insufficient for agentic workloads.",
          "tags": [
            "rate-limiting"
          ]
        },
        {
          "id": "session-004",
          "control": "Alert on sustained high-frequency tool calls from a single session",
          "rationale": "Indicates runaway loops, abuse, or compromised agents.",
          "tags": [
            "rate-limiting",
            "monitoring"
          ]
        },
        {
          "id": "session-005",
          "control": "Log full request context for every tool call",
          "rationale": "Incomplete logs prevent incident reconstruction.",
          "tags": [
            "logging",
            "sessions"
          ]
        }
      ]
    },
    {
      "id": "monitoring",
      "name": "Monitoring & Observability",
      "audience": [
        "secops",
        "platform-engineers"
      ],
      "risk_level": "high",
      "items": [
        {
          "id": "mon-001",
          "control": "Log every tool invocation with session ID, agent identity, tool name, and timestamp",
          "rationale": "Minimum required data for incident response.",
          "tags": [
            "logging",
            "baseline"
          ]
        },
        {
          "id": "mon-002",
          "control": "Log tool chain sequences within sessions",
          "rationale": "Unusual chains are a primary detection signal for agentic threats.",
          "tags": [
            "logging",
            "detection"
          ]
        },
        {
          "id": "mon-003",
          "control": "Centralize MCP logs into SIEM or log aggregation platform",
          "rationale": "Siloed logs on MCP servers are inaccessible during a server compromise.",
          "tags": [
            "logging",
            "infrastructure"
          ]
        },
        {
          "id": "mon-004",
          "control": "Retain logs for a minimum of 90 days",
          "rationale": "Agentic attack chains can take time to fully manifest.",
          "tags": [
            "logging",
            "retention"
          ]
        },
        {
          "id": "mon-005",
          "control": "Build a behavioral baseline before relying on anomaly alerts",
          "rationale": "Without a baseline, anomaly detection generates excessive false positives.",
          "tags": [
            "detection",
            "baseline"
          ]
        }
      ]
    },
    {
      "id": "network",
      "name": "Network & Infrastructure",
      "audience": [
        "platform-engineers",
        "infrastructure"
      ],
      "risk_level": "high",
      "items": [
        {
          "id": "net-001",
          "control": "Do not expose MCP servers directly to the public internet",
          "rationale": "Public exposure dramatically increases attack surface.",
          "tags": [
            "network",
            "baseline"
          ]
        },
        {
          "id": "net-002",
          "control": "Place MCP servers behind a gateway or reverse proxy",
          "rationale": "Centralizes TLS termination, auth enforcement, and rate limiting.",
          "tags": [
            "network",
            "architecture"
          ]
        },
        {
          "id": "net-003",
          "control": "Apply egress filtering to MCP servers",
          "rationale": "Prevents arbitrary outbound connections and exfiltration.",
          "tags": [
            "network",
            "egress"
          ]
        },
        {
          "id": "net-004",
          "control": "Run MCP server processes as a non-root, dedicated service account",
          "rationale": "Limits blast radius of OS-level compromise.",
          "tags": [
            "hardening",
            "infrastructure"
          ]
        },
        {
          "id": "net-005",
          "control": "Keep MCP server dependencies up to date",
          "rationale": "Supply chain vulnerabilities in libraries are a real and exploited risk.",
          "tags": [
            "supply-chain",
            "patching"
          ]
        },
        {
          "id": "net-006",
          "control": "Use TLS 1.3 for all MCP traffic, and TLS 1.2 only where a peer cannot support 1.3",
          "rationale": "TLS 1.3 removes legacy cipher suites and is required for hybrid post-quantum key exchange (see pq-002).",
          "tags": [
            "network",
            "tls"
          ]
        }
      ]
    },
    {
      "id": "post-quantum",
      "name": "Post-Quantum Readiness",
      "audience": [
        "security-engineers",
        "platform-engineers",
        "architects"
      ],
      "risk_level": "medium",
      "items": [
        {
          "id": "pq-001",
          "control": "Keep a cryptographic inventory of each MCP deployment",
          "rationale": "List the TLS key exchange, certificate chains, token-signing keys and key material in agent configs. A CycloneDX 1.6 cryptographic bill of materials (CBOM) is a portable format for it. Migration planning starts from this list.",
          "tags": [
            "post-quantum",
            "inventory",
            "cbom"
          ]
        },
        {
          "id": "pq-002",
          "control": "Offer hybrid post-quantum key exchange on MCP endpoints",
          "rationale": "Traffic recorded today can be decrypted later once a capable quantum computer exists (harvest now, decrypt later). Hybrid TLS 1.3 groups such as X25519MLKEM768 combine ML-KEM with a classical curve.",
          "tags": [
            "post-quantum",
            "tls",
            "network"
          ]
        },
        {
          "id": "pq-003",
          "control": "Inventory token-signing algorithms in the authorization server's JWKS and plan a move to ML-DSA or composite signatures",
          "rationale": "Classical signature algorithms are quantum-vulnerable. A future attacker with a capable quantum computer could forge tokens signed with them.",
          "tags": [
            "post-quantum",
            "tokens",
            "authorization"
          ]
        },
        {
          "id": "pq-004",
          "control": "Reject unsafe token algorithms, including alg none and RSA keys below 2048 bits",
          "rationale": "These are unsafe today, independent of any quantum timeline.",
          "tags": [
            "tokens",
            "authorization",
            "baseline"
          ]
        },
        {
          "id": "pq-005",
          "control": "Keep private keys out of agent and MCP config files and the .env files they reference",
          "rationale": "Keys in config files are copied, committed and shared along with the config.",
          "tags": [
            "secrets",
            "configuration"
          ]
        },
        {
          "id": "pq-006",
          "control": "Inventory the cryptography inside release artifacts before they ship",
          "rationale": "Certificates, keys and crypto libraries bundled into an MCP server's release determine what it can negotiate. Gate releases on deprecated algorithms.",
          "tags": [
            "post-quantum",
            "supply-chain",
            "cbom"
          ]
        },
        {
          "id": "pq-007",
          "control": "Set migration dates against NIST IR 8547, and CNSA 2.0 where it applies",
          "rationale": "NIST IR 8547 deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035. NSA CNSA 2.0 sets its own requirements for national security systems.",
          "tags": [
            "post-quantum",
            "governance"
          ]
        }
      ]
    }
  ],
  "quick_start": [
    "Do not expose an MCP server to the public internet without authentication: OAuth as the MCP authorization spec defines it, or mTLS between servers.",
    "Accept only access tokens issued for this MCP server, and never pass them through to upstream APIs.",
    "Scope every tool to the minimum necessary permissions.",
    "Validate and sanitize all inputs before they reach tool execution.",
    "Log every tool invocation with the originating session context.",
    "Set rate limits on the MCP server and on the downstream APIs it calls.",
    "Separate read and write tools, and require explicit approval for write operations in sensitive contexts.",
    "Rotate MCP server credentials on a defined schedule, and keep private keys out of agent configs.",
    "Watch for unusual tool chains, high-frequency calls and off-hours access.",
    "Review the tool inventory and the cryptographic inventory before every production deployment."
  ],
  "tooling": [
    {
      "name": "Sentinel",
      "url": "https://github.com/Helixar-AI/sentinel",
      "license": "Apache-2.0",
      "description": "Open-source scanner for MCP server configs, live endpoints and Docker containers. Its opt-in post-quantum module (preview) inventories TLS key exchange, certificate chains, token-signing keys and key material in agent configs, and writes a CycloneDX 1.6 CBOM.",
      "covers": [
        "auth",
        "input-validation",
        "api-session",
        "post-quantum"
      ]
    },
    {
      "name": "ReleaseGuard",
      "url": "https://github.com/Helixar-AI/ReleaseGuard",
      "license": "Apache-2.0",
      "description": "Open-source artifact security engine for build output. Version 0.2.0 adds an opt-in CycloneDX 1.6 CBOM and post-quantum readiness findings for the certificates, keys, crypto libraries and Go build information inside a release.",
      "covers": [
        "post-quantum"
      ]
    }
  ]
}
