MCP Analyzer logo

MCP Analyzer

by klara-research

MCP Log Reader is a specialized MCP server that helps you analyze and debug Model Context Protocol logs. It provides Claude with direct access to log files, making it easy to troubleshoot MCP integrations.

View on GitHub

Last updated: N/A

What is MCP Analyzer?

MCP Log Reader is a specialized server designed to analyze and debug Model Context Protocol (MCP) logs, providing Claude with direct access to log files for troubleshooting and understanding interactions.

How to use MCP Analyzer?

  1. Clone the repository. 2. Install dependencies using npm i. 3. Compile TypeScript using npx tsc. 4. Add the server configuration to your Claude Desktop settings. 5. Restart Claude Desktop. 6. Ask Claude to use the log reader tool with or without specific parameters.

Key features of MCP Analyzer

  • Multi-platform Support

  • Smart Filtering

  • Paginated Browsing

  • Size Management

  • Seamless Claude Integration

Use cases of MCP Analyzer

  • Troubleshooting MCP integrations

  • Understanding Claude's interaction with tools

  • Analyzing connection errors

  • Finding initialization issues

  • Examining specific log entries based on filters

FAQ from MCP Analyzer

How does the server find the log files?

The server automatically detects your OS and finds the appropriate log directory.

How are the log files processed?

The server locates all MCP log files, sorts them by modification time (newest first), and retrieves the requested page based on pagination settings. Files are processed with size limits to prevent overwhelming responses.

What parameters can I use to filter the logs?

You can use the lines, filter, customPath, fileLimit, and page parameters to filter and paginate the log data.

What kind of license is this project under?

The project is licensed under the MIT License.

How does the server prevent large responses?

Files are processed with size limits to prevent overwhelming responses.