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ライセンス

You must be authenticated.

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

                • -
                  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 -
                  48
                  4
                  TypeScript
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server that provides code analysis capabilities using tree-sitter, designed to give Claude intelligent access to codebases with appropriate context management.
                  Last updated -
                  26
                  33
                  Python
                  MIT License
                  • Apple
                  • Linux
                • -
                  security
                  A
                  license
                  -
                  quality
                  A GDB/MI protocol server based on the MCP protocol, providing remote application debugging capabilities.
                  Last updated -
                  19
                  Rust
                  MIT License
                  • Linux
                  • 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
                  1
                  3
                  JavaScript
                  MIT License
                  • Apple

                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