Seq MCP Server
Click on "Deploy 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., "@Seq MCP Servershow me recent errors in the last 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.
Seq MCP Server
MCP server that lets Cursor's AI query structured logs from Datalust Seq.
Tools
Tool | Description |
| Query logs with optional filter, count, and time range |
| Get recent Error/Fatal events (last N minutes) |
| Fetch a single event by ID |
| Check Seq connectivity |
Related MCP server: Log Analyzer MCP Server
Setup
1. Install dependencies
cd seq-mcp-server
npm install
npm run build2. Add to Cursor MCP config
Option A – Install script (merges into existing config):
./scripts/install-mcp-config.sh YOUR_API_KEY
./scripts/install-mcp-config.sh YOUR_API_KEY https://seq.example.com # custom Seq URLOption B – Manual – Edit ~/.cursor/mcp.json and add the Seq entry to your existing mcpServers:
{
"mcpServers": {
"Seq": {
"command": "node",
"args": ["/home/lancer1977/code/seq-mcp-server/dist/index.js"],
"env": {
"SEQ_SERVER_URL": "https://seq.polyhydragames.com",
"SEQ_API_KEY": "your-seq-api-key"
}
}
}
}Or use npx with env vars in your shell:
{
"mcpServers": {
"Seq": {
"command": "npx",
"args": ["-y", "tsx", "/home/lancer1977/code/seq-mcp-server/src/index.ts"],
"env": {
"SEQ_SERVER_URL": "https://seq.polyhydragames.com",
"SEQ_API_KEY": "your-seq-api-key"
}
}
}
}3. Restart Cursor
Restart Cursor (or reload the window) so it picks up the new MCP server.
Seq filter examples
Use Seq's query syntax:
@Level = 'Error'— errors only@Level in ['Warning', 'Error']— warnings and errors"timeout"— text search in message@Message like '%exception%' ci— case-insensitive substringappname = 'ChannelCheevos'— current app property in existing eventsApplication = 'ChannelCheevos'— recommended standard property(Application = 'ChannelCheevos' or appname = 'ChannelCheevos')— migration-safe query@Timestamp > now() - 1h— last hour
Docker
Image: lancer1977/seq-mcp-server:latest on Docker Hub
Build (optional)
docker build -t lancer1977/seq-mcp-server:latest .Run with Cursor
Add to ~/.cursor/mcp.json using the Docker image (no local build needed):
{
"mcpServers": {
"Seq": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "SEQ_SERVER_URL=https://seq.polyhydragames.com",
"-e", "SEQ_API_KEY=your-seq-api-key",
"lancer1977/seq-mcp-server:latest"
]
}
}
}The -i flag keeps stdin open for MCP protocol communication. --rm removes the container when Cursor disconnects.
Test the image
docker run --rm -e SEQ_SERVER_URL=https://seq.example.com -e SEQ_API_KEY=xxx lancer1977/seq-mcp-server:latest
# Server starts and waits for stdio input; Ctrl+C to exitRequirements
Seq server with HTTP API (2021+)
API key with Read permission
Node.js 18+ (or Docker)
This server cannot be deployed
Maintenance
Related MCP Connectors
Syslog receiver and MCP server for homelab log intelligence.
Syslog receiver and MCP server for homelab log intelligence.
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
MCP server for the Seline Analytics API
Related MCP Servers
- AlicenseDqualityCmaintenanceThe Seq MCP Server enables interaction with Seq's API endpoints for logging and monitoring, providing tools for managing signals, events, and alerts with extensive filtering and configuration options.336 npm13MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for intelligent log analysis providing semantic search, error pattern clustering, and smart error detection. It enables users to process, vectorize, and query local logs to efficiently identify issues and generate AI-powered summaries.MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables querying logs and metrics from Graylog, Prometheus, and InfluxDB 2.x. It provides tools for executing Lucene log searches, PromQL queries, and Flux queries directly within MCP-compatible clients.MIT
- AlicenseDqualityBmaintenanceA Model Context Protocol server that provides AI agents with controlled read access to Datalust Seq instances for log analysis and monitoring. It enables agents to search events, execute data queries, and retrieve information about signals, dashboards, and alerts.1003MIT