MCP Security Tools Server
An MCP server that integrates multiple security and reconnaissance tools (Nmap, Cariddi, ParamSpider, Metasploit, web scraping) for AI systems, enabling automated network scanning, API discovery, vulnerability testing, and remote access via ngrok.
README
MCP Security Tools Server
A comprehensive Model Context Protocol (MCP) server integrating multiple security and reconnaissance tools for AI systems (Claude, Grok, etc.).
π Table of Contents
- Overview
- Features
- Supported Tools
- Requirements
- Installation
- Quick Start
- Configuration
- Usage
- API Integration
- Troubleshooting
π― Overview
This MCP Server provides AI systems with access to enterprise-grade security testing tools. It enables:
- Automated Reconnaissance: Network scanning, API discovery, parameter enumeration
- API Security Testing: Endpoint discovery, parameter testing, vulnerability detection
- Web Application Security: JavaScript rendering, dynamic content extraction
- Exploitation & Testing: Metasploit framework integration for advanced testing
- Remote Access: Ngrok tunnel support for cloud-based AI systems
β¨ Features
β
Automated Setup - One-command installation with dependency checking
β
Virtual Environment - Isolated Python environment for security
β
Multiple Tools - 6 specialized security tools integrated
β
API Key Management - Secure handling of authentication tokens
β
Ngrok Integration - Remote access via secure tunnels
β
AI-Ready - MCP protocol support for Claude, Grok, and other AI systems
β
Comprehensive Logging - Detailed operation logs for debugging
β
Error Handling - Graceful error management and recovery
β
Skill Documentation - AI-friendly documentation (SKILL.md)
β
Cross-Platform - Linux, macOS, and Windows support
π οΈ Supported Tools
1. Nmap - Network Reconnaissance
- Port scanning
- Service detection
- OS fingerprinting
- Network mapping
2. Cariddi - API Endpoint Discovery
- Sensitive endpoint detection
- Secret pattern matching
- API documentation analysis
- Vulnerability scanning
3. ParamSpider - Parameter Discovery
- Historical parameter extraction
- Hidden parameter discovery
- Injection point identification
- Endpoint parameter mapping
4. Metasploit Framework - Exploitation
- Vulnerability exploitation
- Payload generation
- Post-exploitation activities
- Social engineering
5. Web Scraper (ScrapingAnt) - Content Extraction
- JavaScript rendering
- Dynamic content extraction
- Proxy rotation
- Anti-detection features
6. MSFConsole - Advanced Penetration Testing
- Interactive exploitation
- Custom module development
- Automation scripting
- Multi-stage exploitation
π¦ Requirements
System Requirements
- OS: Linux (Ubuntu 20.04+), macOS 10.14+, or Windows 10+
- Python: 3.8 or higher
- Memory: 2GB minimum (4GB recommended)
- Disk Space: 2GB for tools and dependencies
- Internet: Required for downloading tools and API access
Required Tools (System Level)
- Git - Version control
- Nmap - Network scanning
- Python 3.8+ - Programming language
Optional Tools
- Metasploit Framework - Advanced exploitation
- Docker - Containerized deployment
π Installation
Option 1: Automated Setup (Recommended)
Linux/macOS:
# Clone repository
git clone https://github.com/antonlarimaraton/mcp-accses.git
cd mcp-accses
# Make setup script executable
chmod +x setup.sh
# Run setup
./setup.sh
Windows (PowerShell):
# Clone repository
git clone https://github.com/antonlarimaraton/mcp-accses.git
cd mcp-accses
# Run Python setup
python3 setup.py
Option 2: Manual Setup
# Create virtual environment
python3 -m venv venv
# Activate virtual environment
# Linux/macOS:
source venv/bin/activate
# Windows:
venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Install system tools
# Ubuntu/Debian:
sudo apt-get install nmap metasploit-framework
# macOS:
brew install nmap
brew install metasploit
β‘ Quick Start
1. Initial Setup
# Run setup script
./setup.sh
# Or with Python
python3 setup.py
2. Configure API Keys
# Copy example environment file
cp .env.example .env
# Edit with your API keys
nano .env
Required API keys:
- ScrapingAnt: https://www.scrapingant.com/
- Ngrok: https://dashboard.ngrok.com/
3. Start MCP Server
# Activate virtual environment
source venv/bin/activate
# Run server
python3 mcp_server.py
# Check server status
curl http://localhost:8000/status
4. Enable Ngrok Tunnel (Optional)
# Start with remote access
python3 mcp_server.py --ngrok
# Get public URL from ngrok
# Share with AI systems for remote access
βοΈ Configuration
Environment Variables (.env)
# API Keys
SCRAPINGANT_API_KEY=your_key_here
NGROK_AUTHTOKEN=your_token_here
# Server Settings
MCP_SERVER_PORT=8000
MCP_SERVER_HOST=0.0.0.0
DEBUG_MODE=false
# Tool Configuration
ENABLE_NMAP=true
ENABLE_CARIDDI=true
ENABLE_PARAMSPIDER=true
ENABLE_METASPLOIT=true
ENABLE_WEB_SCRAPER=true
MCP Configuration (mcp_config.json)
{
"name": "Security Tools MCP Server",
"version": "1.0.0",
"tools": {
"nmap": {"enabled": true},
"cariddi": {"enabled": true},
"paramspider": {"enabled": true},
"metasploit": {"enabled": true},
"web_scraper": {"enabled": true}
}
}
Ngrok Configuration (ngrok_config.json)
{
"authtoken": "your_ngrok_token",
"region": "ap",
"log_level": "info"
}
π Usage
Using with Claude (via MCP)
# Example: Scan for vulnerabilities
curl -X POST http://localhost:8000/tools/nmap \
-H "Content-Type: application/json" \
-d '{"target": "192.168.1.1", "args": "-sV"}'
Using with Grok or Other AI Systems
// JavaScript example
const response = await fetch('http://localhost:8000/tools/cariddi', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer your_api_key'
},
body: JSON.stringify({
url: 'https://target.com'
})
});
Direct Tool Usage
# Activate environment
source venv/bin/activate
# Nmap
nmap -sV target.com
# Cariddi
cariddi -u https://target.com
# ParamSpider
python3 tools/paramspider/paramspider.py -d target.com
# Web Scraper
python3 -c "from mcp_server import MCPServer; \
server = MCPServer(); \
result = server.scrape_with_api('https://target.com')"
π API Integration
Endpoints
GET /status
GET /health
POST /tools/nmap
POST /tools/cariddi
POST /tools/paramspider
POST /tools/metasploit
POST /tools/scrape
GET /config
Response Format
{
"status": "success",
"tool": "nmap",
"timestamp": "2026-01-01T12:00:00Z",
"data": {
"results": [...],
"count": 42
},
"error": null
}
π Security Considerations
β οΈ Important Security Notes:
- Authorization Only - Use only on targets you own or have written permission to test
- Legal Compliance - Ensure compliance with local laws and regulations
- API Keys - Never commit API keys to version control
- Rate Limiting - Implement rate limiting to avoid service disruption
- Logging - Enable comprehensive logging for audit trails
- Network - Use VPN for remote operations
- Credentials - Rotate API keys regularly
Best Practices
# Use .env for sensitive data
export $(cat .env | xargs)
# Enable debug logging
export DEBUG_MODE=true
# Run in isolated environment
source venv/bin/activate
# Monitor tool execution
tail -f setup.log
π Monitoring
Check Server Status
# Health check
curl http://localhost:8000/health
# Tool status
curl http://localhost:8000/status
# View logs
tail -f setup.log
Performance Metrics
# Monitor resource usage
watch -n 1 'ps aux | grep mcp_server'
# Check port usage
netstat -tulpn | grep 8000
π Troubleshooting
Common Issues
1. "nmap not found"
# Ubuntu/Debian
sudo apt-get install nmap
# macOS
brew install nmap
# Windows
# Download from https://nmap.org/download.html
2. "API key invalid"
# Check .env file
cat .env | grep API_KEY
# Update with correct key
nano .env
3. "Permission denied"
# Run with appropriate permissions
sudo python3 mcp_server.py
# Or fix file permissions
chmod +x mcp_server.py
4. "Module not found"
# Activate virtual environment
source venv/bin/activate
# Reinstall dependencies
pip install -r requirements.txt
5. "Port already in use"
# Change server port
export MCP_SERVER_PORT=8001
# Or kill process on port 8000
lsof -ti:8000 | xargs kill -9
Debug Mode
# Enable debug logging
export MCP_DEBUG=1
export DEBUG_MODE=true
export LOG_LEVEL=DEBUG
# Run server with debug
python3 mcp_server.py --debug
# View detailed logs
tail -n 100 setup.log | grep ERROR
Log Files
# Check setup log
cat setup.log
# Watch real-time logs
tail -f setup.log
# Search for errors
grep ERROR setup.log
# Count occurrences
grep -c ERROR setup.log
π Additional Resources
Documentation
- SKILL.md - AI integration guide
- Requirements.txt - Dependencies list
- .env.example - Configuration template
Tool Documentation
External Links
- GitHub: https://github.com/antonlarimaraton/mcp-accses
- Issues: https://github.com/antonlarimaraton/mcp-accses/issues
π€ Contributing
Contributions welcome! Please:
- Fork repository
- Create feature branch
- Commit changes
- Push to branch
- Create Pull Request
π License
MIT License - See LICENSE file for details
βοΈ Legal Notice
This tool is provided for authorized security testing only. Unauthorized access to computer systems is illegal. Users are responsible for compliance with all applicable laws and regulations.
π Support
For issues and questions:
- Check Troubleshooting section
- Review Documentation
- Check GitHub Issues
- Contact maintainers
π Checklist for First-Time Use
- [ ] Clone repository
- [ ] Run setup script
- [ ] Configure API keys (.env)
- [ ] Install system tools
- [ ] Test individual tools
- [ ] Start MCP server
- [ ] Verify connectivity
- [ ] Setup Ngrok (optional)
- [ ] Test with AI system
- [ ] Review logs
πΊοΈ Project Status
| Component | Status | Notes |
|---|---|---|
| Setup Script | β Ready | Automated installation |
| Nmap Integration | β Ready | Full support |
| Cariddi Integration | β Ready | API discovery |
| ParamSpider Integration | β Ready | Parameter enumeration |
| Metasploit Integration | β Ready | Exploitation framework |
| Web Scraper | β Ready | JavaScript rendering |
| Ngrok Support | β Ready | Remote access |
| MCP Protocol | β Ready | AI integration |
| Documentation | β Complete | SKILL.md included |
Last Updated: 2026-01-01
Version: 1.0.0
Maintainer: Security Tools Team
Ready to start? Run ./setup.sh or python3 setup.py now! π
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.