awesome-mcp-security
π₯π Awesome MCP (Model Context Protocol) Security π₯οΈ
π€ Show your support - give a βοΈ if you liked the content Everything you need to know about Model Context Protocol (MCP) security. See also: Tools: Security Considerations (server MUSTs and client SHOULDs) and Authorization.
Summary extracted from the README.
Awesome MCP Security Awesome
Everything you need to know about Model Context Protocol (MCP) security.
Table of Contents
π Security Considerations
A short summary of the official MCP specification, revision 2026-07-28. The specification is the source of truth.
[!WARNING] Tools represent arbitrary code execution. Tool descriptions and annotations are untrusted unless they come from a trusted server, and a human SHOULD always be able to deny a tool call.
Key principles (spec)
- User consent and control - users explicitly consent to data access and actions, and keep control over what is shared
- Data privacy - hosts get consent before exposing user data to servers and don't send it elsewhere without consent
- Tool safety - hosts get consent before invoking any tool, and users should understand what each tool does
Attacks covered by the official Security Best Practices
| Attack | In short |
|---|---|
| Confused deputy | MCP proxy servers to third-party APIs let malicious clients skip user consent |
| Token passthrough | a server accepts and forwards tokens that were not issued to it |
| SSRF | a malicious server makes the client request internal addresses or cloud metadata |
| State handle hijacking | guessed or leaked state handles (cart ID, workflow ID) passed as tool arguments |
| Local MCP server compromise | local servers run with direct access to the user's system |
| OAuth URL validation | malicious authorization URLs lead to XSS or RCE in the client |
| Mix-up attacks | a malicious authorization server tricks the client into sending it codes meant for another |
| Scope minimization | overly broad scopes increase the damage of a leaked token |
See also: Tools: Security Considerations (server MUSTs and client SHOULDs) and Authorization.
π Papers
- (2026-11) Per-Attack Blocking Hides Catalog Vulnerability: A Weakest-Link Analysis of Tool Manifests by Karthik Karunanithi
- (2026-05) A First Measurement Study on Authentication Security in Real-World Remote MCP Servers by Huijun Zhou, Xiaohan Zhang, Haozhe Zhang, Haoyang Zhang, Mi Zhang, Min Yang
- (2026-05) Can Model Internals Detect MCP Tool Poisoning That Text Analysis Cannot? by Wan Sheng Leung
- (2025-12) Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem
- (2025-10) A First Look at the Security Issues in the Model Context Protocol Ecosystem (DSN 2026) by Xiaofan Li, Xing Gao
- (2025-08) Systematic Analysis of MCP Security
- (2025-06) Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP Servers
- (2025-05) Beyond the Protocol: Unveiling Attack Vectors in the Model Context Protocol Ecosystem
- (2025-05) Enterprise-Grade Security for the Model Context Protocol (MCP): Frameworks and Mitigation Strategies
- (2025-04) Simplified and Secure MCP Gateways for Enterprise AI Integration by Ivo Brett
- (2025-04) MCP Guardian: A Security-First Layer for Safeguarding MCP-Based AI System by Sonu Kumar, Anubhav Girdhar, Ritesh Patil, Divyansh Tripathi
- (2025-04) MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits by Brandon Radosevich, John Halloran
- (2025-03) Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directions by Xinyi Hou, Yanjie Zhao, Shenao Wang, Haoyu Wang
πΊ Videos
- (13.06.2025) MCP Auth: The Future of AI Agent Security - by Arcade.dev
- (02.06.2025) Agentic Access: OAuth Isn't Enough | Zero Trust for AI Agents w/ Nick Taylor (Pomerium + MCP)
- (17.05.2025) A2A - MCP SECURITY Threats: Protect your AI Agents by Discover AI
- (06.05.2025) Making MCP Production Ready β Building MCP for Enterprise - by Arcade.dev
- (11.04.2025) This MCP Server Trick Can Steal Your API Keys by Prompt Engineering
- (09.04.2025) MCP Servers are Security Nightmares... by Better Stack
- (03.04.2025) MCP Security: Vetting Servers to Mitigate Tool Poisoning Attacks by JeredBlue
- (03.04.2025) Model Context Protocol (MCP) Security Concerns by Cory Wolff
π Articles, X threads and Blog Posts
2026
- (23.11.2026) MCP server read-only modes, tested: what got through on fifty-three servers by VariantGate
- (23.11.2026) State of MCP security: what we saw grading 69,322 servers by Amir Nardimon
- (06.11.2026) NetSuite SuiteAgents and MCP: audit what your AI can write before it posts by Agents Finance - Classifies the 25 NetSuite MCP Standard Tools by read, attach, write and execute risk for finance teams, with a step-by-step audit before a live connector and a Python policy checker tested on fixtures
- (05.11.2026) MCP Explained: Break it - interactive walkthrough of MCP attacks (tool poisoning, rug pulls, tool shadowing, token passthrough, prompt injection, elicitation phishing), each played message by message, with and without a gateway by Runlayer
- (24.10.2026) More than one public MCP server in four can do something nobody can undo: a scan of 800 registry servers by Rinsoft
- (10.10.2026) Listing Swap: 1,075 MCP servers now point somewhere new under the same name by Redthread
- (06.10.2026) Fix MCP OAuth 401 and 403 Errors by Praesidia Team
- (19.09.2026) State of MCP server security, September 2026 by mcp.market
- (15.09.2026) How to find every MCP server on your developer laptops by Brian McManus
- (13.09.2026) SSRF to live cloud-credential theft in an MCP fetch server, start to finish by Dishant Desle
- (13.09.2026) DNS rebinding across HTTP-transport MCP servers by Dishant Desle
- (28.08.2026) We Probed Every Remote Server in the Official MCP Registry. Here's What 140,284 Tool Descriptions Actually Say by Fetchgate
- (24.08.2026) The MCP server you approved is not the one running tomorrow by Santosh Kumar Puppala
- (17.07.2026) Asana's MCP server let one company's AI agent see another company's projects by RAGBleed
- (06.07.2026) Kong Konnect's MCP server could be tricked into acting as a confused deputy by RAGBleed
- (14.06.2026) I tried to break my own MCP prompt-injection detector. One class of attack walks straight through by Aleksandr Churilov
- (27.04.2026) Nine Seconds to Wipe a Database by Geoffrey Mattson
2025
- (24.09.2025) ChatGPT MCP Connector Security Vulnerability: Zero-Click Data Exfiltration by Repello AI
- (14.08.2025) MCP Security Best Practices: How to Prevent Risks and Threats by Dmitriy Redkin
- (08.08.2025) we hijacked cursor via jira mcp by submitting a support ticket by @mbrg0
- (28.07.2025) We built the security layer MCP always needed by Cliff Smith
- (24.07.2025) Security Advisory: Anthropic's Slack MCP Server Vulnerable to Data Exfiltration by WUNDERWUZZI
- (11.07.2025) Securing Model Context Protocol (MCP) with Teleport and AWS
- (10.07.2025) Critical mcp-remote Vulnerability Enables Remote Code Execution, Impacting 437,000+ Downloads by Ravie Lakshmanan
- (10.07.2025) Zero-Click Calendar Exfiltration Reveals MCP Security Risk in 11.ai by Repello AI
- (06.07.2025) Combine the Supabase MCP with another MCP that provides exposure to untrusted tokens and a way to send data back out again by Simon Willison
- (05.07.2025) Neon official remote MCP exploited!
- (19.06.2025) Cato CTRL Threat Research: PoC Attack Targeting Atlassian's Model Context Protocol (MCP) Introduces New "Living Off AI" Risk
- (18.06.2025) Asana Discloses Data Exposure Bug in MCP Server by Greg Pollock
- (18.06.2025) The Model Context Protocol Security Reality Check
- (30.05.2025) Poison everywhere: No output from your MCP server is safe by Simcha Kosman
- (26.05.2025) GitHub MCP Exploited: Accessing private repositories via MCP by invariantlabs.ai
- (20.05.2025) Securing the Model Context Protocol: Building a safer agentic future on Windows
- (16.05.2025) MCP Security in 2025
- (02.05.2025) Security Best Practices by Model Context Protocol
- (30.04.2025) Insecure credential storage plagues MCP by Keith Hoodlet
- (29.04.2025) Deceiving users with ANSI terminal codes in MCP by Keith Hoodlet
- (23.04.2025) How MCP servers can steal your conversation history by Keith Hoodlet
- (21.04.2025) Jumping the line: How MCP servers can attack you before you ever use them
- (19.04.2025) OAuth's Role in MCP Security by Gunnar Peterson
- (17.04.2025) Research Briefing: MCP Security by Rami McCarthy
- (17.04.2025) MCP Not Safe - Reasons and Ideas by Phala Network
- (17.04.2025) MCP Tool Poisoning to RCE by Repello AI
- (15.04.2025) MCP can be a security nightmare for building AI Agents by Rakesh Gohel
- (15.04.2025) Model Context Protocol (MCP) aka Multiple Cybersecurity Perils by Chris Martorella
- (14.04.2025) Model Context Protocol (MCP) Security by Evren
- (14.04.2025) Security Analysis: Potential AI Agent Hijacking via MCP and A2A Protocol Insights by Nicky
- (14.04.2025) MCP Security Checklist: A Security Guide for the AI Tool Ecosystem by slowmist
- (13.04.2025) Everything Wrong with MCP by Shrivu Shankar
- (11.04.2025) Diving Into the MCP Authorization Specification by Allen Zhou
- (11.04.2025) Vulnerability Discovered in Base-MCP: Hackers Can Redirect Transactions on Cursor AI and Anthropic Claude by @jlwhoo7
- (09.04.2025) Here's an example of remote MCP malware that steals your .env secrets in @cursor_ai by Maciej Pulikowski
- (09.04.2025) Old Security Rakes In New MCP Yards by Den Delimarsky
- (09.04.2025) Model Context Protocol has prompt injection security problems by Simon Willisons
- (07.04.2025) (RFC) Update the Authorization specification for MCP servers #284 by localden
- (07.04.2025) Improving The Model Context Protocol Authorization Spec - One RFC At A Time by Den Delimarsky
- (07.04.2025) WhatsApp MCP Exploited: Exfiltrating your message history via MCP by invariantlabs.ai
- (07.04.2025) An Introduction to MCP and Authorization by auth0
- (06.04.2025) The βSβ in MCP Stands for Security by Elena Cross
- (04.04.2025) MCP Servers are not safe! by Mehul Gupta
- (03.04.2025) Let's fix OAuth in MCP by Aaron Parecki
- (03.04.2025) MCP Resource Poisoning Prompt Injection Attacks by Bernard IQ
- (01.04.2025) MCP Security Notification: Tool Poisoning Attacks by invariantlabs.ai
- (31.03.2025) The MCP Authorization Spec Is... a Mess for Enterprise by Christian Posta
- (31.03.2025) Securing the Model Context Protocol by Alex Rosenzweig
- (29.03.2025) MCP Servers: The New Security Nightmare by equixly.com
- (23.03.2025) AI Model Context Protocol (MCP) and Security by Cisco
- (18.03.2025) New Vulnerability in GitHub Copilot and Cursor: How Hackers Can Weaponize Code Agents by Ziv Karliner
- (13.02.2025) Chained commands (&&) bypass yolo mode βdenylistβ in Cursor by lukemmtt
π§βπ Tools and code
Scanners & auditing
- (14.09.2026) Small Print by Nick Costa - Nightly record of what MCP servers and agent skills tell your agent: every version hashed and diffed, changes graded by published rules. Free plan and MIT-licensed CLI.
- (09.07.2026) mcp-observatory by ClearFrame - Test, secure, and monitor MCP servers before agents depend on them. Attack simulation, schema drift detection, health scoring, SARIF integration.
- (09.03.2026) g0 by Guard0 - Control layer for AI agents: scans MCP server configurations with 1,200+ security rules, detects rug-pull attacks via tool description hash pinning, discovers shadow AI services and tests agents against adversarial payloads, with findings mapped to the OWASP Agentic Top 10.
- (05.03.2026) Aguara - Static security scanner for AI agent skills and MCP servers by garagon - 173 detection rules across 13 categories (prompt injection, credential leaks, data exfiltration, supply chain). 4 analysis layers, offline, no LLM. CLI, GitHub Action, Docker.
- Secure MCP - Security auditing tool to detect MCP vulnerabilities and misconfigurations by makalin
- AI-Infra-Guard by Tencent Zhuque Lab - MCP Server Security Analysis Tool - a comprehensive, intelligent, easy-to-use, and lightweight AI Infrastructure Vulnerability Assessment.
- MCP Watch - Vulnerability scanner for MCP servers
- mcpscan.ai
- MCP-Shield β Detect security issues in MCP servers by riseandignite
- Snyk Agent Scan (formerly mcp-scan by invariantlabs-ai)
Gateways & proxies
- (01.11.2026) Loopthink - Hosted MCP gateway that puts SSO, per-group tool permissions, field-level masking and a per-call audit log in front of business systems and APIs.
- (10.09.2026) Speakeasy AI Control Plane - Control plane for connecting, securing, controlling and observing agents, MCP servers and skills.
- (02.09.2026) Bifrost by Maxim AI - Open-source AI gateway with MCP gateway support, guardrails and provider routing for model and tool traffic.
- (21.08.2026) SealGate - Auth, RBAC and data-loss-prevention gateway for MCP and agentic AI.
- (16.06.2026) PolicyLayer - Hosted gateway that applies deny-by-default policy to every MCP tool call before it runs (allow, deny, rate-limit or require approval), with argument-level rules and a per-call audit log.
- (18.03.2026) MCPProxy - Open-source MCP gateway with BM25 tool discovery, quarantine-based security, Docker isolation, and OAuth 2.1 by smart-mcp-proxy
- MCP Guardian - Manage your LLM's access to MCP servers by eqtylab
- MCP Gateway - Acts as intermediary between LLMs and other MCP servers by lasso-security
- MCPAuth: Gateway Authentication for Secure Enterprise MCP Integrations by Oide Brett
- ToolHive - making MCP servers easy and secure by Stacklok
Runtime protection & audit
- (12.11.2026) Kontext by Kontext Security - Runtime authorization and risk monitoring for AI agents, including MCP tool calls intercepted at supported pre-tool-use hooks. Source.
- (26.10.2026) AEGIS by Escape Studio - Windows-first desktop agent monitoring with opt-in validating MCP gateways for explicitly configured stdio, loopback HTTP and pinned HTTPS routes; MIT, beta.
- (24.10.2026) AgentWarden by Praesi Technologies - Desktop app for macOS and Windows that monitors AI coding agents, flags indirect prompt injection from MCP tool results, and scans installed skills, plugins and MCP servers for malicious instructions. Closed source, free tier.
- (21.10.2026) Preloop - Open-source AI agent control plane: every MCP tool and model call allowed, denied or held for a human, budgeted and recorded by preloop
- (18.08.2026) Doberman by DobermanCore - Runtime authorization layer that gates every MCP tool call (pass / approve / block) before it executes. Fails closed, with TOTP step-up and a redacted audit log.
- (11.07.2026) HOL Guard by hashgraph-online - Local-first security harness that intercepts tool calls in AI coding agents before execution, scans MCP servers, skills and plugins for supply-chain threats, and blocks data exfiltration via pre-tool hooks.
- (11.06.2026) HELM AI Kernel by Mindburn-Labs - Tamper-evident audit layer for MCP: produces a signed receipt for every ALLOW/DENY/ESCALATE tool decision and bundles them into offline-verifiable evidence packs.
- (29.05.2026) Prismor (formerly Immunity Agent) - self-hosted runtime control plane for AI agents that observes, holds for approval or blocks risky tool calls (secret leaks, prompt injection, supply chain), by PrismorSec
- (16.03.2026) ShellWard by jnMetaCode - AI agent security middleware with 8-layer defense: prompt injection detection, DLP-style data flow tracking, dangerous command blocking, PII detection. Works as SDK or OpenClaw plugin. Zero dependencies.
- (20.02.2026) Cordum by cordum-io - Agent orchestration platform with a native MCP server: a safety kernel evaluates policies before any tool executes, output scanning checks tool results for PII, secrets and prompt injection, and every tool call and policy decision is audited.
- MCP Defender - Blocks malicious MCP traffic
- MCP-Dandan - Desktop security tool for real-time monitoring, threat detection, and control of MCP tool invocations.
Testing & vulnerable labs
- (27.07.2026) Humanbound by humanbound - Open source adversarial testing engine, SDK, and CLI for AI agents. Runs live-endpoint, multi-turn, and tool-abuse tests against your agent, then converts findings into deployable guardrail rules.
- MCP Tool Poisoning Experiments by invariantlabs-ai
- Damn Vulnerable MCP Server by harishsg993010
πΎ MCP Security Servers
- (13.11.2026) OffSeq Threat Radar MCP Server by OffSeq - Hosted MCP server for vulnerability intelligence: CVE lookups with CISA KEV, EPSS and public exploits, SBOM scans and IOC checks.
- (25.10.2026) Safeguard MCP Server by Safeguard-sh - Remote MCP server (OAuth) for the Safeguard supply chain security platform: look up projects, SBOMs, findings and vulnerabilities with EPSS and CISA KEV context.
- (11.10.2026) jshookmcp by vmoranv - MCP workspace for instrumenting a real browser (CDP control of a signed-in Chrome session, network interception with TLS keylog, DOM/network hooks, bundle deobfuscation) so agents can observe actual behavior during security research and reverse engineering.
- (09.10.2026) REA by morluto - Local CLI and MCP server for agent-assisted reverse engineering of native binaries, JavaScript/Electron apps, and .NET assemblies.
- (08.07.2026) PolicyLayer Registry by PolicyLayer - MCP server that checks an MCP server's identity, risk grade and per-tool risk classification before you install it. Free single-server lookups.
- Nuclei MCP Integration by addcontent - Provides a standardized MCP interface for Nuclei, a fast and customizable vulnerabilty scanner, for performing scans and managing vulnerablity assessments
- Illumio MCP Server by alexgoller - MCP server for interacting with Illumio Policy Compute Engine for Illumio workload management, label operations, traffic flow analysis
- RunReveal MCP Server - MCP server for RunReveal to query security logs at scale
- Semgrep MCP Server - MCP server for using Semgrep to scan code for vulnerabilities, now shipped in the main
semgrepbinary - GhidraMCP by LaurieWired - MCP server for automatic reverse engineering in Ghidra, a software reverse engineering platform.
- IDA-Pro-MCP by mrexodia - MCP server for reverse engineering in IDA Pro, a tool for analyzing software and binary files.
- binaryninja-mcp by MCPPhalanx - MCP server for Binary Ninja, a binary analysis tool.
- Burp Suite MCP by PortSwigger - MCP integration for web security testing in Burp Suite, a security testing tool for web applications.
- BloodHound-MCP-AI by MorDavid - MCP server integration for BloodHound, a tool for analyzing Active Directory domains.
- RoadRecon MCP by atomicchonk - MCP server for Azure AD data analysis with ROADRecon, a tool for mapping Azure Active Directory environments.
- Jadx MCP Plugin by mobilehackinglab - Jadx plugin for MCP server access via HTTP, used for decompiling Android apps.
- VirusTotal MCP Server by w0h1v - MCP server for querying the VirusTotal API, a service for analyzing files and URLs for viruses.
- Shodan MCP Server by w0h1v - MCP server for querying the Shodan API, which provides data on Internet-connected devices.
- DNStwist MCP Server by w0h1v - MCP server for DNS fuzzing with dnstwist, a tool for detecting phishing and domain takeover threats.
- Maigret MCP Server by w0h1v - MCP server for OSINT data collection with Maigret, a tool that gathers user info from various sources.
- pomerium/pomerium - Identity-aware proxy with native support for Zero Trust access, now including MCP support.
- Example implementations:
- urldna/mcp - urlDNA MCP server for phishing detection and URL analysis through advanced contextual scanning.
- Google Security Operations and Threat Intelligence MCP Server - Access Google's security products and services
- AWS Security MCP - Access AWS security tools by groovyBugify
π» Other Useful Resources
- (13.11.2026) MCP & LLM Gateways vendor map by Prompt Security - Map of 100+ companies building MCP gateways, MCP scanners and tool-call controls for AI agents, with each one's capabilities, deployment model and funding.
- (24.09.2026) Orca AI Incident Archive by Continuum-AI-Corp - Open database of real-world AI agent security incidents, each with a primary source, including MCP-related ones.
- (20.07.2026) MCP Drift Report by Gautam Bharti - Measurements of silent tool-contract changes across remote servers in the official MCP registry, with a citable Edition v1 dataset.
- Awesome Cybersecurity Agentic AI - Collection of resources on using AI agents for security use cases
- (31.03.2025) I gave Claude root access to my server... Model Context Protocol explained by Fireship
- (17.03.2025) Model Context Protocol (MCP): The Key To Agentic AI by Jack Herrington
- Official MCP Specification (latest)
- Model Context Protocol - Official MCP website
π Contributing
ππ First off, thanks for taking the time to contribute! ππ
Please read and follow our contributing guide
Thanks! π¦
π€ Show your support
βοΈ Disclaimer
This project can only be used for educational purposes. Using this resource against target systems without prior permission is illegal, and any damages from misuse of this software will not be the responsibility of the author.