Skip to main content
Glama

MCP NMAP Server

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
                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
                9
                MIT License
                • Linux
              • -
                security
                A
                license
                -
                quality
                A module that enables AI assistants to access and utilize common penetration testing and security tools like Nmap and Metasploit through a simple interface.
                Last updated -
                2
                GPL 3.0
              • -
                security
                F
                license
                -
                quality
                An agent-based network scanning system that uses Nmap for network discovery and leverages DeepSeek API to analyze scan results for security vulnerabilities and recommendations.
                Last updated -
              • -
                security
                A
                license
                -
                quality
                Provides AI assistants with direct access to Wireshark network analysis capabilities, enabling AI-powered network troubleshooting, packet analysis, and network monitoring through a secure interface.
                Last updated -
                3
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              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/PhialsBasement/nmap-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server