MCP Sumo Logic Server
Lógica de sumo MCP
Un servidor de Protocolo de Contexto de Modelo (MCP) que se integra con la API de Sumo Logic para realizar búsquedas de registros.
Características
Buscar registros de Sumo Logic mediante consultas personalizadas
Rangos de tiempo configurables para búsquedas
Manejo de errores y registro detallado
Compatibilidad con Docker para una implementación sencilla
Related MCP server: sumo-mcp
Variables de entorno
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 KeyConfiguración
Clonar el repositorio
Instalar dependencias:
npm installCree un archivo
.envcon las variables de entorno requeridasConstruir el proyecto:
npm run buildIniciar el servidor:
npm start
Configuración de Docker
Construya la imagen de Docker:
docker build -t mcp/sumologic .Ejecute el contenedor (elija un método):
a. Usando variables de entorno directamente:
docker run -e ENDPOINT=your_endpoint -e SUMO_API_ID=your_api_id -e SUMO_API_KEY=your_api_key mcp/sumologicb. Usando un archivo .env:
docker run --env-file .env mcp/sumologicNota: asegúrese de que su archivo .env contenga las variables de entorno requeridas:
ENDPOINT=your_endpoint SUMO_API_ID=your_api_id SUMO_API_KEY=your_api_key
Uso
El servidor expone una herramienta search-sumologic que acepta los siguientes parámetros:
query(obligatoria): La consulta de búsqueda de Sumo Logicfrom(opcional): Hora de inicio en formato ISO 8601to(opcional): Hora de finalización en formato ISO 8601
Ejemplo de consulta:
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',
});Manejo de errores
El servidor incluye un completo sistema de registro y gestión de errores:
Los errores de API se detectan y registran con detalles.
El estado del trabajo de búsqueda se supervisa y registra
Los problemas de red y autenticación se gestionan adecuadamente
Desarrollo
Para ejecutar en modo de desarrollo:
npm run devPara probar:
npm testThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
SOAR security playbooks for AI agents: fetch, full-text search, and count. Metered via Stripe.
Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents.
Investigate errors, track deployments, analyze performance, and manage application monitoring
Syslog receiver and MCP server for homelab log intelligence.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with Jira REST API to create tickets with customizable fields and retrieve ticket information by key, with Dockerized deployment support.
- FlicenseAqualityDmaintenanceEnables searching Sumo Logic logs using the search_logs tool, with support for query parameters such as time range and maximum results.11
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to run Sumo Logic log searches via HTTP using the Search Job API.1
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with SumoLogic for log management and analytics, with contextual awareness through a configuration file that maps your environment.Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samwang0723/mcp-sumologic'
If you have feedback or need assistance with the MCP directory API, please join our Discord server