
Otx
io.github.w0h1v由 GitHub 账号 w0h1v 发布v1.2.0更新于 Oct 24, 2026
MCP server for AlienVault OTX threat intelligence: indicators, pulses, search, and users.
概览
为 AI 助手提供 AlienVault OTX 威胁情报访问的 MCP 服务器:指标、pulse、用户、订阅和 URL 提交。
- 可以做什么
- 搜索 pulse 和用户,读取 pulse 详情、指标、相关 pulse、活动与事件,包括已订阅的 pulse,以及 pulse 和指标的资源模板。对 IP 地址、域名、文件哈希、URL 和 CVE 等指标进行丰富和验证,列出指标类型并导出指标。查询用户和当前账户,列出用户或自己的 pulse。启用读写后,可创建 pulse、订阅或取消订阅 pulse 和用户、关注或取消关注用户,以及提交 URL 或文件。
- 适用场景
- 适合在调查 IP、域名、哈希、URL 或 CVE,或研究恶意软件家族或攻击者时使用,把 OTX 社区的 pulse、信誉、被动 DNS、whois 和沙箱数据带入助手上下文。
- 运行要求
- 作为 Python 包在本地运行(Python 3.10 或更高版本,uv 或 pip)。需要 AlienVault OTX API 密钥,通过 OTX_API_KEY 环境变量提供;免费账户即可。需要访问 OTX API 的网络。可选的 streamable HTTP 模式在网络绑定地址时需要 bearer 令牌。
安装
README
[PyPI version] [CI] [License: MIT] [Python 3.10 or newer] [MCP Registry]
Quickstart · Tools · HTTP · Security · Troubleshooting · Docs
mcp-otx is an MCP server that gives AI agents access to AlienVault OTX (Open Threat Exchange, now LevelBlue). Hand your agent an IP, domain, file hash, URL or CVE, or a malware family or adversary to research, and get back what the OTX community knows: pulses, reputation, passive DNS, whois, sandbox analysis and related indicators.
[!NOTE] Independent project, not affiliated with AlienVault or LevelBlue. You need your own OTX API key; a free account is enough.
Highlights
- Full API coverage. 29 tools across pulses, indicators, users, subscriptions and URL submissions, plus resource templates for pulses and indicators.
- One-call indicator enrichment. Every OTX indicator type (IPv4, IPv6, domain, hostname, file hash, URL, CVE) and detail section: reputation, geo, passive DNS, malware, whois, URL lists, HTTP scans, sandbox analysis.
- Read-only by default. The 9 tools that change your OTX account only appear with
--read-write. - Context-sized output. Large OTX objects are summarized and capped, with the API's total counts kept, so one lookup doesn't fill the model's context.
- Safe HTTP. stdio for desktop clients, plus streamable HTTP with bearer-token auth. The server refuses to listen on a network-facing address without a token.
- Tested. Unit tests against a mocked OTX API run in CI on Python 3.10 to 3.13.
How it works
Quickstart
Requirements: Python 3.10 or newer, uv (or pip), and an OTX API key.
With pip: pip install otx-mcp, then use the command otx-mcp. For Claude Desktop, VS Code, Cline, Docker and running from source, see Connect a client.
Then ask your agent: "What does OTX know about 8.8.8.8, and are there recent pulses about Emotet?" More prompts are in example workflows.
Tools
20 read tools, plus 9 write tools with --read-write. Full parameters and real sample output are in the tool reference.
Resource templates: otx://pulse/{pulse_id} and otx://indicator/{type}/{value}.
HTTP transport
stdio is the default. For remote or web clients, run streamable HTTP:
To listen on a network-facing address, set a bearer token. Clients must then send Authorization: Bearer <token>:
OTX is slow on some endpoints (passive DNS and subscriptions can take 20 to 60 s), so give remote clients a long read timeout (120 s works).
Configuration
Security
[!WARNING] The server acts as your OTX account. Keep it read-only unless you need the write tools, and never expose HTTP without a bearer token and TLS.
- Read-only by default. Pulse creation, subscriptions, follows and URL submissions need
--read-write. Editing or deleting pulses isn't exposed as a tool at all. - Untrusted content. Pulse and indicator descriptions are written by the OTX community. The server tells the model to treat them as data, not instructions.
- The API key is sent only to the OTX API, in a header.
Details are in the security model. Report vulnerabilities privately; see SECURITY.md.
Troubleshooting
- 403 "Authentication required": the API key is wrong.
get_current_usershows which account a key belongs to. - A write tool is missing: start the server with
--read-write. - Timeouts: passive DNS and subscription calls can take up to 60 s. Raise your client's tool timeout.
More in the troubleshooting guide.
Development
See CONTRIBUTING.md and the changelog.
License
MIT. See LICENSE.
来源:README.md,提交 d77d277
工具
0版本历史
1- v1.2.0最新Oct 13, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分