Troubleshooting
Troubleshooting
Section titled “Troubleshooting”Common issues and solutions for NeuBird MCP.
Installation Issues
Section titled “Installation Issues”Command Not Found: mcp-server-neubird
Section titled “Command Not Found: mcp-server-neubird”Problem: mcp-server-neubird: command not found
Solutions:
-
Check installation:
Terminal window npm list -g mcp-server-neubird -
Reinstall globally:
Terminal window npm install -g mcp-server-neubird -
Use npx instead:
Terminal window npx mcp-server-neubird
Node Version Error
Section titled “Node Version Error”Problem: Error: Node.js 20+ required
Solution:
# Check versionnode --version
# Upgrade Node.js# macOSbrew install node@20
# Linuxcurl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt-get install -y nodejsAuthentication Issues
Section titled “Authentication Issues”401 Unauthorized
Section titled “401 Unauthorized”Problem: Authentication failed: 401 Unauthorized
Solutions:
-
Verify credentials:
Terminal window # Check environment variablesecho $NEUBIRD_EMAIL -
Test login:
- Try logging into NeuBird web UI
- Reset password if needed
-
Check for typos:
- No extra spaces
- No surrounding quotes
- Correct email format
-
For remote server (email/password):
- Verify the
X-NeuBird-EmailandX-NeuBird-Passwordheaders are correct (X-NeuBird-*headers are also accepted for backward compatibility) - Check the remote server URL is correct
- Verify the
-
For remote server (bearer token):
- Verify the token is not expired — tokens are JWTs with an
expclaim - Test the token manually:
Terminal window curl -s https://<your-deployment-name>.app.neubird.ai/mcp \-H "Authorization: Bearer <your-token>" \-H "Content-Type: application/json" \-H "Accept: application/json, text/event-stream" \-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' - If expired, obtain a fresh token from the login endpoint (see Installation)
- Verify the token is not expired — tokens are JWTs with an
Connection Timeout
Section titled “Connection Timeout”Problem: ECONNREFUSED or ETIMEDOUT
Solutions:
-
Check network:
Terminal window curl https://app.neubird.ai/api/health -
Check firewall:
- Allow outbound HTTPS (443)
- Check corporate proxy settings
-
For remote server:
- Verify the remote server URL is reachable
- Check with your administrator
Claude Desktop Issues
Section titled “Claude Desktop Issues”Tools Not Showing
Section titled “Tools Not Showing”Problem: Can’t see NeuBird tools in Claude Desktop
Solutions:
-
Verify config file location:
Terminal window # macOScat ~/Library/Application\ Support/Claude/claude_desktop_config.json# Windowstype %APPDATA%\Claude\claude_desktop_config.json -
Check JSON syntax:
- Use JSONLint
- Look for missing commas
- Check bracket matching
-
Restart Claude Desktop:
- Completely quit (Cmd+Q on macOS)
- Wait 3 seconds
- Relaunch
-
Check logs:
Terminal window # macOStail -f ~/Library/Logs/Claude/mcp*.log# Look for errors
MCP Server Crashes
Section titled “MCP Server Crashes”Problem: MCP server keeps crashing
Solutions:
-
Test server directly:
Terminal window npx @modelcontextprotocol/inspector npx mcp-server-neubird -
Check credentials:
- Ensure all env vars are set
- No special characters causing issues
-
Update package:
Terminal window npm update -g mcp-server-neubird
Investigation Issues
Section titled “Investigation Issues”Investigation Takes Too Long
Section titled “Investigation Takes Too Long”Problem: Investigation running for several minutes
Normal Duration: 30-90 seconds
If Longer:
-
First investigation on new project:
- Initial sync takes 5-10 minutes
- Subsequent investigations faster
-
Check connection sync:
Show me connection status -
Complex incident:
- Many data sources = longer time
- This is normal
Investigation Progress Issues
Section titled “Investigation Progress Issues”Status Shows ‘unknown’
Section titled “Status Shows ‘unknown’”Problem: Investigation status returns ‘unknown’ or no progress data
Solutions:
-
Investigation just started:
- Wait 5-10 seconds for stream to initialize
- Check again:
Show me the investigation status
-
Stream connection initializing:
- Normal during first few seconds
- Progress data will appear shortly
-
Investigation hasn’t started yet:
- Verify investigation was created successfully
- Check session UUID is correct
No Steps Showing
Section titled “No Steps Showing”Problem: investigation_summary.steps is empty or undefined
Solutions:
-
Early initialization phase:
- Investigation may be in early setup
- Chain of thought messages haven’t arrived yet
- Wait 30 seconds and check again
-
Investigation just completed:
- Use
neubird_get_chain_of_thoughtfor full step details - Use
neubird_get_rcafor final results
- Use
-
Check investigation age:
- Progress data is cleaned up after 1 hour
- For older investigations, use other tools like
get_chain_of_thought
Progress Stuck at Same Percentage
Section titled “Progress Stuck at Same Percentage”Problem: Progress percentage hasn’t changed in several minutes
This is Normal When:
-
Complex data queries:
- Some steps require heavy database queries
- Analysis phase often takes longer
- May pause at 30-60% during correlation analysis
-
Large data sets:
- Processing many logs or metrics
- Normal for thorough investigations
-
Pattern detection:
- ML-based analysis can take time
- Expected behavior
Concerning If:
-
Stuck at 0% for >2 minutes:
- Investigation may have failed to start
- Check connection sync status
- Try creating a new investigation
-
Stuck at same % for >5 minutes:
- Check investigation status for errors
- Look for error messages in status response
- Contact support if issue persists
Very Few Data Sources
Section titled “Very Few Data Sources”Problem: unique_sources only shows 1-2 sources, expected more
Solutions:
-
Check connection sync:
Show me project connections# Ensure all are in SYNCED state -
Verify data availability:
Show me available resources for this project# Check if expected log/metric sources exist -
Time range issues:
- Incident may be outside data retention period
- Check if data exists for the incident timeframe
-
Connection permissions:
- Verify IAM/API key permissions
- Ensure connections can access all resources
Current Step Not Updating
Section titled “Current Step Not Updating”Problem: current_step field shows same message for several checks
Solutions:
-
Check progress_percentage:
- If increasing, investigation is progressing
- current_step updates at major milestones only
- Check completed_steps instead
-
Long-running step:
- Some steps naturally take longer
- Analysis and diagnosis phases especially
- Normal behavior
-
Investigation may be done:
- Check status field for “completed”
- Get final RCA:
Show me the RCA
Incomplete RCA
Section titled “Incomplete RCA”Problem: RCA lacks details or specific recommendations
Solutions:
-
Add context instructions:
Create a SYSTEM instruction with our architecture details -
Add investigation steps:
Create RCA instructions for common incident types -
Verify connections:
Show me project connections# Ensure all are SYNCED -
Check data availability:
Show me available resources for this project
Incorrect Root Cause
Section titled “Incorrect Root Cause”Problem: RCA identifies wrong root cause
Solutions:
-
Ask follow-up questions:
Why do you think that's the root cause?What other possibilities exist? -
Add clarifying instruction:
Create an instruction to guide this type of investigation better -
Test instruction first:
- Apply to past session
- Rerun investigation
- Compare results
Connection Issues
Section titled “Connection Issues”Connection Won’t Sync
Section titled “Connection Won’t Sync”Problem: Connection stuck in SYNCING state
Solutions:
-
Check status:
Show me connection details for [connection-uuid] -
Verify credentials:
- AWS: Check role ARN and external ID
- Datadog: Check API/app keys
- Azure: Check all 4 credentials
-
Check permissions:
- AWS: ReadOnlyAccess policy
- Ensure trust relationship correct
-
Wait longer:
- First sync: 5-10 minutes normal
- Large environments: up to 15 minutes
Missing Resources
Section titled “Missing Resources”Problem: Expected resources not showing in discoveries
Solutions:
-
Check sync status:
Wait for connection to sync completely -
Verify region:
- AWS: Ensure region included in connection
- Resources in unconfigured regions won’t show
-
Check permissions:
- Missing permissions = missing resources
- Verify IAM policies
Performance Issues
Section titled “Performance Issues”Slow Responses
Section titled “Slow Responses”Problem: Claude responses taking long time
Solutions:
-
Use compact mode:
Show me sessions in compact format -
Limit results:
Show me only last 10 sessions -
Use global install:
Terminal window npm install -g mcp-server-neubird# Faster than npx
High Memory Usage
Section titled “High Memory Usage”Problem: MCP server using too much memory
Solutions:
-
Restart MCP server:
- Restart Claude Desktop
-
Limit concurrent operations:
- Investigate one alert at a time
-
Update to latest version:
Terminal window npm update -g mcp-server-neubird
Error Messages
Section titled “Error Messages””No uninvestigated incidents found”
Section titled “”No uninvestigated incidents found””Meaning: All alerts have been investigated OR filters are removing them
Solutions:
-
Expand time range:
Show uninvestigated alerts from last 30 days -
Check filters:
Show me active FILTER instructions -
Include all severities:
- Your filter might be too aggressive
”Session not found”
Section titled “”Session not found””Problem: Session UUID not found
Solutions:
-
Verify UUID:
- Check for typos
- Use correct UUID format
-
Check project:
- Ensure using correct project
- Session might be in different project
-
List sessions:
Show me all sessions
“Connection not synced”
Section titled ““Connection not synced””Problem: Connection not ready for use
Solution:
Wait for connection [uuid] to finish syncingDebug Mode
Section titled “Debug Mode”Enable Verbose Logging
Section titled “Enable Verbose Logging”In Claude Desktop config:
{ "mcpServers": { "neubird": { "command": "npx", "args": ["-y", "mcp-server-neubird"], "env": { "NEUBIRD_EMAIL": "...", "NEUBIRD_PASSWORD": "...", "NEUBIRD_LOG_LEVEL": "debug" } } }}Using MCP Inspector
Section titled “Using MCP Inspector”Test server in isolation:
npx @modelcontextprotocol/inspector npx mcp-server-neubirdOpens web interface showing:
- Available tools
- Tool execution
- Request/response logs
- Errors
Getting Help
Section titled “Getting Help”If issues persist:
-
Check logs:
Terminal window # macOStail -100 ~/Library/Logs/Claude/mcp*.log -
Test with inspector:
Terminal window npx @modelcontextprotocol/inspector npx mcp-server-neubird -
Contact support:
- Email: support@neubird.ai
- Include: Error message, logs, MCP version
-
Documentation: