Skip to main content
Glama
pentool-mcp-server
by DrXOps

英語 · ロシア語 (RU)

🧠 pentool-mcp-server

Pentool 向け MCP サーバー — Web ペネトレーションテストのためのローカル AI アシスタント

PyPI version Python License: AGPL-3.0 Install: uv Open in GitHub

あらゆる MCP クライアントに AI 機能をもたらす、自己完結型の stdio JSON-RPC 2.0 サーバー。特に Pentool 向けです(BYO-LLM: チェックの選択、WAF バイパス、非自明なエンドポイントの発見)。uv で 1 コマンドでインストールできます。


なぜ別パッケージなのか

MCP は、LLM モデルとツールを接続するためのオープンプロトコルです。pentool-mcp-server は Pentool の MCP レイヤーを再利用可能な PyPI パッケージとしてカプセル化します:ローカル接続(stdio)、ネットワーク不要、ポート不要、数秒でインストールでき、重い依存関係もありません。

Related MCP server: pentestMCP

🔗 Pentool 向けに設計

このサーバーは Pentool の MCP コンポーネントです。プロフェッショナルな Web セキュリティテスト端末(Burp 互換プロキシ、スキャナー、スパイダー、イントルーダー — すべて TUI 内で完結)であり、Pentool の AI を支えます:

  • 🎯 特定のターゲットに適した スキャンチェックの選択;

  • 🛡 WAF バイパス / ペイロードの提案;

  • 🕷 スパイダークロール中に 非自明なエンドポイントを発見。

フルスタックを試すには: uv tool install \"pentool[ai]\" → pentool ai setup → pentool。

⚡ クイックスタート (uv)

# Install uv (if not present): https://docs.astral.sh/uv/
curl -LsSf https://astral.sh/uv/install.sh | sh

# Standalone — just the MCP server
uv tool install pentool-mcp-server
pentool-mcp-server --version

# Or together with Pentool and its AI extras
uv tool install "pentool[ai]"

ヘルスチェック (stdio):

echo '{"jsonrpc":"2.0","id":1,"method":"ping"}' | pentool-mcp-server
# → {"jsonrpc": "2.0", "id": 1, "result": {"status": "ok"}}

uv は標準のインストールパスです — 分離された環境で、まさに Pentool 自体がインストールされる方法と同じです。サーバーをシステム Python の外に保ちます。

🚀 VPS / コンテナへのデプロイ

サーバーは ポートを開かず、ローカルサブプロセスとして実行されるため、どのホストでも安全です。uv を使えばシステム Python の外に留まります:

uv tool install pentool-mcp-server

完全なユーザーガイド — docs/GUIDE.md。ロシア語版 — README.ru。

🧩 MCP ツール

ツール

説明

initialize

MCP プロトコルのハンドシェイク

tools/list

利用可能なツールの一覧表示

tools/call generate

タスクに対する LLM 回答を生成 (task + payload)

tools/call health

準備状態の確認(モデルがインストールされているか)

tools/call configure

GGUF モデルのパスを指定

ping

プロセスの生存確認

🔒 セキュリティ

  • デフォルトではネットワークなし。 pentool-mcp-server はローカルプロセス内の stdio(stdin → stdout)のみで待ち受けます。外部アクセスは不可能です — 他のプロセスからも、別のホストからも。

  • 認証なしで TCP/0.0.0.0 に公開しないでください。 外向きにネットワークポートで実行すると、stdin/ポートに書き込める全員が tools/call generate を利用できます(リソース使用 + ターゲットデータの LLM への送信)。MCP には 組み込みの認証がありません — 127.0.0.1 にバインドし、ファイアウォールでゲートしてください。

  • ターゲットのプライバシー。 データ(URL、ペイロード)がホストを離れるのは、外部 LLM プロバイダーが接続されている場合のみです。ローカルの GGUF モデルでは、トラフィックはマシン内に留まります。

詳細 — docs/GUIDE.md。

🗺 ロードマップ

  • stdio JSON-RPC 2.0 サーバー (initialize / tools/list / tools/call / ping)

  • generate、health、configure ツール

  • model.py 内の実際の LLM ランナー (llama-cpp-python)

  • HMAC 認証付きのオプション TCP モード

📄 ライセンス

AGPL-3.0 — Pentool と同じライセンスです。


サポート / バグ報告: issues · Pentool 向けに設計 · ユーザーガイド

Available Tools

3 tools
configureC

Принять параметры конфигурации сервера (напр. путь модели).

Inputs: model.

generateB

Сгенерировать ответ LLM по задаче. payload — строка запроса (данные цели), model — путь к GGUF-файлу модели (необязательно). При отсутствии модели вернёт ошибку setup required.

Inputs: task (required), payload (required), model.

healthB

Проверка готовности: вернёт статус, установлена ли модель.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: 'generate' for LLM inference, 'health' for readiness checking, and 'configure' for setting parameters. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tool names are simple, lowercase verbs that accurately describe their action ('generate', 'health', 'configure'). The pattern is uniform and predictable.

    Tool Count4/5

    With 3 tools, the count is appropriate for a minimal MCP server focused on LLM inference. It could potentially benefit from a status tool or a list-models tool, but the current set is sufficient for its core purpose.

    Completeness3/5

    The tool surface covers basic lifecycle: configure (setup), health (readiness), and generate (infer). However, there is no tool for cancelling generation, listing available models, or inspecting current configuration, which are notable gaps for a production server.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      C
      maintenance
      A Model Context Protocol server that integrates essential penetration testing tools (Nmap, Gobuster, Nikto, John the Ripper) into a unified natural language interface, allowing security professionals to execute and chain multiple tools through conversational commands.
      9
      133 npm
      150
      AGPL 3.0
    • F
      license
      Not graded
      quality
      C
      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.
      123
      -