Troubleshooting
This guide covers common issues and how to resolve them.
Server Startup Issues
"Config not found" Error
Solutions:
Check if config file exists:
bashls -la config/default.yamlSpecify config path explicitly:
bashmcp-director serve --config /path/to/your/config.yamlSet the environment variable:
bashexport MCP_DIRECTOR_CONFIG=/path/to/config.yaml
"Address already in use" Error
Solutions:
Find and stop the process using the port:
bashlsof -i :3000 kill <PID>Use a different port:
yamlsettings: http: port: 3001
"Authentication enabled but no password configured"
Solution: Either disable auth or set up a password:
# Option 1: Start with auth disabled, then enable via CLI
mcp-director serve
mcp-director auth enable --reset-password -p "your-secure-password"
# Option 2: Disable auth in configConnection Problems
SSE Connection Drops Immediately
Solutions:
Check CORS configuration:
yamlsettings: http: allowed_origins: - "http://localhost:3000"Verify client is sending correct headers
Check server logs for authentication failures
"Connection refused" When Using connect
Solutions:
Ensure the server is running with
--no-stdio:bashmcp-director serve --no-stdioVerify the URL:
bashmcp-director connect --url http://127.0.0.1:3000Check server health:
bashcurl http://127.0.0.1:3000/health
Rate Limited (429 Error)
Solutions:
Increase the rate limit:
yamlsettings: http: rate_limit: requests_per_minute: 600Or configure per-profile limits:
yamlprofiles: high-volume: rate_limit: requests_per_minute: 1000
Authentication Issues
"Invalid credentials" on Web UI Login
Solutions:
Reset password using CLI:
bashmcp-director auth enable --reset-password -p "new-password"Check auth status:
bashmcp-director auth status
Profile Token Not Working
Solutions:
Verify token in URL:
/sse?profile=myprofile&token=correct-tokenCheck profile auth is enabled:
yamlprofiles: myprofile: auth: enabled: true token: "your-token-here"Use Bearer token header:
Authorization: Bearer your-token-here
Backend/Server Issues
Backend Shows as Unhealthy
Solutions:
Check server status:
bashmcp-director server status my-serverVerify the command configuration
Check required environment variables
Look at server logs for error messages
Subprocess Backend Crashes on Startup
Solutions:
Test the command manually:
bashnode server.jsCheck for missing dependencies
Verify working directory and paths
Add required environment variables
Client Integration Issues
Claude Desktop Not Connecting
Solutions:
Verify
claude_desktop_config.json:json{ "mcpServers": { "director": { "command": "mcp-director", "args": ["serve"] } } }Ensure
mcp-directoris in PATH:bashwhich mcp-directorTry absolute path in config
Tools Not Appearing in Client
Solutions:
Check if servers are healthy:
bashcurl http://localhost:3000/api/toolsVerify namespace strategy
Check profile tool restrictions
Verify project includes the servers you need
Getting Help
If you can't resolve your issue:
Check the logs with debug level:
bashmcp-director serve --log-level debugSearch existing issues
Open a new issue with:
- MCP Director version
- Configuration (remove sensitive data)
- Full error message
- Steps to reproduce