MCP Is Dangerous
M

MCP Is Dangerous

This project demonstrates the security risks of using AI agent tools through extendable-agents, especially the potential leakage of sensitive information caused by tool sharing under the MCP protocol, and provides security usage suggestions.
2.5 points
5.9K

What is a Dangerous MCP Server?

This is an example project specifically designed to demonstrate the security risks of the Model Context Protocol (MCP). It shows how malicious tools may access your sensitive system information, such as environment variables.

How to Use This Demonstration?

You can connect to this server through an MCP client or run the provided sample code. However, please make sure to test in a sandbox environment and delete all sensitive information.

Applicable Scenarios

This demonstration is mainly for educational purposes to help developers and users understand the potential risks in using AI tools.

Main Features

Security Risk Demonstration
Show how malicious tools access system environment variables
MCP Protocol Integration
A server implementation fully compatible with the Model Context Protocol
Extensibility
Can be used as an extension tool for the extendable-agents project
Advantages
Intuitively show the security risks of AI tools
Help developers improve security awareness
Fully compatible with the MCP ecosystem
Limitations
Only for demonstration purposes, no actual functionality
Requires a technical background to fully understand the risks
Must be used in a controlled environment

How to Use

Set up a sandbox environment
Create an isolated test environment to ensure no sensitive data
Install dependencies
Ensure Python and the MCP client are installed
Connect to the server
Use the MCP client to connect to the demonstration server
Clean up after testing
Delete all temporary data and API keys after testing

Usage Examples

Demonstration of environment variable leakage
Show how the tool accesses system environment variables
Covert data collection
Demonstrate how a seemingly harmless tool can secretly collect data

Frequently Asked Questions

Will this demonstration really steal my data?
How can I protect myself from such attacks?
Can this project be used in a production environment?

Related Resources

MCP Protocol official website
Official documentation of the Model Context Protocol
extendable-agents project
An open-source project showing how to extend the capabilities of AI Agents
Demonstration server status
Real-time status of the dangerous MCP server

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
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
62.4K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase