MCP サーバー: MCP ログの分析とデバッグ
🎯 概要
MCP Log Readerは、モデルコンテキストプロトコル(MCP)のログ分析とデバッグを支援する専用のMCPサーバーです。Claudeはログファイルに直接アクセスできるため、MCPの統合に関するトラブルシューティングや、Claudeとツールの連携方法の理解が容易になります。
マルチプラットフォームサポート: プラットフォーム固有のログパスを使用して、macOS、Windows、Linuxで動作します。
スマートフィルタリング: 大文字と小文字を区別しないテキスト検索で特定のログエントリを検索
ページ区切りブラウジング: 大規模なログコレクションを効率的にナビゲート
サイズ管理: インテリジェントな切り捨てにより大きなログファイルを処理します
シームレスなClaude統合:Claudeデスクトップと直接連携
🚀 クイックスタート
GitHub から直接インストールします。
ビルドして実行:
🔌 クロードとの接続
Claude Desktop 構成にサーバーを追加します。
次に、Claude Desktop を再起動します。
📋 利用可能なパラメータ
ログ リーダーは次のパラメータをサポートします。
パラメータ | 説明 | デフォルト |
| 各ログファイルから読み取る行数 | 100 |
| ログエントリをフィルタリングするテキスト(大文字と小文字は区別されません) | 「」 |
| ログディレクトリへのカスタムパス | OS固有 |
| ページごとに読み取るファイルの最大数 | 5 |
| ページ番号 | 1 |
💡 使用例
Claude にログ リーダー ツールを使用するように依頼します。
または特定のパラメータを使用します:
⚙️ 仕組み
サーバーは自動的にOSを検出し、適切なログディレクトリを見つけます
すべての MCP ログファイルを検索し、変更時刻(新しい順)で並べ替えます。
要求されたログファイルのページは、ページ区切り設定に基づいて取得されます。
ファイルは、応答が多すぎるのを防ぐためにサイズ制限付きで処理されます。
フィルタリングされたコンテンツは、ページ区切りの詳細を含む構造化された形式で返されます。
📄 ライセンス
MITライセンス
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Claude が複数のプラットフォームにわたるログ ファイルに直接アクセスできるようにすることで、モデル コンテキスト プロトコル ログの分析とデバッグを支援する特殊な MCP サーバーです。
Related Resources
Related MCP Servers
- -security-license-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -325
- Asecurity-licenseAqualityA Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.Last updated -1183MIT License
- -security-license-qualityAn MCP server implementation that allows Claude to read and process CLP (Compact Log Protocol) files, supporting both stdio and SSE/HTTP communication methods.
- Asecurity-licenseAqualityA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.Last updated -31