MCP Poisoning Poc
M

MCP Poisoning Poc

This project demonstrates MCP poisoning attacks against AI workflows, including verification of multiple attack scenarios such as code generation pollution and financial data leakage, for educational research purposes.
2.5 points
8.4K

What is the MCP Poisoning Attack PoC?

This is an educational demonstration project simulating vulnerabilities in the Model Context Protocol (MCP) server, showing potential security risks in real - world AI workflows. It helps researchers understand potential threats through simulated attack scenarios.

How to use this demonstration environment?

You need to run the simulated MCP server and the client agent simultaneously to observe the attack effects. The whole process is carried out in a controlled environment and will not affect real systems.

Applicable scenarios

Suitable for security researchers, AI system developers, and enterprise security teams for security awareness training and security protection scheme testing.

Main features

Simulation of multiple attack scenarios
Demonstrate 6 different MCP poisoning attack scenarios, including data leakage and system hijacking.
Stealth attack demonstration
Show stealth attack techniques where no abnormal signs will be displayed on the user interface.
Cross - system impact
Simulate how attacks spread between different tools and services.
Advantages
Comprehensively cover multiple MCP attack vectors
Allow security research without a real target system
The Apache 2.0 license allows free modification and use
Limitations
Only for educational purposes and cannot reflect all real threats
Require a Python environment to run
Do not include a demonstration of defense solutions

How to use

Install dependencies
Ensure that Python 3.8+ is installed on the system, and then install the required dependency packages.
Start the simulation server
Start the fake MCP server in a terminal window.
Run the agent simulation
Run the client agent in another terminal window to observe the attack effects.

Usage examples

Code review data leakage
Demonstrate how an attacker can steal code review content through a poisoned MCP server.
Meeting record theft
Show how the meeting summaries processed by the AI agent can be intercepted by a malicious server.

Frequently Asked Questions

Will this PoC pose a risk to my real system?
How to customize new attack scenarios?
Are there any restrictions on commercial use of this project?

Related resources

Full text of the Apache 2.0 license
The open - source license used in this project
MCP protocol specification
The official technical specification of the Model Context Protocol
AI security best practices
Security recommendations for preventing such attacks

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
5.9K
5 points
S
Shadcn Ui MCP Server
An MCP server that provides shadcn/ui component integration for AI workflows, supporting React, Svelte, and Vue frameworks. It includes functions for accessing component source code, examples, and metadata.
TypeScript
12.1K
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
6.7K
4.5 points
M
MCP Scan
MCP-Scan is a security scanning tool for MCP servers, used to detect common security vulnerabilities such as prompt injection, tool poisoning, and cross-domain escalation.
Python
14.6K
5 points
A
Agentic Radar
Agentic Radar is a security scanning tool for analyzing and assessing agentic systems, helping developers, researchers, and security experts understand the workflows of agentic systems and identify potential vulnerabilities.
Python
12.9K
5 points
M
MCP Server Weread
The WeRead MCP Server is a lightweight service that bridges WeRead data and AI clients, enabling in - depth interaction between reading notes and AI.
TypeScript
13.2K
4 points
M
MCP Youtube
Download YouTube subtitles via yt - dlp and connect to Claude.ai through the MCP protocol for video content analysis
TypeScript
11.0K
4 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.5K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.5K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.2K
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.8K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase