PrismSec
PrismSec 🔷
安全でモジュール化された、ペンテストツール用のMCPサーバー。
7つの業界標準セキュリティツール(nmap、nuclei、gobuster、subfinder、httpx、nikto、sqlmap)を13の登録済みMCPツールにラップ — Claude、Cursor、Copilot、およびMCP互換のAIエージェントですぐに使用できます。
特徴
機能 | 説明 |
shell=Trueを使用しない | すべてのサブプロセス呼び出しは |
入力検証 | ターゲット、URL、ポート、重大度 — すべて実行前に検証 |
インジェクション検出 | シェルのメタ文字( |
タイムアウト強制 | すべてのツールに設定可能なタイムアウト — ハングしたプロセスを自動終了 |
構造化出力 | 解析されたXML/JSON/テキスト → AIエージェント向けのクリーンなJSON |
モジュール式アーキテクチャ | ツールごとに1ファイル — 追加、保守、テストが容易 |
MCP SDK v2 | 最新のModel Context Protocol SDKに基づいて構築 |
Related MCP server: Kali Tools MCP Server
インストール
ソースから
git clone https://github.com/azmisyahrul/prismsec.git
cd prismsec
pip install -e .前提条件
必要なセキュリティツールをインストールします:
# Ubuntu/Debian
apt install nmap nikto sqlmap
# Go-based tools
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install github.com/OJ/gobuster/v3@latestツール(13登録済み)
Nmap — ポートスキャン
MCPツール | 説明 |
| クイック/フル/サービス/ステルス/アグレッシブモードでのポートスキャン |
| オープンポートでのサービス/バージョン検出 |
| 全65535 TCPポートをスキャン |
Nuclei — 脆弱性スキャン
MCPツール | 説明 |
| すべてのテンプレートを使用した完全な脆弱性スキャン |
| 重大度でフィルタリングされたスキャン(critical、highなど) |
| 特定のテンプレートを使用したターゲットスキャン |
Gobuster — ディレクトリ/DNSブルートフォース
MCPツール | 説明 |
| 設定可能な拡張子を使用したディレクトリブルートフォース |
| DNSサブドメインブルートフォース |
その他のツール
MCPツール | 説明 |
| パッシブサブドメイン列挙(crt.sh、VirusTotalなど) |
| Webプロービング — 稼働検出、タイトル、テクノロジーフィンガープリンティング |
| Webサーバー脆弱性スキャン |
| SQLインジェクションの検出とテスト |
メタ
MCPツール | 説明 |
| インストールされているセキュリティツールを確認 |
使用方法
Claude Desktop
claude_desktop_config.jsonに追加:
{
"mcpServers": {
"prismsec": {
"command": "python3",
"args": ["/path/to/prismsec/server.py"],
"env": {}
}
}
}Claude Code
claude mcp add prismsec python3 /path/to/prismsec/server.pyCursor / Windsurf / Cline
.cursor/mcp.jsonまたは同等のファイルに追加:
{
"mcpServers": {
"prismsec": {
"command": "python3",
"args": ["/path/to/prismsec/server.py"]
}
}
}SSEトランスポート(リモート)
# Server side
python3 server.py --transport sse --host 0.0.0.0 --port 8000
# Client config
{
"mcpServers": {
"prismsec": {
"url": "http://localhost:8000/sse"
}
}
}プロジェクト構造
prismsec/
├── server.py # MCP server entry point (13 tools)
├── pyproject.toml # Project config + dependencies
├── tools/ # Tool wrappers (one file per tool)
│ ├── base.py # ToolWrapper ABC + async runner
│ ├── nmap.py # Nmap — XML parsing, scan modes
│ ├── nuclei.py # Nuclei — JSON output parsing
│ ├── gobuster.py # Gobuster — text output parsing
│ ├── subfinder.py # Subfinder — subdomain enum
│ ├── httpx.py # Httpx — web probing
│ ├── nikto.py # Nikto — web vuln scan
│ └── sqlmap.py # Sqlmap — SQL injection testing
├── parsers/ # Output parsers
│ ├── xml_parser.py # nmap XML → structured JSON
│ ├── json_parser.py # JSON/JSONL parsing
│ └── text_parser.py # Gobuster, nikto, sqlmap text
└── utils/ # Shared utilities
├── runner.py # AsyncRunner with timeout
├── validator.py # Input validation + injection detection
├── rate_limiter.py # Token bucket rate limiter
└── logging.py # Structured logging設定
環境変数 | デフォルト | 説明 |
|
| ロギングレベル(DEBUG、INFO、WARNING、ERROR) |
セキュリティに関する考慮事項
⚠️ 許可されたテストのみ。 所有しているシステム、または書面によるテスト許可を得たシステムに対してのみ使用してください。
ツールの出力には機密情報(IP、オープンポート、脆弱性)が含まれる場合があります
サーバーはデフォルトで
127.0.0.1にバインドされます — 信頼できないネットワークに公開しないでください各ツールにはリソース枯渇を防ぐための設定可能なタイムアウトがあります
ライセンス
MIT
幅広いクライアント互換性のためにModel Context Protocol標準に基づいて構築されています。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that exposes over 20 standard penetration testing utilities, such as Nmap, SQLMap, and OWASP ZAP, as callable tools for AI agents. It enables natural language control over complex security workflows for automated and interactive penetration testing.91
- AlicenseNot gradedqualityDmaintenanceIntegrates 7 security tools (nmap, nuclei, dirsearch, sqlmap, hydra, Acunetix, Metasploit) via MCP protocol for AI-assisted penetration testing with enterprise-grade safety features.1MIT
- FlicenseNot gradedqualityDmaintenanceAI-powered Attack Surface Intelligence server that exposes industry-standard penetration testing tools via MCP, enabling AI agents to perform comprehensive security assessments.3
- AlicenseCqualityCmaintenanceAI-powered security scanning MCP server that exposes 25+ professional tools, enabling penetration testing and security assessments through natural language interaction with AI agents like Claude Desktop.31MIT
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/azmisyahrul/prismsec'
If you have feedback or need assistance with the MCP directory API, please join our Discord server