AM

ahmad2x4/mcp-server-seq

Deployment & DevOps

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

13 stars 8 forks 品質 75 トレンド 24MIT

MCP Server for Seq's API endpoints for interacting with your logging and monitoring system. This server provides comprehensive access to Seq's API features through the Model Context Protocol.

概要

MCP Server for Seq's API endpoints for interacting with your logging and monitoring system. This server provides comprehensive access to Seq's API features through the Model Context Protocol. - get_signals - Fetch signals with filtering options - Filter by owner ID - Filter shared/private signals - Support for partial matches - get_events - Retrieve events with extensive filtering options - Filter by signal IDs - Custom filter expressions - Configurable event count (max 50) - Flexible time range options - Date range filtering - get_alert_state - Retrieve the current state of alerts - signals - List all shared signals with detailed information - Signal ID - Title - Description - Sharing status - Owner information The server requires the following environment variables: - SEQ_BASE_URL (optional): Your Seq server URL (defaults to 'http://localhost:8080') - SEQ_API_KEY (required): Your Seq API key This repo includes a Claude skill for Seq log analysis and incident investigation.

README

以下は原文 README の抜粋です。原文を見る。

Seq MCP Server

MCP Server for Seq’s API endpoints for interacting with your logging and monitoring system. This server provides comprehensive access to Seq’s API features through the Model Context Protocol.

Features

Tools

Signals Management

  • get_signals - Fetch signals with filtering options
    • Filter by owner ID
    • Filter shared/private signals
    • Support for partial matches

Event Management

  • get_events - Retrieve events with extensive filtering options
    • Filter by signal IDs
    • Custom filter expressions
    • Configurable event count (max 50)
    • Flexible time range options
    • Date range filtering

Alert Management

  • get_alert_state - Retrieve the current state of alerts

Resources

Signals Listing

  • signals - List all shared signals with detailed information
    • Signal ID
    • Title
    • Description
    • Sharing status
    • Owner information

Configuration

The server requires the following environment variables:

  • SEQ_BASE_URL (optional): Your Seq server URL (defaults to ‘http://localhost:8080’)
  • SEQ_API_KEY (required): Your Seq API key

seq-ops Skill

This repo includes a Claude skill for Seq log analysis and incident investigation. Once the MCP server is connected, the skill guides Claude through structured investigations — health checks, incident triage, post-deployment monitoring — and produces consistent, actionable reports.

Install the skill:

# From the releases page, download seq-ops.skill, then:
claude skill install seq-ops.skill

Or install directly from this repo:

npx skills add ahmad2x4/mcp-server-seq

The skill automatically activates when you ask things like “morning health check”, “something is broken in prod”, “check the logs for timeouts”, or “investigate the PPSR integration”.


Usage with Claude Code

Run the following command to add the server:

claude mcp add --transport stdio \
  --env SEQ_BASE_URL=http://localhost:5341 \
  --env SEQ_API_KEY=your-api-key \
  seq -- npx -y mcp-seq

To share the configuration with your team, use the --scope project flag (saves to .mcp.json):

claude mcp add --transport stdio --scope project \
  --env SEQ_BASE_URL=http://localhost:5341 \
  --env SEQ_API_KEY=your-api-key \
  seq -- npx -y mcp-seq

Windows users: Replace npx -y mcp-seq with cmd /c npx -y mcp-seq to avoid “Connection closed” errors.

Verify the server is connected by running /mcp inside Claude Code.

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "seq": {
      "command": "npx",
      "args": ["-y", "mcp-seq"],
      "env": {
        "SEQ_BASE_URL": "your-seq-url",
        "SEQ_API_KEY": "your-api-key"
      }
    }
  }
}

Development

Install dependencies:

GitHub で README 全文を見る

インストール

npx -y mcp-seq
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "seq": { "command": "npx", "args": ["-y", "mcp-seq"], "env": { "SEQ_BASE_URL": "your-seq-url", "SEQ_API_KEY": "your-api-key" } } } }