MCP NMAP Server
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.
This server cannot be installed
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 Connectors
Scan GitHub-hosted AI skills for vulnerabilities: prompt injection, malware, OWASP LLM Top 10.
AI pentesting: run scans, triage vulnerabilities, review PRs, manage schedules and assets.
Scan any website for AI agent readiness, payment protocols, and discovery endpoints
Exposes FEDLIN's public security scanners as agent-callable tools over Streamable HTTP.
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.318MIT
- FlicenseBqualityDmaintenanceExposes 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.116-
- FlicenseNot gradedqualityDmaintenanceProvides 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.-
- FlicenseNot gradedqualityDmaintenanceEnables 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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