MCP スモロジック
Sumo Logic の API と統合してログ検索を実行するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
カスタムクエリを使用してSumo Logicログを検索する
検索の時間範囲を設定可能
エラー処理と詳細なログ記録
簡単に導入できるDockerサポート
環境変数
設定
リポジトリをクローンする
依存関係をインストールします:
npm install必要な環境変数を含む
.env
ファイルを作成するプロジェクトをビルドします。
npm run buildサーバーを起動します。
npm start
Dockerのセットアップ
Docker イメージをビルドします。
docker build -t mcp/sumologic .コンテナを実行します (1 つの方法を選択):
a. 環境変数を直接使用する:
docker run -e ENDPOINT=your_endpoint -e SUMO_API_ID=your_api_id -e SUMO_API_KEY=your_api_key mcp/sumologicb. .env ファイルを使用する:
docker run --env-file .env mcp/sumologic注: .env ファイルに必要な環境変数が含まれていることを確認してください。
ENDPOINT=your_endpoint SUMO_API_ID=your_api_id SUMO_API_KEY=your_api_key
使用法
サーバーは、次のパラメータを受け入れるsearch-sumologic
ツールを公開します。
query
(必須): Sumo Logicの検索クエリfrom
(オプション): ISO 8601形式の開始時刻to
(オプション): ISO 8601形式の終了時刻
クエリの例:
エラー処理
サーバーには包括的なエラー処理とログ記録が含まれています。
APIエラーがキャッチされ、詳細とともにログに記録されます
検索ジョブのステータスが監視され、記録されます
ネットワークと認証の問題が適切に処理されている
発達
開発モードで実行するには:
テストの場合:
This server cannot be installed
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.
Sumo Logic の API と統合して、構成可能なクエリと時間範囲によるログ検索を可能にし、エラー処理と Docker 経由の簡単なデプロイメントをサポートします。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityInteracts with LogSeq via its API.Last updated -117
- -securityFlicense-qualityEnables LLMs to perform semantic search and document management using ChromaDB, supporting natural language queries with intuitive similarity metrics for retrieval augmented generation applications.Last updated -
- -securityAlicense-qualityEnables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.Last updated -303MIT License
- -securityFlicense-qualityAllows developers and AI Agents to query Google Cloud Logging using natural language, translating queries into Google Cloud Logging Query Language (LQL) with Vertex AI Gemini 2.5.Last updated -1