Shodan MCP Server
@X3r0K
Shodan MCP Server について
This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you to programmatically query Shodan for information about devices, vulnerabilities, and more.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"Shodan-MCP-Server-Inspector": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}ツール
9Search for devices and services using Shodan's search syntax
`log4j country:US city:Atlanta`
List of matching devices with detailed information
Domain name to resolve
`example.com`
DNS records and related information
CVE identifier
`CVE-2021-44228`
Detailed vulnerability information
概要
What is Shodan MCP Server?
The Shodan MCP Server is a Model Context Protocol server that exposes Shodan’s internet scanning and reconnaissance capabilities through a standardized interface. It allows querying Shodan’s database of internet-connected devices, services, and vulnerabilities. It is intended for developers using AI models or tools that implement the MCP standard.
How to use Shodan MCP Server?
Clone the repository, install dependencies with npm install, create a .env.local file with SHODAN_API_KEY=your_api_key_here, build the server with npm run build, then start it with node build/index.js. The server exposes three tools: Search, DNS Lookup, and CVE Info, which can be tested via the MCP inspector.
Key features of Shodan MCP Server
- Search capabilities using advanced Shodan filters
- DNS lookup for domain resolution and records
- CVE information retrieval for vulnerabilities
- Get vulnerabilities related to an IP address
- Standardized interface via the MCP protocol
- Environment variable support for secure API key management
Use cases of Shodan MCP Server
- Search for internet-connected devices using Shodan’s search syntax
- Resolve domain names and get detailed DNS records
- Retrieve detailed information about specific CVEs
- Get vulnerabilities associated with a given IP address
FAQ from Shodan MCP Server
What are the prerequisites for using Shodan MCP Server?
Node.js (v14 or higher), npm (v6 or higher), and a Shodan API key are required.
How do I install and configure the server?
Clone the repository, run npm install, create a .env.local file with SHODAN_API_KEY=your_api_key_here, then build with npm run build and start with node build/index.js.
What tools does the server provide?
The server provides a Search tool for querying Shodan’s database, a DNS Lookup tool, and a CVE Info tool.
How do I protect my API key?
Never commit API keys to version control; use environment variables for sensitive data and rotate keys regularly.
What error handling is implemented?
The server handles invalid API keys, rate limiting, network issues, invalid queries, and server errors.
「開発者ツール」の他のコンテンツ
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
コメント