Skip to main content
Glama

Shodan MCP Server

쇼단-mcp-서버

Shodan API에 대한 액세스를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이를 통해 Shodan에 기기, 취약점 등에 대한 정보를 프로그래밍 방식으로 쿼리할 수 있습니다.

목차

소개

shodan-mcp-server 모델 컨텍스트 프로토콜(MCP)을 사용하여 Shodan 인텔리전스를 애플리케이션에 간편하게 통합할 수 있는 방법을 제공합니다. Shodan에서 다양한 유형의 정보를 쿼리할 수 있는 여러 도구를 제공합니다.

특징

호스트 정보: IP 주소에 대한 자세한 정보를 얻으세요. 검색: Shodan의 검색 구문을 사용하여 데이터베이스를 쿼리하세요. DNS 조회: 도메인 이름을 확인하세요. CVE 정보: 특정 CVE 취약성에 대한 세부 정보를 얻으세요.

설치

  1. 저장소를 복제합니다.지엑스피1
  2. 종속성을 설치합니다.
    npm install
  3. 프로젝트를 빌드하세요:
    npm run build

구성

  1. Shodan 에서 Shodan API 키를 받으세요.
  2. MCP 설정 파일(예: ~/.config/mcp/settings.json )에서 MCP 서버를 구성합니다.
    { "mcpServers": { "shodan": { "command": "node", "args": ["/path/to/shodan-mcp-server/build/index.js"], "env": { "SHODAN_API_KEY": "<your_shodan_api_key>" }, "disabled": false, "autoApprove": [] } } }
    <your_shodan_api_key> 실제 Shodan API 키로 바꾸고, /path/to/shodan-mcp-server shodan-mcp-server 디렉터리의 실제 경로로 바꾸세요.

Node.js와 함께 사용

@modelcontextprotocol/sdk 패키지를 사용하면 Node.js에서 MCP 서버를 사용할 수 있습니다.

  1. MCP SDK를 설치하세요:
    npm install @modelcontextprotocol/sdk
  2. use_mcp_tool 함수를 사용하여 도구를 호출합니다.
    import { use_mcp_tool } from '@modelcontextprotocol/sdk'; async function getIpInfo(ip) { const result = await use_mcp_tool('shodan', 'get_ip_info', { ip }); console.log(result); } getIpInfo('8.8.8.8');

API 문서

get_ip_info

특정 IP 주소에 대한 정보를 얻습니다.

입력:

{ "ip": "string" // The IP address to query }

산출:

IP 주소에 대한 정보를 담고 있는 JSON 객체입니다.

dns_lookup

주어진 도메인에 대한 DNS 조회를 수행합니다.

입력:

{ "hostname": "string" // The hostname to resolve }

산출:

확인된 IP 주소를 포함하는 JSON 객체입니다.

취약점 가져오기

특정 IP 주소와 관련된 취약점을 추적합니다.

입력:

{ "ip": "string" // The IP address to query for vulnerabilities }

산출:

IP 주소와 관련된 취약점 목록을 담고 있는 JSON 객체입니다.

cve_info

특정 CVE ID에 대한 정보를 검색합니다.

입력:

{ "cve": "string" // The CVE ID to query }

산출:

CVE ID에 대한 정보가 포함된 JSON 객체입니다.

찾다

Shodan에서 쿼리와 일치하는 기기를 검색하세요.

입력:

{ "query": "string" // The search query }

산출:

쿼리와 일치하는 장치 목록을 포함하는 JSON 개체입니다.

프로젝트 구조

shodan-mcp-server/ ├── .gitignore ├── package.json ├── README.md ├── tsconfig.json └── src/ ├── index.ts └── index.mts

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

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 서버입니다.

  1. 목차
    1. 소개
      1. 특징
        1. 설치
          1. 구성
            1. Node.js와 함께 사용
              1. API 문서
                1. get\_ip\_info
                2. dns\_lookup
                3. 취약점 가져오기
                4. cve\_info
                5. 찾다
              2. 프로젝트 구조
                1. 특허

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    MCP 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 -
                    7
                    663
                    18
                    JavaScript
                    MIT License
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A 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 -
                    645
                    1
                    Python
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A 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 -
                    1
                    TypeScript
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A 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 -
                    JavaScript
                    Apache 2.0
                    • Apple

                  View all related MCP servers

                  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/X3r0K/shodan-mcp-server'

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