Seq MCP サーバー
SeqのAPIエンドポイント用のMCPサーバーは、ログおよび監視システムと連携するためのものです。このサーバーは、モデルコンテキストプロトコルを介してSeqのAPI機能への包括的なアクセスを提供します。
特徴
ツール
シグナル管理
get-signals
- フィルタリングオプションを使用してシグナルを取得する- 所有者IDでフィルタリング
- 共有/プライベート信号をフィルタリングする
- 部分一致のサポート
イベント管理
get-events
- 豊富なフィルタリングオプションを使用してイベントを取得します- シグナルIDでフィルタリング
- カスタムフィルター式
- 設定可能なイベント数(最大100)
- 柔軟な時間範囲オプション
- 日付範囲フィルタリング
アラート管理
get-alertstate
- アラートの現在の状態を取得する
リソース
シグナルリスト
signals
- 共有されているすべてのシグナルを詳細情報とともに一覧表示します- 信号ID
- タイ���ル
- 説明
- 共有ステータス
- 所有者情報
構成
サーバーには次の環境変数が必要です。
SEQ_BASE_URL
(オプション): Seq サーバーの URL (デフォルトは ' http://localhost:8080 ')SEQ_API_KEY
(必須): Seq API キー
Claude Desktopでの使用
claude_desktop_config.json
に追加します:
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
テストを実行します:
時間範囲オプション
get-events
ツールは、次の時間範囲オプションをサポートしています。
1m
- 最後の1分15m
- 最後の15分30m
- 最後の30分1h
- 最後の1時間2h
- 最後の2時間6h
- 過去6時間12h
- 過去12時間1d
- 最終日7d
- 過去7日間14d
- 過去14日間30d
- 過去30日間
インストール
このツールはまだ開発中であり、npmリポジトリにプッシュされていません。ローカルにこのリポジトリをクローンし、 npm run build
でビルドしてください。
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。サーバーは、すべての操作に対して適切なエラー処理とログ記録を実装しています。テストスクリプトを実行して機能を確認できます。
型安全性
サーバーは以下を使用して包括的な型安全性を実装します。
- 静的型チェックのためのTypeScript
- 実行時型チェックのための Zod スキーマ検証
- 適切なエラー処理と応答のフォーマット =======
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Seq MCP サーバーは、ログ記録と監視のための Seq の API エンドポイントとの対話を可能にし、広範なフィルタリングおよび構成オプションを備えた信号、イベント、アラートを管理するためのツールを提供します。
Related Resources
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -04TypeScriptMIT License
- -securityAlicense-qualityMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.Last updated -23TypeScriptMIT License
- -securityAlicense-qualityThis server implements the Model Context Protocol (MCP) to handle asynchronous tasks with real-time status tracking, robust error handling, and automatic resource management.Last updated -21JavaScriptMIT License
- -securityFlicense-qualityA server for Model Context Protocol (MCP) that uses Server-Sent Events (SSE) for streaming communication, enabling tools like the HackerNews API to be accessed through a secure HTTP+SSE transport.Last updated -23TypeScript