
vinit-devops/sumologic_mcp
Analytics & monitoring이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Sumologic MCP Server with 37 tools
개요
A Python implementation of a Model Context Protocol (MCP) server for Sumo Logic API integration. This server provides a comprehensive interface to Sumo Logic's REST APIs through the MCP protocol, enabling seamless integration with MCP-compatible clients. This MCP server provides tools to interact with Sumo Logic's APIs, allowing users to: - Execute log search queries with flexible parameters - Monitor search job status and retrieve results - Support for pagination and result limiting - List, create, update, and delete dashboards - Retrieve dashboard configurations and metadata - Manage dashboard panels and visualizations - Query time-series metrics data - Support for metric selectors and aggregations - List available metric sources - Manage collectors (list, create, update, delete) - Configure data sources within collectors - Monitor collector status and health - Create, update, and delete monitoring rules - List and search monitors with advanced filtering - Enable/disable...
README
원문 README의 일부입니다. 원문 보기.
Sumo Logic MCP Python Server
A Python implementation of a Model Context Protocol (MCP) server for Sumo Logic API integration. This server provides a comprehensive interface to Sumo Logic’s REST APIs through the MCP protocol, enabling seamless integration with MCP-compatible clients.
Features
This MCP server provides tools to interact with Sumo Logic’s APIs, allowing users to:
🔍 Search & Analytics
- Execute log search queries with flexible parameters
- Monitor search job status and retrieve results
- Support for pagination and result limiting
📊 Dashboard Management
- List, create, update, and delete dashboards
- Retrieve dashboard configurations and metadata
- Manage dashboard panels and visualizations
📈 Metrics & Monitoring
- Query time-series metrics data
- Support for metric selectors and aggregations
- List available metric sources
🔧 Collector & Source Management
- Manage collectors (list, create, update, delete)
- Configure data sources within collectors
- Monitor collector status and health
🚨 Monitor Management
- Create, update, and delete monitoring rules
- List and search monitors with advanced filtering
- Enable/disable monitors and manage their status
- Get active alerts and monitor health status
- Validate monitor configurations
- View monitor execution history and performance metrics
Requirements
- Python 3.8 or higher
- Sumo Logic account with API access
- Valid Sumo Logic Access ID and Access Key
Installation
From PyPI (published)
pip install sumologic-mcp-python
From Source
- Clone the repository:
git clone https://github.com/sumologic/sumologic-mcp-python.git
cd sumologic-mcp-python
- Install the package:
pip install -e .
Development Installation
For development with all dependencies:
pip install -e ".[dev]"
Configuration
The Sumo Logic MCP Server supports multiple configuration methods with comprehensive validation and clear error messages.
Configuration Methods
The server supports configuration through multiple sources with the following precedence (highest to lowest):
- Command-line arguments (highest precedence)
- Environment variables
- Configuration file
- Default values (lowest precedence)
Environment Variables
Configure the server using environment variables with the SUMOLOGIC_ prefix:
| Variable | Required | Default | Description | Valid Values |
|---|---|---|---|---|
SUMOLOGIC_ACCESS_ID |
✅ | - | Your Sumo Logic Access ID | 14 alphanumeric characters |
SUMOLOGIC_ACCESS_KEY |
✅ | - | Your Sumo Logic Access Key | At least 20 characters |
SUMOLOGIC_ENDPOINT |
✅ | - | Sumo Logic API endpoint | Valid HTTPS URL ending in .sumologic.com |
SUMOLOGIC_TIMEOUT |
❌ | 30 | Request timeout in seconds | 1-300 |
SUMOLOGIC_MAX_RETRIES |
❌ | 3 | Maximum retry attempts | 0-10 |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"sumologic": {
"command": "sumologic-mcp-server",
"env": {
"SUMOLOGIC_ACCESS_ID": "your_access_id",
"SUMOLOGIC_ACCESS_KEY": "your_access_key",
"SUMOLOGIC_ENDPOINT": "https://api.sumologic.com"
}
}
}
}