MCP Sumo Logic Server
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.
Integrations
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:Copy
- Create a
.env
file with the required environment variables - Build the project:Copy
- Start the server:Copy
Docker Setup
- Build the Docker image:Copy
- Run the container (choose one method):a. Using environment variables directly:b. Using a .env file:CopyNote: Make sure your .env file contains the required environment variables:CopyCopy
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
Integrates with Sumo Logic's API to enable log search with configurable queries and time ranges, supporting error handling and easy deployment via Docker.