Metasploit MCP Server
@xcape-inc
关于 Metasploit MCP Server
Metasploit MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"chatsploit-mpc": {
"command": "uv",
"args": [
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Metasploit MCP Server?
It is an MCP server that provides a standardized interface for AI models to interact with the Metasploit Framework through Python. It enables module management, module execution, and session management via Metasploit's RPC (MSFRPC).
How to use Metasploit MCP Server?
Install Python 3.12+, Metasploit with MSFRPC enabled, and uv. Clone the repository and run uv pip install -r requirements.txt. Create a .env file with RPC credentials and host/port settings. Start msfrpcd with the appropriate password, then launch the server using uv --directory <path> run python main.py --role viewer.
Key features of Metasploit MCP Server
- List, search, and get details on Metasploit modules
- Execute modules with custom options
- Get and set module options
- List and inspect active sessions
- Write data to and read data from sessions
- Run commands in sessions
Use cases of Metasploit MCP Server
- AI-assisted penetration testing using Metasploit modules
- Automated module selection and execution
- Remote session management via AI agents
- Integration of Metasploit into LLM-driven security workflows
FAQ from Metasploit MCP Server
What are the runtime requirements?
Python 3.12 or higher, the Metasploit Framework with MSFRPC enabled, and the uv package installer.
How do I configure the connection to Metasploit?
Create a .env file with MSF_RPC_USERNAME, MSF_RPC_PASSWORD, MSF_RPC_HOST, MSF_RPC_PORT, and MSF_RPC_SSL.
What transport does the server use to communicate with Metasploit?
It uses Metasploit's RPC (MSFRPC) over TCP, defaulting to localhost port 55553 with optional SSL.
Is authentication required?
Yes, the RPC username and password must be set in the .env file and match those used when starting msfrpcd.
其他 分类下的更多 MCP 服务器
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
评论