Skip to main content
Glama
lancer1977

Seq MCP Server

by lancer1977

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

Related MCP server: Log Analyzer MCP Server

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 substring

  • appname = 'ChannelCheevos' — current app property in existing events

  • Application = '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)

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    D
    quality
    B
    maintenance
    The 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.
    Last updated
    3
    50
    13
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    An 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.
    Last updated
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    An 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.
    Last updated
    MIT
  • A
    license
    D
    quality
    B
    maintenance
    A 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.
    Last updated
    100
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for managing Prisma Postgres.

  • MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.

  • MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

View all MCP Connectors

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/lancer1977/seq-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server