MCP ExplorerExplorer

Mcp Sec Scanner

@VulnSphereon 10 months ago
2 MIT
FreeCommunity
AI Systems
Used for detect the risk of the MCP/API ecosystem

Overview

What is Mcp Sec Scanner

mcp_sec_scanner is a tool designed to detect risks within the MCP/API ecosystem by analyzing both the service endpoints and the source code of MCP servers.

Use cases

Use cases include security assessments of MCP services, vulnerability scanning of source code, and ensuring compliance with security standards in software development.

How to use

To use mcp_sec_scanner, first scan the target IP range using masscan to identify open ports. Then, analyze the results for SSE format detection. Alternatively, use nmap scripts to check for ‘Content-Type: text/event-stream’. For source code analysis, collect server lists from mcpso/github, clone the repositories, and utilize LLM for unexpected behavior and vulnerability detection.

Key features

Key features include detection of SSE format in MCP services, source code collection and analysis, unexpected behavior detection, and security vulnerability identification.

Where to use

mcp_sec_scanner is applicable in cybersecurity, software development, and API management, particularly in environments where MCP services are utilized.

Content

For the security detection of MCP ecosystem software(WIP)

  1. online_service

The main purpose is to detect and analyze the SSE format of the MCP Service

Firstly, use masscan to scan the target IP range’s port and then analyze the returned results to detect whether there is an event: endpoint.

Or use nmap’s script to directly detect the ‘Content-Type: text/event-stream’.

Then use sse_tool.py to perform the actual test.

  1. source_code

The main purpose is to collect and analyze the source code of the MCP server

Firstly, collect the server list from the mcpso/github,
Then clone/pull all the source code

Finally, use LLM to analyze the source code
- Unexpected behavior detection
- Security vulnerability detection

  1. Middleware

  2. MCP Client

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers