Provides containerization support for easy deployment of the MCP server in Docker environments with configuration through environment variables.
Enables searching and querying of Sumo Logic logs using custom queries with configurable time ranges, allowing access to log data stored in Sumo Logic's platform.
MCP Sumo Logic
A Model Context Protocol (MCP) server that integrates with Sumo Logic's API to perform log searches.
Features
Search Sumo Logic logs using custom queries
Configurable time ranges for searches
Error handling and detailed logging
Docker support for easy deployment
Environment Variables
Setup
Clone the repository
Install dependencies:
npm installCreate a
.env
file with the required environment variablesBuild the project:
npm run buildStart the server:
npm start
Docker Setup
Build the Docker image:
docker build -t mcp/sumologic .Run the container (choose one method):
a. Using environment variables directly:
docker run -e ENDPOINT=your_endpoint -e SUMO_API_ID=your_api_id -e SUMO_API_KEY=your_api_key mcp/sumologicb. Using a .env file:
docker run --env-file .env mcp/sumologicNote: Make sure your .env file contains the required environment variables:
ENDPOINT=your_endpoint SUMO_API_ID=your_api_id SUMO_API_KEY=your_api_key
Usage
The server exposes a search-sumologic
tool that accepts the following parameters:
query
(required): The Sumo Logic search queryfrom
(optional): Start time in ISO 8601 formatto
(optional): End time in ISO 8601 format
Example query:
Error Handling
The server includes comprehensive error handling and logging:
API errors are caught and logged with details
Search job status is monitored and logged
Network and authentication issues are properly handled
Development
To run in development mode:
For testing:
This server cannot be installed
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.
Integrates with Sumo Logic's API to enable log search with configurable queries and time ranges, supporting error handling and easy deployment via Docker.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityInteracts with LogSeq via its API.Last updated -117
- -securityFlicense-qualityEnables LLMs to perform semantic search and document management using ChromaDB, supporting natural language queries with intuitive similarity metrics for retrieval augmented generation applications.Last updated -
- -securityAlicense-qualityEnables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.Last updated -303MIT License
- -securityFlicense-qualityAllows developers and AI Agents to query Google Cloud Logging using natural language, translating queries into Google Cloud Logging Query Language (LQL) with Vertex AI Gemini 2.5.Last updated -1