I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-Sumologic
Serveur MCP pour SUMOLOGIC
3 years
Works with Finder
1
Github Watches
1
Github Forks
2
Github Stars
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 query -
from
(optional): Start time in ISO 8601 format -
to
(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
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Advanced software engineer GPT that excels through nailing the basics.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_4M5Q1Jsw
As a dedicated user of mcp applications, I find mcp-sumologic by samwang0723 to be an outstanding addition. It excels in providing seamless integration with Sumologic, enhancing data analysis and monitoring. The installation process is straightforward, and the documentation on the GitHub page is comprehensive. I highly recommend this tool for anyone looking to streamline their Sumologic interactions.