shodan-mcp-server
これは、Shodan APIへのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバーです。デバイスや脆弱性などの情報をプログラムでShodanに照会できます。
目次
導入
shodan-mcp-server
モデルコンテキストプロトコル(MCP)を使用して、Shodan のインテリジェンスをアプリケーションに簡単に統合する方法を提供します。Shodan に対して様々な種類の情報をクエリできるツールがいくつか用意されています。
特徴
ホスト情報: IP アドレスに関する詳細情報を取得します。検索: Shodan のデータベースを検索構文を使用してクエリします。DNS ルックアップ: ドメイン名を解決します。CVE 情報: 特定の CVE 脆弱性に関する詳細を取得します。
インストール
- リポジトリをクローンします。
- 依存関係をインストールします。
- プロジェクトをビルドします。
構成
- Shodanから Shodan API キーを取得します。
- MCP 設定ファイル (例:
~/.config/mcp/settings.json
) で MCP サーバーを構成します。<your_shodan_api_key>
を実際の Shodan API キーに置き換え、/path/to/shodan-mcp-server
shodan-mcp-server ディレクトリへの実際のパスに置き換えます。
Node.jsでの使用
@modelcontextprotocol/sdk
パッケージを使用して、Node.js で MCP サーバーを使用できます。
- MCP SDK をインストールします。
- ツールを呼び出すには、
use_mcp_tool
関数を使用します。
APIドキュメント
取得IP情報
特定の IP アドレスに関する情報を取得します。
入力:
出力:
IP アドレスに関する情報を含む JSON オブジェクト。
dns_lookup
指定されたドメインの DNS ルックアップを実行します。
入力:
出力:
解決された IP アドレスを含む JSON オブジェクト。
get_vulnerabilities
特定の IP アドレスに関連付けられた脆弱性を追跡します。
入力:
出力:
IP アドレスに関連付けられた脆弱性のリストを含む JSON オブジェクト。
cve_info
特定の CVE ID に関する情報を取得します。
入力:
出力:
CVE ID に関する情報を含む JSON オブジェクト。
検索
クエリに一致するデバイスを Shodan で検索します。
入力:
出力:
クエリに一致するデバイスのリストを含む JSON オブジェクト。
プロジェクト構造
ライセンス
マサチューセッツ工科大学
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Shodan API を介してインターネットに接続されたデバイス、IP アドレス、DNS データ、および CVE 脆弱性に関する情報を検索および取得するための MCP インターフェイスを提供する WebSocket サーバー。
Related MCP Servers
- -securityAlicense-qualityMCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.Last updated -766318JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that integrates with Cursor IDE, providing real-time communication, modern web dashboards, and extensible tools via SSE and WebSocket connections.Last updated -6451Python
- -securityFlicense-qualityA Model Context Protocol server that provides access to Shodan and VirusTotal APIs for cybersecurity analysis, enabling analysts to perform network intelligence operations including host lookups, vulnerability analysis, and threat intelligence gathering.Last updated -1TypeScript
- -securityAlicense-qualityA modified JetBrains MCP Server that adds WebSocket monitoring capabilities, allowing users to monitor MCP tool calls in real-time while maintaining compatibility with the original implementation.Last updated -JavaScriptApache 2.0