MCP 故障排除程序 [正在进行中]
⚠️重要提示:此软件包目前处于开发阶段,尚未准备好投入生产使用。当前版本尚在开发中,可能包含不完整的功能或重大更改。
人工智能模型的自我诊断框架,使其能够诊断和修复与 MCP 相关的问题。
建筑学
概述
MCP Troubleshooter 是一个专门的 MCP 服务器,它将故障排除从仅限开发人员的任务转变为 AI 本身可以利用的功能,从而使 AI 模型能够:
分析 MCP 日志- 自动扫描常见错误模式并提供深刻的诊断
验证配置- 根据最佳实践检查服务器配置并识别问题
测试连接- 验证网络连接和服务器可用性
生成模板- 创建有效的 MCP 服务器配置以便快速设置
修复常见问题- 更新配置并直接实施解决方案
安装
用法
Claude 桌面配置
将其添加到您的 Claude Desktop 配置中:
工具
日志管理工具
read-mcp-logs :检索并显示 MCP 日志文件
analyze-mcp-logs :使用模式识别来识别常见的错误特征
配置工具
read-mcp-config :提取并验证 Claude Desktop 的 MCP 配置
update-mcp-config :使用适当的备份机制安全地更新配置
valid-mcp-server-config :执行服务器配置的深度验证
连接测试工具
test-port-availability :检查 MCP 服务器是否提供所需端口
check-mcp-server-process :验证 MCP 服务器进程是否正常运行
修复实施工具
generate-mcp-server-template :为不同语言创建定制的服务器模板
generate-claude-desktop-config :为 Claude Desktop 构建优化的配置文件
资源
common-mcp-issues :常见 MCP 问题及其解决方案的综合指南
mcp-config-templates :各种 MCP 服务器设置的配置模板
示例用例
诊断损坏的 MCP 服务器
验证 MCP 配置
平台支持
Windows :访问
%APPDATA%\Claude\中的日志和配置macOS :访问
~/Library/Logs/Claude/中的日志和~/Library/Application Support/Claude/中的配置Linux :访问
~/.local/share/Claude/logs/中的日志和~/.config/Claude/中的配置
发展
执照
麻省理工学院
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
一种专门的诊断框架,使 AI 模型能够通过分析日志、验证配置、测试连接和实施解决方案来自我诊断并修复与 MCP 相关的问题。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA specialized MCP server that helps analyze and debug Model Context Protocol logs by providing Claude with direct access to log files across multiple platforms.Last updated -113MIT License
- Asecurity-licenseAqualityEnables AI assistants to discover, retrieve details about, and manage MCP (Model Context Protocol) servers that provide additional tools and capabilities on demand.Last updated -5478AGPL 3.0
- Asecurity-licenseAqualityA Model Context Protocol (MCP) server that helps AI coding assistants identify critical design issues in code, rather than just focusing on cosmetic problems when asked to improve code.Last updated -1117MIT License
- -security-license-qualityAn MCP server that provides natural language interaction with Google's Policy Troubleshooter API, allowing users to troubleshoot access denied errors and analyze IAM policies.Last updated -