Back to .md Directory

Install Bitrise MCP Server in Windsurf

Configures Windsurf IDE to connect to Bitrise MCP server, either remotely via Streamable HTTP or locally with Go.

May 2, 2026
0 downloads
4 views
ai mcp
View source

What this file does

Configures Windsurf IDE to connect to Bitrise MCP server, either remotely via Streamable HTTP or locally with Go.

When to use it

  • You use Windsurf IDE and want Bitrise CI/CD tools available in the editor
  • You need to set up a remote MCP server hosted by Bitrise
  • You prefer running the MCP server locally with Go installed
  • You are troubleshooting MCP server connection issues in Windsurf

Assumes this stack

WindsurfBitriseGoMCPStreamable HTTP

Install Bitrise MCP Server in Windsurf

Prerequisites

  1. Windsurf IDE installed (latest version)
  2. Create a Bitrise API Token:
  3. For local setup: Go (>=1.25) installed

Remote Server Setup (Recommended)

The remote Bitrise MCP server is hosted by Bitrise at https://mcp.bitrise.io and supports Streamable HTTP protocol.

Streamable HTTP Configuration

Windsurf supports Streamable HTTP servers with a serverUrl field:

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

Local Server Setup (Go required)

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

Installation Steps

Manual Configuration

  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

Configuration Details

  • 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)

Verification

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"
  4. Check for green dot next to the server name

Advanced configuration

See Tools for enabling/disabling specific API groups.

Troubleshooting

Remote Server Issues

  • Authentication failures: Verify PAT hasn't expired
  • Connection errors: Check firewall/proxy settings for HTTPS connections
  • Streamable HTTP not working: Ensure you're using the correct serverUrl field format

General Issues

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

Important Notes

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

What's inside

2 setup methods (remote and local), 5 installation steps, 3 troubleshooting sections, 2 code examples

Change this for your project

  • Replace YOUR_BITRISE_PAT with your actual Bitrise personal access token
  • Replace YOUR_BITRISE_PAT in the local setup env variable as well

Where it goes

Save as AGENTS.md in your repository root. Read by Codex, Cursor and other agents that follow the AGENTS.md convention.

Worth borrowing

  • Offers both remote and local server options so users can choose based on their environment
  • Includes a verification checklist with specific UI cues (green dot, hammer icon)

Related Documents