
willibrandon/seq-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) 서버는 Seq 구조화된 로깅 서버에서 검색, 스트림 및 분석 이벤트를 제공하는 AI 조수를 제공합니다.
개요
Seq에서 검색 및 스트리밍 이벤트를 제공하는 모델 Context Protocol (MCP) 서버. - .NET 10.0 실행 시간 또는 SDK - Seq 서버 (현지 또는 원격) - 유효한 Seq API 열쇠 설정 스크립트는 자동으로: - 포트에 Seq 컨테이너를 시작합니다 15341/18081 - 인증 구성 및 API 키 생성 - 환경 변수 설정 - 응용 프로그램에 대한 .env 파일을 생성 MCP 서버는 직접 실행되지 않습니다 - 그들은 MCP 클라이언트에 의해 발사됩니다. 생산: 2. 배포된 실행 가능한 MCP 클라이언트 구성: 다음 도구는 MCP 프로토콜을 통해 사용할 수 있습니다. - 필터와 Seq 이벤트 검색, 날짜 범위, 신호, 그리고 질 - 매개 변수: - 필터 (필수): Seq 필터 표현 (모든 이벤트에 대 한 빈 문자열 " 사용) - 카운트: 이벤트의 수 (기본: 100, 최대: 1000) - SignalId (선택 사항): Signal ID to filter event (Use SignalList to find ID) - fromDateUtc (선택 사항): Earliest date/time (ISO 8601, e.g.g.
개요(AI 번역)
Seq에서 검색 및 스트리밍 이벤트를 제공하는 모델 Context Protocol (MCP) 서버.
설치
.NET 글로벌 도구로 (추천)
요구 사항
- .NET 10.0 실행시간 또는 SDK
- Seq 서버 (현지 또는 원격)
- 유효한 Seq API 열쇠
빠른 시작
개발 환경
설정 스크립트는 자동으로:
- 포트에 Seq 컨테이너를 시작합니다. 15341/18081번
- 인증 구성 및 API 키 생성
- 환경 변수 설정
.env] 을 작성한다.
생산 배포
MCP 서버는 직접 실행되지 않습니다 - 그들은 MCP 클라이언트에 의해 발사됩니다. 생산:
-
실행할 수 있는 빌드 및 배치:
-
배포된 실행 가능한 MCP 클라이언트 구성:
MCP 도구
다음 도구는 MCP 프로토콜을 통해 사용할 수 있습니다.
SeqSearch- 필터, 날짜 범위, 신호 및 질화로 Seq 이벤트 검색- 모수:
filter(필수): Seq filter expression (사용 빈 문자열"")count: 반환에 사건의 수 (과태: 100, 최대: 1000)signalId(선택 사항) : 필터 이벤트에 Signal ID (사용SignalListID 찾기)fromDateUtc(선택 사항) : Earliest date/time (ISO 8601, e.g.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Seq MCP Server
A Model Context Protocol (MCP) server that provides tools for searching and streaming events from Seq.
Installation
As a .NET Global Tool (Recommended)
# Install
dotnet tool install -g SeqMcpServer
# Update to latest version
dotnet tool update -g SeqMcpServer
# Uninstall
dotnet tool uninstall -g SeqMcpServer
Requirements
- .NET 10.0 Runtime or SDK
- Seq server (local or remote)
- Valid Seq API key
Quick Start
Development Environment
# Clone the repository
git clone https://github.com/willibrandon/seq-mcp-server
cd seq-mcp-server
# Setup development environment (fully automated)
# PowerShell (Windows)
./scripts/setup-dev.ps1
# Bash (Linux/Mac)
./scripts/setup-dev.sh
# Build and run the MCP server
dotnet build
dotnet run --project SeqMcpServer
The setup script automatically:
- Starts a Seq container on ports 15341/18081
- Configures authentication and creates an API key
- Sets up environment variables
- Creates a
.envfile for the application
Production Deployment
MCP servers are not run directly - they are launched by MCP clients. For production:
- Build and deploy the executable:
dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true
- Configure your MCP client to use the deployed executable:
{
"mcpServers": {
"seq": {
"command": "/path/to/seq-mcp-server",
"env": {
"SEQ_SERVER_URL": "http://your-seq-server:5341",
"SEQ_API_KEY": "your-production-api-key"
}
}
}
}
MCP Tools
The following tools are available through the MCP protocol:
SeqSearch- Search Seq events with filters, date ranges, signals, and pagination- Parameters:
filter(required): Seq filter expression (use empty string""for all events)count: Number of events to return (default: 100, max: 1000)signalId(optional): Signal ID to filter events (useSignalListto find IDs)fromDateUtc(optional): Earliest date/time (ISO 8601, e.g.,"2024-01-01T00:00:00Z")toDateUtc(optional): Latest date/time (ISO 8601, e.g.,"2024-01-31T23:59:59Z")afterId(optional): Event ID to search after (exclusive) - use for paginationtimeoutSeconds(optional): Timeout in seconds (1-300)workspace(optional): Specific workspace to query
- Returns: List of matching events (ordered least to most recent)
- Note: For date filtering, use
fromDateUtc/toDateUtcparameters instead of@Timestampin the filter expression for better performance - Pagination: To fetch more than 1000 events, use
afterIdwith the ID of the last event from the previous search - Example filters:
""- all events"error"- events containing “error”@Level = "Error"- error level eventsApplication = "MyApp"- events from specific application
- Parameters:
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"seq": {
"command": "/path/to/seq-mcp-server",
"env": {
"SEQ_SERVER_URL": "http://your-seq-server:5341",
"SEQ_API_KEY": "your-production-api-key"
}
}
}
}