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:
- Create a
.env
file with the required environment variables - Build the project:
- Start the server:
Docker Setup
- Build the Docker image:
- Run the container (choose one method):a. Using environment variables directly:b. Using a .env file:Note: Make sure your .env file contains the required environment variables:
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.
与 Sumo Logic 的 API 集成,以实现具有可配置查询和时间范围的日志搜索,支持错误处理和通过 Docker 轻松部署。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityInteracts with LogSeq via its API.Last updated -98
- -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 -403MIT 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