Security Testing MCP Server
Provides penetration testing tools including nmap, nikto, sqlmap, wpscan, and exploit database searches for educational and authorized security testing purposes using Kali Linux tools.
README
Security Testing MCP Server
A Model Context Protocol (MCP) server that provides penetration testing tools for educational purposes using Kali Linux security tools.
Purpose
This MCP server provides a comprehensive interface for AI assistants to perform security testing using popular Kali Linux tools for educational and authorized testing purposes.
Features
Current Implementation
nmap_scan- Network port scanning and service detection with multiple scan typesnikto_scan- Web vulnerability scanning with plugin supportsqlmap_test- SQL injection testing with advanced optionswpscan_test- WordPress vulnerability scanning with API token supportdirb_scan- Directory and file brute forcing with custom wordlistssearchsploit_lookup- Exploit database searching with filtersping_sweep- Network discovery and connectivity testingcustom_scan- Execute custom commands with whitelisted tools
Quick Start
-
Clone and Build:
git clone https://github.com/avi686/security-mcp-server.git cd security-mcp-server docker build -t security-mcp-server . -
Set up MCP Configuration:
mkdir -p ~/.docker/mcp/catalogs -
Create custom catalog (
~/.docker/mcp/catalogs/custom.yaml):version: 2 name: custom displayName: Custom MCP Servers registry: security: description: "Comprehensive penetration testing tools for educational and authorized use" title: "Security Testing Tools" type: server dateAdded: "2025-09-24T00:00:00Z" image: security-mcp-server:latest ref: "" tools: - name: nmap_scan - name: nikto_scan - name: sqlmap_test - name: wpscan_test - name: dirb_scan - name: searchsploit_lookup - name: ping_sweep - name: custom_scan metadata: category: security tags: - penetration-testing - security - kali-linux - educational license: MIT owner: local -
Update registry (
~/.docker/mcp/registry.yaml):registry: security: ref: "" -
Configure Claude Desktop (add to your config):
{ "mcpServers": { "mcp-toolkit-gateway": { "command": "docker", "args": [ "run", "-i", "--rm", "--network=host", "-v", "/var/run/docker.sock:/var/run/docker.sock", "-v", "/path/to/your/home/.docker/mcp:/mcp", "docker/mcp-gateway", "--catalog=/mcp/catalogs/docker-mcp.yaml", "--catalog=/mcp/catalogs/custom.yaml", "--config=/mcp/config.yaml", "--registry=/mcp/registry.yaml", "--tools-config=/mcp/tools.yaml", "--transport=stdio" ] } } } -
Restart Claude Desktop
Usage Examples
In Claude Desktop, you can ask:
- "Scan example.com for open ports using nmap"
- "Check https://testsite.com for web vulnerabilities with nikto"
- "Search for Apache exploits in the database"
- "Test WordPress site at https://myblog.com for vulnerabilities"
- "Brute force directories on https://target.com with custom extensions"
- "Perform SQL injection testing on https://webapp.com/page?id=1"
Environment Variables
SCAN_TIMEOUT: Maximum scan time in seconds (default: 300)DEFAULT_INTENSITY: Nmap timing template T1-T5 (default: T3)DIRB_WORDLIST: Path to directory wordlist (default: common.txt)MAX_THREADS: Maximum thread count for tools (default: 10)
Security and Legal Notice
IMPORTANT: This tool is for educational purposes and authorized testing only. Users are responsible for:
- Obtaining proper authorization before scanning any systems
- Complying with local laws and regulations
- Using tools ethically and responsibly
- Not using for malicious purposes
The developers assume no responsibility for misuse of these tools.
License
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.