Skip to main content

Install Bitrise MCP Server in Windsurf

PrerequisitesClick to copy link

  1. Windsurf IDE installed (latest version)
  2. A Bitrise account
  3. For local setup: Go (>=1.25) installed and a Bitrise PAT

The remote Bitrise MCP server is hosted by Bitrise at https://mcp.bitrise.io and supports Streamable HTTP. Recent Windsurf builds support MCP OAuth — the first tool use opens your browser to sign in to Bitrise; no token to paste.

Streamable HTTP ConfigurationClick to copy link

{
"mcpServers": {
"bitrise": {
"serverUrl": "https://mcp.bitrise.io"
}
}
}

Fallback: PAT-based authenticationClick to copy link

If your Windsurf build doesn't yet support MCP OAuth, create a Bitrise PAT under Account Settings → Security and add it as a header:

{
"mcpServers": {
"bitrise": {
"serverUrl": "https://mcp.bitrise.io",
"headers": {
"Authorization": "Bearer YOUR_BITRISE_PAT"
}
}
}
}

Local Server Setup (Go required)Click to copy link

{
"mcpServers": {
"bitrise": {
"command": "go",
"args": [
"run",
"github.com/bitrise-io/bitrise-mcp/v2@v2"
],
"env": {
"BITRISE_TOKEN": "YOUR_BITRISE_PAT"
}
}
}
}

Installation StepsClick to copy link

Manual ConfigurationClick to copy link

  1. Click the hammer icon (🔨) in Cascade
  2. Click Configure to open ~/.codeium/windsurf/mcp_config.json
  3. Add your chosen configuration from above
  4. Save the file
  5. Click Refresh (🔄) in the MCP toolbar
  6. On the first tool call, complete the browser-based sign-in flow (OAuth setup only)

Configuration DetailsClick to copy link

  • File path: ~/.codeium/windsurf/mcp_config.json
  • Scope: Global configuration only (no per-project support)
  • Format: Must be valid JSON (use a linter to verify)

VerificationClick to copy link

After installation:

  1. Look for "1 available MCP server" in the MCP toolbar
  2. Click the hammer icon to see available Bitrise tools
  3. Test with: "List my Bitrise apps" (first call triggers OAuth sign-in if using the remote server)
  4. Check for green dot next to the server name

Advanced configurationClick to copy link

See Tools for enabling/disabling specific API groups.

TroubleshootingClick to copy link

Remote Server IssuesClick to copy link

  • OAuth flow doesn't open browser: Update Windsurf to a recent build. Fall back to PAT-based auth in older versions.
  • Authentication failures (PAT): Verify the PAT hasn't expired or been revoked
  • Connection errors: Check firewall/proxy settings for HTTPS connections
  • Streamable HTTP not working: Ensure you're using the correct serverUrl field format

General IssuesClick to copy link

  • Invalid JSON: Validate with jsonlint.com
  • Tools not appearing: Restart Windsurf completely
  • Check logs: ~/.codeium/windsurf/logs/

Important NotesClick to copy link

  • Windsurf limitations: No environment variable interpolation, global config only