MCP for Security - Python Version
This is a Python refactored version of the security tools MCP (Model Context Protocol) server collection, implemented using the FastMCP library.
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
This is a Python refactored version of the security tools MCP (Model Context Protocol) server collection, implemented using the FastMCP library.
一个为主流渗透测试工具打造的MCP服务器集合。 | A collection of Model Context Protocol servers for popular security tools like SQLMap, FFUF, NMAP, Masscan and more. Integrate security testing and penetration testing into AI workflows.
This project is a complete Python refactoring based on cyproxio/mcp-for-security JavaScript/TypeScript version. We thank cyproxio for open-sourcing this excellent security tools MCP server collection, which provides important contributions to the standardization of cybersecurity tools.
⚠️ Important Declaration:
Complete refactoring of 20 JavaScript version security tool MCP servers to Python version, maintaining:
mcp-for-security-python/
├── README.md # This file
├── sqlmap-mcp/ # SQL injection testing tool
├── assetfinder-mcp/ # Subdomain discovery tool
├── waybackurls-mcp/ # Historical URL discovery tool
├── crtsh-mcp/ # SSL certificate log query tool
├── shuffledns-mcp/ # DNS brute force tool
├── httpx-mcp/ # HTTP service detection tool
├── ffuf-mcp/ # Web fuzzing tool
├── nuclei-mcp/ # Vulnerability scanning tool
├── nmap-mcp/ # Network scanning tool
├── masscan-mcp/ # High-speed port scanning tool
├── alterx-mcp/ # Domain mutation generation tool
├── arjun-mcp/ # HTTP parameter discovery tool
├── katana-mcp/ # Web crawler tool
├── sslscan-mcp/ # SSL/TLS security scanning tool
├── http-headers-security-mcp/ # HTTP header security check tool
├── mobsf-mcp/ # Mobile app security analysis tool
├── scoutsuite-mcp/ # Cloud security audit tool
├── smuggler-mcp/ # HTTP request smuggling vulnerability detection
├── amass-mcp/ # Asset discovery and reconnaissance tool
└── wpsscan-mcp/ # WordPress security scanning tool
assetfinder-mcp - Subdomain discovery tool
waybackurls-mcp - Historical URL discovery tool
crtsh-mcp - SSL certificate log query tool
shuffledns-mcp - DNS brute force tool
alterx-mcp - Domain mutation generation tool
httpx-mcp - HTTP service detection tool
nmap-mcp - Network scanning tool
masscan-mcp - High-speed port scanning tool
nuclei-mcp - Vulnerability scanning tool
sslscan-mcp - SSL/TLS security scanning tool
ffuf-mcp - Web fuzzing tool
arjun-mcp - HTTP parameter discovery tool
sqlmap-mcp - SQL injection testing tool
smuggler-mcp - HTTP request smuggling vulnerability detection
wpsscan-mcp - WordPress security scanning tool
http-headers-security-mcp - HTTP header security check tool
mobsf-mcp - Mobile app security analysis tool
scoutsuite-mcp - Cloud security audit tool
amass-mcp - Network asset discovery tool
@mcp.tool() decorator@mcp.tool()
async def tool_name(target: str, args: List[str] = None) -> str:
cmd = [tool_command] + construct_args(target, args)
process = await asyncio.create_subprocess_exec(...)
stdout, _ = await process.communicate()
return process_output(stdout)
@mcp.tool()
async def api_tool(target: str) -> str:
async with aiohttp.ClientSession() as session:
async with session.get(api_url) as response:
data = await response.json()
return process_api_data(data)
@mcp.tool()
async def primary_function(...) -> str:
# Main functionality
@mcp.tool()
async def helper_function(...) -> str:
# Helper functionality (like getting configs, tags, etc.)
# Python environment
python >= 3.8
# Install FastMCP
pip install fastmcp>=2.0.0
# Install additional dependencies as needed
pip install aiohttp>=3.8.0 # For API-based tools
cd mcp-for-security-python/[tool-name]-mcp/
pip install -r requirements.txt
# For command line tools (most)
python server.py [tool-binary-path]
# For API tools (like mobsf-mcp)
python server.py [api-base-url] [api-key]
# For script tools (like smuggler-mcp)
python server.py [python-path] [script-path]
{
"mcpServers": {
"tool-name-mcp": {
"command": "python",
"args": ["/path/to/tool-mcp/server.py", "tool-binary"]
}
}
}
#!/usr/bin/env python3
"""
Tool MCP Server
Description of the tool functionality.
"""
import sys
import asyncio
from typing import List, Optional
from mcp.server.fastmcp import FastMCP
# Command line argument handling
if len(sys.argv) < 2:
print("Usage: python server.py <tool-binary>", file=sys.stderr)
sys.exit(1)
tool_command = sys.argv[1]
mcp = FastMCP("tool-name", version="1.0.0")
@mcp.tool()
async def tool_function(param: str, optional_param: Optional[List[str]] = None) -> str:
"""Tool function description"""
# Implementation
pass
if __name__ == "__main__":
mcp.run()
We welcome community contributions to improve this project:
⚠️ Important Security Warning
These tools are only for legitimate security testing and research purposes:
This project is released under the MIT license.
The original project cyproxio/mcp-for-security is also under MIT license.
Welcome to contribute code to improve the project:
Especially welcome:
For questions or suggestions, please contact through GitHub Issues.
MCP for Security - Python Version | Making security tools more accessible and powerful 🚀
一个为主流渗透测试工具打造的MCP服务器集合。 | A collection of Model Context Protocol servers for popular security tools like SQLMap, FFUF, NMAP, Masscan and more. Integrate security testing and penetration testing into A
ภาพรวม
一个为主流渗透测试工具打造的MCP服务器集合。 | A collection of Model Context Protocol servers for popular security tools like SQLMap, FFUF, NMAP, Masscan and more. Integrate security testing and penetration testing into AI workflows.
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
MCP For Security Python ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-27 一个为主流渗透测试工具打造的MCP服务器集合。 | A collection of Model Context Protocol servers for popular security tools like SQLMap, FFUF, NMAP, Masscan and more. Integrate security testing and penetration testing into AI workflows.