{"id":28323759,"url":"https://github.com/phialsbasement/nmap-mcp-server","last_synced_at":"2025-06-24T00:31:05.879Z","repository":{"id":271615088,"uuid":"914021382","full_name":"PhialsBasement/nmap-mcp-server","owner":"PhialsBasement","description":"A Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP","archived":false,"fork":false,"pushed_at":"2025-01-30T01:20:17.000Z","size":11,"stargazers_count":22,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T13:14:23.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhialsBasement.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T19:49:18.000Z","updated_at":"2025-06-13T00:35:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"1070ee68-797d-4835-9dfc-528015b8c3d7","html_url":"https://github.com/PhialsBasement/nmap-mcp-server","commit_stats":null,"previous_names":["phialsbasement/nmap-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhialsBasement/nmap-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhialsBasement%2Fnmap-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhialsBasement%2Fnmap-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhialsBasement%2Fnmap-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhialsBasement%2Fnmap-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhialsBasement","download_url":"https://codeload.github.com/PhialsBasement/nmap-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhialsBasement%2Fnmap-mcp-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261582547,"owners_count":23180610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-25T16:14:45.726Z","updated_at":"2025-06-24T00:31:05.870Z","avatar_url":"https://github.com/PhialsBasement.png","language":"JavaScript","funding_links":[],"categories":["Security"],"sub_categories":["How to Submit"],"readme":"# MCP NMAP Server\n\nA Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP. This server provides a standardized interface for AI models to interact with NMAP, making it possible to perform network analysis and security assessments through AI conversations.\n\n## Prerequisites\n\n- Windows operating system\n- Node.js (v18 or higher)\n- NMAP installed and accessible from Windows command line\n- TypeScript for development\n\n## Installation\n\nInstall the package globally using npm:\n\n```bash\nnpm install -g mcp-nmap-server\n```\n\nOr install locally in your project:\n\n```bash\nnpm install mcp-nmap-server\n```\n\n## Features\n\nThe server provides access to NMAP's core functionality through a simple interface. It supports quick scans, full port scans, version detection, and custom timing templates. The implementation uses NMAP's native command-line interface, ensuring reliability and consistency with standard NMAP operations.\n\n## Configuration with Claude Desktop\n\nTo use this server with Claude Desktop on Windows, you'll need to configure it in the Claude configuration file located at:\n`C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\Claude\\config.json`\n\nAdd the NMAP server to your configuration by adding it to the `mcpServers` section. Here's a complete example of a Claude Desktop configuration file:\n\n```json\n{\n    \"mcpServers\": {\n        \"nmap\": {\n            \"command\": \"node\",\n            \"args\": [\n                \"C:\\\\Users\\\\YOUR_USERNAME\\\\Downloads\\\\mcp-nmap-server\\\\dist\\\\index.js\"\n            ]\n        }\n    },\n    \"globalShortcut\": \"Ctrl+Q\"\n}\n```\n\nReplace `YOUR_USERNAME` with your Windows username and adjust the path to where you've installed the NMAP server.\n\n## Usage with AI\n\nOnce configured, AI assistants like Claude can use the server through the `run_nmap_scan` function. The function accepts the following parameters:\n\n```typescript\n{\n    target: string;            // Host or network to scan\n    ports?: string;           // Optional port specification (e.g., \"80,443\" or \"1-1000\")\n    scanType?: 'quick' | 'full' | 'version';  // Scan type (default: 'quick')\n    timing?: number;          // NMAP timing template 0-5 (default: 3)\n    additionalFlags?: string; // Optional additional NMAP flags\n}\n```\n\nExample conversation with Claude:\n\n```\nHuman: Can you scan localhost for open ports?\n\nClaude: I'll help you scan localhost using NMAP.\n\n\u003cruns nmap scan with parameters\u003e\ntarget: \"localhost\"\nscanType: \"quick\"\ntiming: 3\n```\n\n\n## License\n\nMIT License\n\n## Support\n\nFor issues, suggestions, or contributions, please visit the GitHub repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphialsbasement%2Fnmap-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphialsbasement%2Fnmap-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphialsbasement%2Fnmap-mcp-server/lists"}