Troubleshooting
IMPORTANT
Join our discord channel for quick help.
Checkhealth
Run :checkhealth mcphub
in Neovim to check for common issues
Environment Requirements
- Ensure these are installed as they're required by most MCP servers:
bash
node --version # Should be >= 18.0.0
python --version # Should be installed
uvx --version # Should be installed
- Most server commands use
npx
oruvx
- verify these work in your terminal
Configuration File
- Ensure config path is absolute
- Verify file contains valid JSON with
mcpServers
key - Check server-specific configuration requirements
- Validate server command and args are correct for your system
MCP Server Issues
- Check server logs in MCPHub UI (Logs view)
- Set logging to file:
lua
{
level = vim.log.levels.DEBUG,
to_file = true,
file_path = vim.fn.expande("~/mcphub.log"),
}
- Test tools and resources individually to isolate issues
- Validate server configurations using either:
- MCP Inspector: GUI tool for verifying server operation
- mcp-cli: Command-line tool for testing servers with config files
LLM Model Issues
If the LLM isn't making correct tool calls:
Schema Support
- Models with function calling support (like claude-3.5) work best with Avante's schema format
- Only top-tier models handle XML-based tool formats correctly
- Consider upgrading to a better model if seeing incorrect tool usage
Common Tool Call Issues
- Missing
action
field - Incorrect
server_name
- Missing
tool_name
oruri
- Malformed arguments
- Missing
Recommended Models
- Claude 3.5 Sonnet
- Claude 3.7 Sonnet
- Gemini 2.5 Pro
- gpt 4.1
- Mistral Large
Port Issues
- If you get
EADDRINUSE
error, kill the existing process:
bash
lsof -i :[port] # Find process ID
kill [pid] # Kill the process
Need Help?
- Join our discord channel for quick help.
- Feel free to open an Issue for bugs or doubts
- Create a Discussion for questions, showcase, or feature requests