[BUG] MCP server "supabase" Server stderr: /usr/bin/bash: Files\Git\bin\bash.exe: No such file or directory
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ X ] Other: Claude Code
- Claude CLI version: 1.0.64 (Claude Code)
- Operating System: Windows 11
- Terminal: C:\Program Files\Git\bin\bash.exe
Bug Description
Supabase MCP server doesn't start. I get this error:
[ERROR] MCP server "supabase" Server stderr: /usr/bin/bash: Files\Git\bin\bash.exe: No such file or directory
Steps to Reproduce
- Install supabase MCP with this configuration:
{
"mcpServers": {
"supabase": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@supabase/mcp-server-supabase@latest",
"--read-only",
"--project-ref=<project-ref>"
],
"env": {
"SUPABASE_ACCESS_TOKEN": "<personal-access-token>"
}
}
}
}
- Start claude --debug
Expected Behavior
MCP server start without error.
Actual Behavior
It seems to search in a wrong path.
Additional Context
Manage MCP servers │
│ │
│ ❯ 1. supabase ✔ connected · Enter to view details
Supabase MCP Server │
│ │
│ Status: ✔ connected │
│ Command: cmd │
│ Args: /c npx -y @supabase/mcp-server-supabase@latest [...]
supabase - execute_sql (MCP)(query: "SELECT * FROM users LIMIT 50;")
⎿ Error: {"error":{"name":"Error","message":"Unauthorized. Please provide a valid access token to the MCP
server via the --access-token flag or SUPABASE_ACCESS_TOKEN."}}
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗