Shodan-MCP-Server
쇼단 MCP 서버
표준화된 인터페이스를 통해 Shodan의 인터넷 스캐닝 기능에 대한 액세스를 제공하는 MCP(Model Context Protocol) 서버입니다.
개요
이 서버는 Shodan의 강력한 인터넷 스캐닝 및 정찰 기능을 제공하기 위해 모델 컨텍스트 프로토콜(Model Context Protocol)을 구현합니다. 또한, Shodan의 인터넷 연결 기기, 서비스 및 취약점 데이터베이스를 쿼리하기 위한 표준화된 인터페이스를 제공합니다.
Related MCP server: ADEO CTI MCP Server
특징
검색 기능 : 고급 검색 필터를 사용하여 Shodan 데이터베이스 쿼리
DNS 조회 : 도메인 이름을 확인하고 자세한 DNS 정보를 얻으세요
CVE 정보 : 일반적인 취약점 및 노출에 대한 자세한 정보를 얻으세요
취약점 정보 얻기 : IP 주소와 관련된 취약점에 대한 자세한 정보를 얻으세요
표준화된 인터페이스 : 일관된 통신을 위해 MCP 프로토콜을 사용합니다.
환경 변수 지원 : 환경 변수를 통한 안전한 API 키 관리
필수 조건
Node.js(v14 이상)
npm(v6 이상)
Shodan API 키
설치
저장소를 복제합니다.
지엑스피1
종속성 설치:
npm install루트 디렉토리에
.env.local파일을 만들고 Shodan API 키를 추가합니다.SHODAN_API_KEY=your_api_key_here
용법
서버 시작
서버를 빌드하세요:
npm run build서버를 시작합니다:
node build/index.js
사용 가능한 도구
검색 도구
쿼리: Shodan의 검색 구문을 사용하여 장치 및 서비스 검색
예:
log4j country:US city:Atlanta반환: 자세한 정보가 포함된 일치하는 장치 목록
DNS 조회 도구
쿼리: 확인할 도메인 이름
예:
example.com반환: DNS 레코드 및 관련 정보
CVE 정보 도구
쿼리: CVE 식별자
예:
CVE-2021-44228반환: 자세한 취약점 정보
예제 쿼리
// Search for Log4j vulnerable systems in the US
{
"query": "log4j country:US"
}
// DNS lookup for a domain
{
"query": "example.com"
}
// Get CVE information
{
"query": "CVE-2021-44228"
}MCP 검사기 사용
MCP 검사기를 사용하면 서버와 직접 상호 작용할 수 있습니다.
MCP 검사기를 설치하세요:
npm install -g @modelcontextprotocol/inspector서버에서 검사기를 실행하세요.
npx @modelcontextprotocol/inspector build/index.js검사관은 다음과 같은 대화형 인터페이스를 제공합니다.
사용 가능한 모든 도구를 테스트하세요
도구 설명서 보기
디버그 서버 응답
서버 상태 모니터링
환경 변수
SHODAN_API_KEY: Shodan API 키(필수)PORT: 서버 포트(선택 사항, 기본값은 3000)LOG_LEVEL: 로깅 레벨(선택 사항, 기본값은 'info')
오류 처리
서버는 다음에 대한 포괄적인 오류 처리를 구현합니다.
잘못된 API 키
속도 제한
네트워크 문제
잘못된 쿼리
서버 오류
보안 고려 사항
API 키 보호:
API 키를 버전 제어에 커밋하지 마십시오.
민감한 데이터에 환경 변수를 사용하세요
API 키를 정기적으로 회전하세요
속도 제한:
Shodan의 API 속도 제한을 존중하세요
클라이언트 측 속도 제한 구현
데이터 개인정보 보호:
응답에서 민감한 정보 필터링
필요에 따라 액세스 제어를 구현합니다.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
감사의 말
API를 제공해준 Shodan에게 감사드립니다.
MCP 사양을 위한 모델 컨텍스트 프로토콜 팀
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 Servers
- AlicenseAqualityFmaintenanceMCP 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.7295156MIT
- FlicenseNot gradedqualityDmaintenanceA 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.23
- FlicenseNot gradedqualityDmaintenanceA WebSocket server that provides MCP interface for searching and retrieving information about internet-connected devices, IP addresses, DNS data, and CVE vulnerabilities through the Shodan API.3
- FlicenseNot gradedqualityDmaintenanceIntegrates Shodan search capabilities into MCP-compatible applications for discovering internet-connected devices. Enables domain searches, IP lookups, and advanced queries to identify exposed services, infrastructure mapping, and security analysis.3
Related MCP Connectors
Shodan InternetDB MCP — wraps Shodan InternetDB (internetdb.shodan.io)
Shodan MCP — wraps the full Shodan REST API (api.shodan.io)
MCP server for Google search results via SERP API
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/X3r0K/Shodan-MCP-Server-Inspector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server