[BUG] MCP server "supabase" Server stderr: /usr/bin/bash: Files\Git\bin\bash.exe: No such file or directory

Resolved 💬 2 comments Opened Jul 31, 2025 by alley-oop-sales-platform Closed Aug 1, 2025

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

  1. 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>"
}
}
}
}

  1. 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."}}

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗