sumologic-mcp
Allows AI assistants to run Sumo Logic log searches over HTTP, supporting raw log queries, aggregate results, and pagination.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sumologic-mcpsearch for error logs from the past hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sumologic-mcp
A local MCP server that lets AI assistants run Sumo Logic log searches over HTTP.
Prerequisites
Node.js 18+
A Sumo Logic Enterprise account with Search Job API access
Sumo Logic API access key and ID (create one here)
Related MCP server: Graylog MCP Server
Setup
Install dependencies:
npm installCopy the example env file and fill in your credentials:
cp .env.example .envSet your deployment endpoint in
.env. Examples:
Deployment | ENDPOINT |
US1 |
|
US2 |
|
EU |
|
Build and start:
npm run build
npm startFor development with auto-reload:
npm run devThe server listens on http://localhost:3006 by default.
Cursor MCP configuration
Add this to your Cursor MCP config (~/.cursor/mcp.json):
{
"mcpServers": {
"sumologic": {
"url": "http://localhost:3006/mcp"
}
}
}Restart the MCP server in Cursor after starting the local server.
Available tools
search_sumologic
Run a Sumo Logic search and return results.
Parameter | Type | Default | Description |
| string | required | Sumo Logic search query |
| string | 24h ago | ISO 8601 start time |
| string | now | ISO 8601 end time |
| number | 100 | Max results (1–10000) |
| number | 0 | Pagination offset |
| string |
|
|
Example queries:
Raw logs:
* | where severity = "error" | limit 20Count by service:
* | count by _sourceCategoryTime-bounded: use
fromandtoparams with ISO 8601 timestamps
Use resultType: "messages" for raw log lines, records for aggregate/tabular results, and both when unsure.
Environment variables
Variable | Required | Default | Description |
| yes | — | Sumo Logic API base URL |
| yes | — | Access ID |
| yes | — | Access key |
| no |
| HTTP server port |
| no |
| Timezone for search jobs |
| no |
| Max wait time for search completion (5 min) |
Health check
curl http://localhost:3006/healthNotes
Search results have PII fields (
_raw,response) automatically redacted before being returned to the AI.The Search Job API requires session cookies across requests; this server handles that automatically.
If you get a 403 error, your account may not have Enterprise Search Job API access.
This 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.
Latest Blog Posts
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/luisguareschi-arb/sumologic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server