About π§ MCP Fixer Server
MCP Fixer Server diagnoses and repairs common MCP configuration issues in Claude Desktop. It checks configuration, server health, dependencies, ports, and logs, and can fix JSON syntax errors with backups.
Key features
- 01Validate configuration syntax and paths
- 02Check MCP server health
- 03Verify system dependencies
- 04Detect port conflicts
- 05Repair JSON syntax with backups
- 06Analyze logs and suggest fixes
Use cases
- 01Investigate servers that fail to start
- 02Find configuration and path errors
- 03Check missing dependencies or port conflicts
- 04Generate a diagnostic report for MCP setup
MCP support
It exposes diagnostic and repair tools to MCP clients, including configuration analysis, server status checks, dependency validation, and JSON syntax repair.
Configuration
Local server config is the same for every client. Copy it into your clientβs MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEπ§ MCP Fixer Server
A comprehensive diagnostic and repair tool for Model Context Protocol (MCP) servers in Claude Desktop. Automatically detects, diagnoses, and fixes common MCP configuration issues.
π Features
- π Configuration Analysis - Validates JSON syntax, paths, and server settings
- π Server Status Monitoring - Real-time health checks for individual MCP servers
- βοΈ Dependency Validation - Ensures Node.js, npm, Python, UV are properly installed
- π Port Conflict Detection - Identifies network conflicts on common MCP ports
- π§ Automatic Syntax Fixing - Repairs JSON errors with automatic backup creation
- π Log File Analysis - Parses MCP logs for error patterns and insights
- π‘ Smart Suggestions - Provides targeted fix recommendations
- π‘οΈ Safety First - Creates backups before any modifications
π Quick Start
Prerequisites
- Node.js 18+ installed
- Claude Desktop with MCP support
- npm or npx available
Installation
Option 1: NPX (Recommended)
npx @kajdep/mcp-fixer install
Option 2: Global Install
npm install -g @kajdep/mcp-fixer
mcp-fixer install
Option 3: Clone and Install
git clone https://github.com/kajdep/mcp-fixer.git
cd mcp-fixer
npm install
npm run install:claude
Usage
Once installed, simply ask Claude to use the diagnostic tools:
"Claude, can you diagnose my MCP configuration?"
"Claude, check the status of my MCP servers"
"Claude, generate a comprehensive diagnostic report"
"Claude, suggest fixes for my MCP issues"
π Available Tools
| Tool | Description | Use Case |
|---|---|---|
diagnose_mcp_config | Comprehensive configuration analysis | First-line diagnosis |
check_mcp_server_status | Individual server health checks | Server connectivity issues |
fix_config_syntax | Automatic JSON syntax repair | Configuration errors |
validate_dependencies | System dependency verification | Missing tools/packages |
check_port_conflicts | Port availability scanning | Network conflicts |
generate_diagnostic_report | Complete system analysis | Full health assessment |
suggest_fixes | Targeted solution recommendations | Issue resolution |
π― Common Issues Detected
- JSON Syntax Errors - Missing commas, brackets, quotes
- Path Issues - Incorrect Windows path escaping
- Missing Dependencies - Node.js, npm, Python not found
- Port Conflicts - Multiple services using same ports
- Server Crashes - MCP servers failing to start
- Environment Variables - Missing or empty API keys
- Permission Errors - File access and executable permissions
π§ CLI Usage
# Install to Claude Desktop
mcp-fixer install
# Check installation status
mcp-fixer check
# Remove from Claude Desktop
mcp-fixer uninstall
# Show current configuration
mcp-fixer config
# Run server directly (development)
mcp-fixer run
π Example Output
{
"configPath": "/path/to/claude_desktop_config.json",
"exists": true,
"valid": true,
"issues": [],
"warnings": [
{
"type": "path_escaping",
"severity": "medium",
"server": "filesystem",
"message": "Potential path escaping issue...",
"fix": "Ensure Windows paths use double backslashes"
}
],
"serverCount": 15,
"recommendations": [
"Consider disabling unused servers to improve startup time"
]
}
π€ Contributing
We welcome contributions! Please see our Contributing Guide for details.
Quick Contribution Setup
git clone https://github.com/kajdep/mcp-fixer.git
cd mcp-fixer
npm install
npm test
π Documentation
π Changelog
See CHANGELOG.md for version history and updates.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Anthropic for Claude Desktop and MCP
π Support
- π Documentation
- π Report Issues
- π¬ Discussions
Made with β€οΈ for the MCP community"# mcp-fixer"
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.