Skip to main content
Glama

PrismSec 🔷

安全でモジュール化された、ペンテストツール用のMCPサーバー。

7つの業界標準セキュリティツール(nmap、nuclei、gobuster、subfinder、httpx、nikto、sqlmap)を13の登録済みMCPツールにラップ — Claude、Cursor、Copilot、およびMCP互換のAIエージェントですぐに使用できます。


特徴

機能

説明

shell=Trueを使用しない

すべてのサブプロセス呼び出しはasyncio.create_subprocess_execを使用 — シェルインジェクションなし

入力検証

ターゲット、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ツール

説明

nmap_port_scan

クイック/フル/サービス/ステルス/アグレッシブモードでのポートスキャン

nmap_service_detect

オープンポートでのサービス/バージョン検出

nmap_full_scan

全65535 TCPポートをスキャン

Nuclei — 脆弱性スキャン

MCPツール

説明

nuclei_vuln_scan

すべてのテンプレートを使用した完全な脆弱性スキャン

nuclei_severity_scan

重大度でフィルタリングされたスキャン(critical、highなど)

nuclei_template_scan

特定のテンプレートを使用したターゲットスキャン

Gobuster — ディレクトリ/DNSブルートフォース

MCPツール

説明

gobuster_directory

設定可能な拡張子を使用したディレクトリブルートフォース

gobuster_dns

DNSサブドメインブルートフォース

その他のツール

MCPツール

説明

subfinder_enumerate

パッシブサブドメイン列挙(crt.sh、VirusTotalなど)

httpx_probe

Webプロービング — 稼働検出、タイトル、テクノロジーフィンガープリンティング

nikto_web_scan

Webサーバー脆弱性スキャン

sqlmap_injection_test

SQLインジェクションの検出とテスト

メタ

MCPツール

説明

check_tools

インストールされているセキュリティツールを確認


使用方法

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.py

Cursor / 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

設定

環境変数

デフォルト

説明

LOG_LEVEL

INFO

ロギングレベル(DEBUG、INFO、WARNING、ERROR)


セキュリティに関する考慮事項

⚠️ 許可されたテストのみ。 所有しているシステム、または書面によるテスト許可を得たシステムに対してのみ使用してください。

  • ツールの出力には機密情報(IP、オープンポート、脆弱性)が含まれる場合があります

  • サーバーはデフォルトで127.0.0.1にバインドされます — 信頼できないネットワークに公開しないでください

  • 各ツールにはリソース枯渇を防ぐための設定可能なタイムアウトがあります


ライセンス

MIT


幅広いクライアント互換性のためにModel Context Protocol標準に基づいて構築されています。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

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

  • F
    license
    Not graded
    quality
    B
    maintenance
    An 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates 7 security tools (nmap, nuclei, dirsearch, sqlmap, hydra, Acunetix, Metasploit) via MCP protocol for AI-assisted penetration testing with enterprise-grade safety features.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    AI-powered Attack Surface Intelligence server that exposes industry-standard penetration testing tools via MCP, enabling AI agents to perform comprehensive security assessments.
    3
  • A
    license
    C
    quality
    C
    maintenance
    AI-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.
    31
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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