Skip to main content
Glama

MCP Log Reader

MCP サーバー: MCP ログの分析とデバッグ

🎯 概要

MCP Log Readerは、モデルコンテキストプロトコル(MCP)のログ分析とデバッグを支援する専用のMCPサーバーです。Claudeはログファイルに直接アクセスできるため、MCPの統合に関するトラブルシューティングや、Claudeとツールの連携方法の理解が容易になります。

  • マルチプラットフォームサポート: プラットフォーム固有のログパスを使用して、macOS、Windows、Linuxで動作します。
  • スマートフィルタリング: 大文字と小文字を区別しないテキスト検索で特定のログエントリを検索
  • ページ区切りブラウジング: 大規模なログコレクションを効率的にナビゲート
  • サイズ管理: インテリジェントな切り捨てにより大きなログファイルを処理します
  • シームレスなClaude統合:Claudeデスクトップと直接連携

🚀 クイックスタート

GitHub から直接インストールします。

# Clone the repository git clone https://github.com/klara-research/MCP-Analyzer.git cd MCP-Analyzer # Install dependencies npm i

ビルドして実行:

# Compile TypeScript npx tsc

🔌 クロードとの接続

Claude Desktop 構成にサーバーを追加します。

{ "mcpServers": { "log-reader": { "command": "node", "args": [ "/absolute/path/MCP-Analyzer/build" ] } } }

次に、Claude Desktop を再起動します。

📋 利用可能なパラメータ

ログ リーダーは次のパラメータをサポートします。

パラメータ説明デフォルト
lines各ログファイルから読み取る行数100
filterログエントリをフィルタリングするテキスト(大文字と小文字は区別されません)「」
customPathログディレクトリへのカスタムパスOS固有
fileLimitページごとに読み取るファイルの最大数5
pageページ番号1

💡 使用例

Claude にログ リーダー ツールを使用するように依頼します。

Can you check my MCP logs for any connection errors in the last day?

または特定のパラメータを使用します:

Can you look through MCP logs with filter="error" and lines=50 to find initialization issues?

⚙️ 仕組み

  1. サーバーは自動的にOSを検出し、適切なログディレクトリを見つけます
  2. すべての MCP ログファイルを検索し、変更時刻(新しい順)で並べ替えます。
  3. 要求されたログファイルのページは、ページ区切り設定に基づいて取得されます。
  4. ファイルは、応答が多すぎるのを防ぐためにサイズ制限付きで処理されます。
  5. フィルタリングされたコンテンツは、ページ区切りの詳細を含む構造化された形式で返されます。

📄 ライセンス

MITライセンス

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude が複数のプラットフォームにわたるログ ファイルに直接アクセスできるようにすることで、モデル コンテキスト プロトコル ログの分析とデバッグを支援する特殊な MCP サーバーです。

  1. 🎯 概要
    1. 🚀 クイックスタート
      1. 🔌 クロードとの接続
        1. 📋 利用可能なパラメータ
          1. 💡 使用例
            1. ⚙️ 仕組み
              1. 📄 ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server for web research. Bring real-time info into Claude and easily research any topic.
                  Last updated -
                  3
                  525
                  269
                  JavaScript
                  MIT License
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A 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 -
                  32
                  5
                  TypeScript
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  A 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 -
                  1
                  247
                  3
                  JavaScript
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP server implementation that allows Claude to read and process CLP (Compact Log Protocol) files, supporting both stdio and SSE/HTTP communication methods.
                  Last updated -
                  Python
                  Apache 2.0
                  • Linux

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/klara-research/MCP-Analyzer'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server