MCP Sumo Logic Server
Integrates with Sumo Logic's API to enable log search with configurable queries and time ranges, supporting error handling and easy deployment via Docker.
samwang0723
README
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
ENDPOINT=https://api.au.sumologic.com/api/v1 # Sumo Logic API endpoint
SUMO_API_ID=your_api_id # Sumo Logic API ID
SUMO_API_KEY=your_api_key # Sumo Logic API Key
Setup
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file with the required environment variables - Build the project:
npm run build
- Start 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/sumologic
b. Using a .env file:
docker run --env-file .env mcp/sumologic
Note: 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:
const query = '_index=app_pro_fiat_cont | json auto | fields log_identifier';
const results = await search(sumoClient, query, {
from: '2024-02-23T00:00:00Z',
to: '2024-02-24T00:00:00Z',
});
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:
npm run dev
For testing:
npm test
Recommended Servers
Google Search Console MCP Server
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
mcp-server-datadog
The MCP server provides an interface to the Datadog API, enabling seamless management of incidents, monitoring, logs, dashboards, metrics, traces, and hosts. Its extensible design allows easy integration of additional Datadog APIs for future expansions.

PostHog MCP Server
A Model Context Protocol server that enables Claude Desktop users to interact directly with PostHog, allowing them to view projects and create annotations through natural language commands.

Brev
Run, build, train, and deploy ML models on the cloud.
metoro-mcp-server
Query and interact with kubernetes environments monitored by Metoro. Look at APM, metrics, traces, profiling information with LLMs.
MCP2Lambda
Enables AI models to interact with AWS Lambda functions via the MCP protocol, allowing access to private resources, real-time data, and custom computation in a secure environment.

Raygun MCP Server
MCP Server for Raygun's API V3 endpoints for interacting with your Crash Reporting and Real User Monitoring applications. This server provides comprehensive access to Raygun's API features through the Model Context Protocol.
mcp-k8s-go
This project is intended as a both MCP server connecting to Kubernetes and a library to build more servers for any custom resources in Kubernetes.