MCP server for AlienVault OTX / LevelBlue Open Threat Exchange — complete DirectConnect API coverage (29 tools), stdio + streamable HTTP transports, read-only by default. Built on MCP SDK 2.x
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add otx --env OTX_API_KEY='<OTX_API_KEY>' -- uvx otx-mcp~/.codex/config.toml
[mcp_servers.otx]
command = "uvx"
args = ["otx-mcp"]
env = { OTX_API_KEY = "<OTX_API_KEY>" }
# codex mcp add otx --env OTX_API_KEY='<OTX_API_KEY>' -- uvx otx-mcp~/.cursor/mcp.json
{
"mcpServers": {
"otx": {
"command": "uvx",
"args": [
"otx-mcp"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"otx": {
"type": "stdio",
"command": "uvx",
"args": [
"otx-mcp"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"otx": {
"command": "uvx",
"args": [
"otx-mcp"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"otx": {
"command": "uvx",
"args": [
"otx-mcp"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"otx": {
"command": "uvx",
"args": [
"otx-mcp"
],
"env": {
"OTX_API_KEY": "<OTX_API_KEY>"
}
}
}
}Environment variables
OTX_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.