- Anywhere MCP Server
Anywhere MCP Server
AlienVault/USM Anywhere MCP Server - Threat intelligence and security monitoring
Content
Anywhere MCP Server
A Model Context Protocol (MCP) server for integrating with Levelblue USM Anywhere platform. This server provides secure access to security monitoring data including alarms, events, and threat intelligence through the USM Anywhere API v2.0.
Features
- OAuth 2.0 Authentication: Secure authentication using client credentials flow
- USM Anywhere API Integration: Access to alarms, events, and security data
- Legacy OTX Support: Backward compatibility with AlienVault OTX API
- Type-Safe: Built with TypeScript and Zod validation
- MCP Protocol: Standard Model Context Protocol implementation
Available Tools
USM Anywhere API v2.0 Tools
- get_alarms - Retrieve security alarms with filtering options
- get_events - Retrieve security events with filtering options
- get_alarm_details - Get detailed information about a specific alarm
- get_event_details - Get detailed information about a specific event
Legacy OTX API Tools
- search_pulses - Search threat intelligence pulses
- get_indicator - Get indicator information (IP, domain, hash)
- get_pulse - Get detailed pulse information
Installation
- Clone the repository:
git clone https://github.com/jballesteros/anywhere-mcp-server.git
cd anywhere-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
USM Anywhere API (Primary)
Create a .env file with your USM Anywhere credentials:
# USM Anywhere API v2.0 Configuration
ANYWHERE_CLIENT_ID=your_client_id
ANYWHERE_CLIENT_SECRET=your_client_secret
ANYWHERE_SUBDOMAIN=your_subdomain
# Legacy OTX API (Optional)
OTX_API_KEY=your_otx_api_key
Getting USM Anywhere Credentials
- Log into your USM Anywhere console
- Navigate to Settings > API Keys
- Create a new API key with appropriate permissions
- Note your subdomain from the URL (e.g.,
company.alienvault.cloud)
Usage
Starting the Server
npm start
Using with MCP Clients
Add to your MCP client configuration:
{
"mcpServers": {
"anywhere": {
"command": "node",
"args": ["/path/to/anywhere-mcp-server/dist/index.js"],
"env": {
"ANYWHERE_CLIENT_ID": "your_client_id",
"ANYWHERE_CLIENT_SECRET": "your_client_secret",
"ANYWHERE_SUBDOMAIN": "your_subdomain"
}
}
}
}
Example Tool Calls
Get Recent Alarms
{
"tool": "get_alarms",
"arguments": {
"account_name": "Anywhere",
"page": 0,
"size": 10,
"sort": "timestamp_occured,desc"
}
}
Get Events by Source
{
"tool": "get_events",
"arguments": {
"account_name": "Anywhere",
"source_name": "firewall-01",
"size": 20
}
}
Search Threat Intelligence
{
"tool": "search_pulses",
"arguments": {
"query": "malware",
"limit": 5
}
}
API Reference
USM Anywhere API Methods
getAlarms(accountName, options)- Retrieve security alarmsgetEvents(accountName, options)- Retrieve security eventsgetAlarmDetails(alarmId)- Get specific alarm detailsgetEventDetails(eventId)- Get specific event details
Legacy OTX API Methods
searchPulses(query, limit)- Search threat intelligencegetIndicator(indicator, section)- Get indicator informationgetPulse(pulseId)- Get pulse details
Development
Building
npm run build
Development Mode
npm run dev
Cleaning Build Files
npm run clean
Error Handling
The server includes comprehensive error handling:
- OAuth token refresh automation
- API rate limiting respect
- Detailed error messages
- Graceful fallbacks
Security
- OAuth 2.0 client credentials flow
- Secure token management
- Environment variable configuration
- No hardcoded credentials
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Author
Javier Ballesteros
- Email: javier.ballesteros@gmail.com
- GitHub: @javierb507
Support
For issues and questions:
- GitHub Issues: anywhere-mcp-server/issues
- Email: javier.ballesteros@gmail.com
Changelog
v1.0.0
- Initial release
- USM Anywhere API v2.0 integration
- OAuth 2.0 authentication
- Legacy OTX API support
- MCP protocol implementation
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.