MCP NMAP Server

MIT License
11
3

MCP NMAP サーバー

AIアシスタントがNMAPを使用してネットワークスキャン操作を実行できるようにするモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、AIモデルがNMAPと対話するための標準化されたインターフェースを提供し、AIとの対話を通じてネットワーク分析とセキュリティ評価を実行できるようにします。

前提条件

  • Windows オペレーティング システム
  • Node.js (v18以上)
  • NMAP がインストールされ、Windows のコマンドラインからアクセス可能
  • 開発用のTypeScript

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の NMAP サーバーを自動的にインストールするには:

npx -y @smithery/cli install mcp-nmap-server --client claude

手動インストール

npm を使用してパッケージをグローバルにインストールします。

npm install -g mcp-nmap-server

または、プロジェクトにローカルにインストールします。

npm install mcp-nmap-server

特徴

このサーバーは、シンプルなインターフェースを通じてNMAPのコア機能へのアクセスを提供します。クイックスキャン、フルポートスキャン、バージョン検出、カスタムタイミングテンプレートをサポートしています。実装にはNMAPのネイティブコマンドラインインターフェースが採用されており、標準的なNMAP操作との信頼性と一貫性を確保しています。

Claude Desktop による構成

Windows 上の Claude Desktop でこのサーバーを使用するには、次の場所にある Claude 構成ファイルで構成する必要があります: C:\Users\YOUR_USERNAME\AppData\Roaming\Claude\config.json

NMAPサーバーをmcpServersセクションに追加して設定に追加します。Claude Desktopの設定ファイルの完全な例を以下に示します。

{ "mcpServers": { "nmap": { "command": "node", "args": [ "C:\\Users\\YOUR_USERNAME\\Downloads\\mcp-nmap-server\\dist\\index.js" ] } }, "globalShortcut": "Ctrl+Q" }

YOUR_USERNAME Windows ユーザー名に置き換え、NMAP サーバーをインストールした場所へのパスを調整します。

AIとの使用

設定が完了すると、ClaudeのようなAIアシスタントはrun_nmap_scan関数を介してサーバーを使用できるようになります。この関数は以下のパラメータを受け入れます。

{ target: string; // Host or network to scan ports?: string; // Optional port specification (e.g., "80,443" or "1-1000") scanType?: 'quick' | 'full' | 'version'; // Scan type (default: 'quick') timing?: number; // NMAP timing template 0-5 (default: 3) additionalFlags?: string; // Optional additional NMAP flags }

クロードとの会話の例:

Human: Can you scan localhost for open ports? Claude: I'll help you scan localhost using NMAP. <runs nmap scan with parameters> target: "localhost" scanType: "quick" timing: 3

ライセンス

MITライセンス

サポート

問題、提案、貢献については、GitHub リポジトリにアクセスしてください。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI アシスタントが NMAP を使用してネットワーク スキャン操作を実行できるようにし、AI 会話を通じてネットワーク分析とセキュリティ評価のための標準化されたインターフェースを提供します。

  1. 前提条件
    1. インストール
      1. Smithery経由でインストール
      2. 手動インストール
    2. 特徴
      1. Claude Desktop による構成
        1. AIとの使用
          1. ライセンス
            1. サポート

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Provides access to Shodan API functionality, enabling AI assistants to query information about internet-connected devices for cybersecurity research and threat intelligence.
                Last updated -
                5
                1
                JavaScript
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Control Protocol server that provides access to nmap network scanning functionality, allowing users to run customizable scans, store results, and analyze network security using AI prompts.
                Last updated -
                3
                2
                Python
                MIT License
                • Linux
              • -
                security
                F
                license
                -
                quality
                An integration that enables AI assistants to interact with network data through a standardized protocol, providing AI-ready tools and interfaces for network automation and management.
                Last updated -
                2
                Python
              • -
                security
                A
                license
                -
                quality
                A lightweight, extensible cybersecurity toolkit that connects AI assistants to security tools through the Model Context Protocol (MCP), enabling AI-assisted security research, scanning, and analysis.
                Last updated -
                3
                Python
                MIT License

              View all related MCP servers

              ID: 4yj1if5lxy