• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 19043045070

03 Nov 2025 05:11PM UTC coverage: 53.318% (-1.4%) from 54.728%
19043045070

Pull #4383

github

web-flow
Merge 321c707b4 into df557dc33
Pull Request #4383: feat(mcp): add `supabase mcp init` command to configure MCP clients

0 of 297 new or added lines in 8 files covered. (0.0%)

26 existing lines in 4 files now uncovered.

6388 of 11981 relevant lines covered (53.32%)

5.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/mcp/init/utils.go
1
package mcpinit
2

3
import (
4
        "fmt"
5
        "os"
6
        "runtime"
7
)
8

9
// appExists checks if a macOS application is installed
NEW
10
func appExists(appName string) bool {
×
NEW
11
        if runtime.GOOS == "darwin" {
×
NEW
12
                locations := []string{
×
NEW
13
                        fmt.Sprintf("/Applications/%s.app", appName),
×
NEW
14
                        fmt.Sprintf("%s/Applications/%s.app", os.Getenv("HOME"), appName),
×
NEW
15
                }
×
NEW
16
                for _, location := range locations {
×
NEW
17
                        if _, err := os.Stat(location); err == nil {
×
NEW
18
                                return true
×
NEW
19
                        }
×
20
                }
21
        }
NEW
22
        return false
×
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc