Skip to main content
Glama

MCP NMAP サーバー

鍛冶屋のバッジ

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

前提条件

  • Windows オペレーティング システム

  • Node.js (v18以上)

  • NMAP がインストールされ、Windows のコマンドラインからアクセス可能

  • 開発用のTypeScript

Related MCP server: Nmap MCP Server

インストール

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 リポジトリにアクセスしてください。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    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.
    3
    18
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Exposes Nmap network scanning capabilities through a Model Context Protocol (MCP) server, allowing users to perform various types of network scans including vulnerability assessment, service detection, and OS fingerprinting.
    11
    6
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents like Claude with secure, controlled access to network security tools like nmap for scanning private networks and lab environments. Features comprehensive safety controls, circuit breakers, and production-ready monitoring.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables network scanning and security assessment using Nmap through MCP, allowing AI assistants to perform port scans, service detection, and network reconnaissance on specified targets with configurable scan parameters.
    -

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

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