Seq MCP Server
MCP server for querying structured logs from Datalust Seq, providing tools to search logs, retrieve recent errors, fetch events, and check health.
README
Seq MCP Server
MCP server that lets Cursor's AI query structured logs from Datalust Seq.
Tools
| Tool | Description |
|---|---|
seq_query_logs |
Query logs with optional filter, count, and time range |
seq_recent_errors |
Get recent Error/Fatal events (last N minutes) |
seq_get_event |
Fetch a single event by ID |
seq_health |
Check Seq connectivity |
Setup
1. Install dependencies
cd seq-mcp-server
npm install
npm run build
2. 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 URL
Option 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 exit
Requirements
- Seq server with HTTP API (2021+)
- API key with Read permission
- Node.js 18+ (or Docker)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.