docs/troubleshooting/serena-installation.md
Symptoms:
error: Failed to spawn: `serena`
Caused by: No such file or directory (os error 2)
Root Cause:
The SuperClaude installer was incorrectly configured to use uv run serena instead of uvx for Serena MCP server installation.
Solution:
Remove existing broken installation:
claude mcp remove serena
Install Serena using correct uvx method:
uvx --from git+https://github.com/oraios/serena serena --help
Register with Claude CLI:
claude mcp add serena -- uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context ide-assistant
Verify installation:
claude mcp list
Difference:
uv run serena - Runs serena from local project dependencies (fails if not installed locally)uvx --from git+https://github.com/oraios/serena serena - Runs serena directly from GitHub repositoryCorrect Usage:
Always use uvx for Serena, as it's designed to work with remote GitHub repositories.
Issue: UV Installation Method If you installed UV with the curl method:
curl -LsSf https://astral.sh/uv/install.sh | sh
Make sure uvx is available:
uvx --version
If not available, install uv with pip:
pip install uv
After successful installation, verify Serena is working:
Check MCP connection:
claude mcp list
Test basic functionality: Start Claude Code and verify Serena appears in available MCP servers
Check logs for errors:
ls ~/.cache/claude-cli-nodejs/*/mcp-logs-serena/
cat ~/.cache/claude-cli-nodejs/*/mcp-logs-serena/latest.txt
GitHub Codespaces:
Local Development:
pip install uv or pipx install uvWSL/Linux:
If automatic installation fails, manually configure ~/.claude.json:
{
"mcpServers": {
"serena": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/oraios/serena",
"serena",
"start-mcp-server",
"--context",
"ide-assistant"
]
}
}
}
If issues persist:
uvx --versionuvx --from git+https://github.com/oraios/serena serena --helpThis troubleshooting guide is for:
For older versions, refer to legacy documentation or upgrade to latest SuperClaude Framework.