MCP Sumo Logic Server
MCP 相扑逻辑
与 Sumo Logic 的 API 集成以执行日志搜索的模型上下文协议 (MCP) 服务器。
特征
使用自定义查询搜索 Sumo Logic 日志
可配置的搜索时间范围
错误处理和详细日志记录
Docker 支持,轻松部署
Related MCP server: sumo-mcp
环境变量
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设置
克隆存储库
安装依赖项:
npm install创建包含所需环境变量的
.env文件构建项目:
npm run build启动服务器:
npm start
Docker 设置
构建 Docker 镜像:
docker build -t mcp/sumologic .运行容器(选择一种方法):
a.直接使用环境变量:
docker run -e ENDPOINT=your_endpoint -e SUMO_API_ID=your_api_id -e SUMO_API_KEY=your_api_key mcp/sumologicb.使用 .env 文件:
docker run --env-file .env mcp/sumologic注意:确保您的 .env 文件包含所需的环境变量:
ENDPOINT=your_endpoint SUMO_API_ID=your_api_id SUMO_API_KEY=your_api_key
用法
服务器公开了一个search-sumologic工具,该工具接受以下参数:
query(必需):Sumo Logic 搜索查询from(可选):ISO 8601 格式的开始时间to(可选):ISO 8601 格式的结束时间
示例查询:
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',
});错误处理
该服务器包括全面的错误处理和日志记录:
捕获 API 错误并记录详细信息
监控并记录搜索作业状态
网络和身份验证问题得到妥善处理
发展
要在开发模式下运行:
npm run dev用于测试:
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