Troubleshooting
Solutions to common issues.
Connection Issues
"Connection refused" or "Ollama is not running"
Problem: mcp-setu can't reach Ollama.
Solution:
Start Ollama in a separate terminal:
bashollama serveVerify it's running:
bashcurl http://localhost:11434/api/tagsCheck your config points to the right URL:
json{ "ollama": { "baseUrl": "http://localhost:11434" } }If Ollama is on a different machine, update
baseUrl:json{ "ollama": { "baseUrl": "http://192.168.1.100:11434" } }
"Connection timeout" or "Ollama taking too long"
Problem: Ollama is slow to respond.
Possible causes:
- Model is too large for available RAM
- Ollama is running on CPU instead of GPU
- Context length is too large
Solution:
Use a smaller model:
bashollama pull llama3.2:3b mcp-setu chat --model llama3.2:3bReduce context length in config:
json{ "ollama": { "contextLength": 2048 } }Enable GPU in Ollama (see Ollama docs)
Model Issues
"Model X not found locally"
Problem: Model isn't installed.
Solution:
# List what you have
mcp-setu models
# Pull a model
ollama pull llama3.2:3b
# Or if you want a different size
ollama pull qwen2.5:7b
ollama pull llama3.2:1b"Model X does not support tool calling"
Problem: You picked a model that can't call tools.
Solution:
Check which models support tools:
bashmcp-setu modelsSwitch to a supported model:
bashmcp-setu chat --model llama3.2:3bOr update your config:
json{ "ollama": { "model": "llama3.2:3b" } }
Supported models:
- ✅ Gemma 4, 3
- ✅ Qwen 2.5, 3
- ✅ Llama 3.2, 3.3
- ✅ Mistral Nemo
- ✅ Command R
- ✅ Phi 4
- ✅ DeepSeek R1
See Configuration for details.
MCP Server Issues
"Failed to start MCP server" or "Command not found"
Problem: An MCP server can't start.
Solution:
Check the command exists:
bash# If using npx which npx npx --version # If using custom command which <your-command>Update your config to use the correct path:
json{ "mcpServers": { "filesystem": { "command": "/usr/local/bin/npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "."] } } }Install Node.js if using npx:
bashnode --version npm --versionIf not installed, get it from nodejs.org.
"MCP server connection timeout"
Problem: Server starts but doesn't respond.
Possible causes:
- Server is hung or crashed
- Malformed arguments
- Invalid working directory
Solution:
Test with a simpler server first:
bash# Remove problematic servers temporarily # Keep just memory server which is most reliableCheck the server's requirements (e.g., SQLite needs a valid database file)
Use verbose mode to see more details:
bashmcp-setu chat --verbose
"Tool execution failed"
Problem: Tool ran but errored.
Solution:
Check arguments — Make sure you're using the tool correctly:
/tools # See tool definitionsVerbose mode shows the exact error:
bashmcp-setu chat --verboseCheck permissions — For filesystem tools, ensure you have read/write access:
bashls -la /path/to/directoryCheck database — For SQLite, ensure the database file exists:
bashls -la ./app.db
Installation Issues
"mcp-setu: command not found"
Problem: Binary isn't in PATH.
Solution:
Check GOPATH is set:
bashecho $GOPATHCheck
$GOPATH/binis in PATH:bashecho $PATHAdd it to your shell profile if missing (
~/.bashrc,~/.zshrc):bashexport PATH="$HOME/go/bin:$PATH" source ~/.bashrcVerify installation:
bashmcp-setu version
"go: unknown version" (building from source)
Problem: Go version is too old.
Solution:
go version # Check current version
# Update Go (macOS)
brew upgrade go
# Or download from https://golang.org/dl/Requires Go 1.26+.
Configuration Issues
"Invalid config file"
Problem: Config file has syntax errors.
Solution:
Validate your config:
bashmcp-setu validateCheck JSON syntax (use an online JSON validator or your editor)
Common mistakes:
- Missing commas between fields
- Trailing commas in arrays/objects
- Unquoted strings
- Invalid escape sequences
"Config file not found"
Problem: mcp-setu can't find mcp.json.
Solution:
Check the file exists:
bashls -la mcp.jsonSpecify the full path:
bashmcp-setu --config /full/path/to/mcp.json chatOr scaffold a starter config:
bashmcp-setu init
Debugging & Getting Help
Enable verbose mode
mcp-setu chat --verboseIn the chat TUI, this surfaces additional lines inline in the output panel:
💭 Processing…lines per LLM iteration⚙ <tool-name>for each tool call↳ <result>(truncated) for each tool result- Warnings (e.g., streaming fallback) prefixed with
⚠
Run validation
mcp-setu validateTests:
- Config file syntax
- Ollama connectivity
- Model tool support
- Each MCP server
- All discovered tools
List available tools
mcp-setu toolsShows all tools from all connected servers.
Check model status
mcp-setu modelsShows installed models and which support tool calling.
Get help with a command
mcp-setu --help
mcp-setu chat --help
mcp-setu validate --helpStill Stuck?
- Check the README — https://github.com/manojshevate/mcp-setu/blob/main/README.md
- Open an issue — https://github.com/manojshevate/mcp-setu/issues
- Start a discussion — https://github.com/manojshevate/mcp-setu/discussions
- Check existing issues — Your issue might already have a solution
When reporting issues, include:
- Output of
mcp-setu version - Your config file (with secrets removed)
- Output of
mcp-setu validate - Verbose output:
mcp-setu chat --verbose - What you were trying to do
- What happened instead