Guide for Windsurf

Integrate Windsurf with AI Architect for more accurate, codebase-aware AI assistance.

Use Bito's AI Architect with Windsurf to enhance your AI-powered coding experience.

Once connected via MCP (Model Context Protocol), Windsurf can leverage AI Architect’s deep contextual understanding of your project, enabling more accurate code suggestions, explanations, and code insights.

Prerequisites

  1. Follow the AI Architect installation instructions. Upon successful setup, you will receive a Bito MCP URL and Bito MCP Access Token that you need to enter in your coding agent.

  2. Download BitoAIArchitectGuidelines.md file. You will need to copy/paste the content from this file later when configuring AI Architect.

    • Note: This file contains best practices, usage instructions, and prompting guidelines for the Bito AI Architect MCP server. The setup will work without this file, but including it helps AI tools interact more effectively with the Bito AI Architect MCP server.

Set up AI Architect

Follow the setup instructions for your operating system:

Windows

1

Create Windsurf config directory

  1. Press Win + R

  2. Type: %USERPROFILE%\.codeium\windsurf

  3. Press Enter

If the folders don't exist, create them:

  1. Open File Explorer

  2. Navigate to %USERPROFILE%

  3. Create folders: .codeium\windsurf

2

Create or edit mcp_config.json

  1. Open %USERPROFILE%\.codeium\windsurf\mcp_config.json in a text editor.

  2. If the file doesn't exist, create it with this content:

Note:

  • Replace <Your-Bito-MCP-URL> with the Bito MCP URL you received after completing the AI Architect setup.

  • Replace <Your-Bito-MCP-Access-Token> with the Bito MCP Access Token you received after completing the AI Architect setup.

  1. If the file exists with other servers, add BitoAIArchitect to the mcpServers object:

Note:

  • Replace <Your-Bito-MCP-URL> with the Bito MCP URL you received after completing the AI Architect setup.

  • Replace <Your-Bito-MCP-Access-Token> with the Bito MCP Access Token you received after completing the AI Architect setup.

  1. Save

3

The BitoAIArchitectGuidelines.md file contains best practices, usage instructions, and prompting guidelines for the Bito AI Architect MCP server.

The setup will work without this file, but including it helps AI tools interact more effectively with the Bito AI Architect MCP server.

Option A: Global guidelines (applies to all projects):

Create directory:

Copy the contents of your BitoAIArchitectGuidelines.md file into global_rules.md file:

Option B: Project-level guidelines (applies to specific project):

In your project directory, create .windsurf\rules directory:

Copy the contents of your BitoAIArchitectGuidelines.md file into bitoai-architect.md file:

Note: Windsurf Wave 8+ uses .windsurf\rules\*.md format for project-level rules. Global guidelines in ~/.codeium/windsurf/memories/global_rules.md are supported in all versions.

4

Restart Windsurf

  1. Close Windsurf completely

  2. Reopen Windsurf

  3. Open Settings β†’ Cascade β†’ MCP Servers

  4. Click "Refresh"

  5. Verify BitoAIArchitect appears with green status

macOS/Linux

1

Create Windsurf config directory

2

Create or edit mcp_config.json

Add this content:

Note:

  • Replace <Your-Bito-MCP-URL> with the Bito MCP URL you received after completing the AI Architect setup.

  • Replace <Your-Bito-MCP-Access-Token> with the Bito MCP Access Token you received after completing the AI Architect setup.

Save and exit (Ctrl+O, Enter, Ctrl+X)

3

The BitoAIArchitectGuidelines.md file contains best practices, usage instructions, and prompting guidelines for the Bito AI Architect MCP server.

The setup will work without this file, but including it helps AI tools interact more effectively with the Bito AI Architect MCP server.

Option A: Global guidelines (applies to all projects):

Create directory:

Copy the contents of your BitoAIArchitectGuidelines.md file into global_rules.md file:

Option B: Project-level guidelines (applies to specific project):

In your project directory, create .windsurf/rules directory:

Copy the contents of your BitoAIArchitectGuidelines.md file into bitoai-architect.md file:

Note: Windsurf Wave 8+ uses .windsurf/rules/*.md format for project-level rules. Global guidelines in ~/.codeium/windsurf/memories/global_rules.md are supported in all versions.

4

Restart Windsurf

  1. Close Windsurf completely

  2. Reopen Windsurf

  3. Open Settings β†’ Cascade β†’ MCP Servers

  4. Click "Refresh"

  5. Verify BitoAIArchitect appears with green status

Troubleshooting Windsurf

Server not showing:

Connection errors:

  • Verify Bito MCP URL and Bito MCP Access Token are correct.

  • Test endpoint with MCP protocol:

Note:

  • Replace <Your-Bito-MCP-URL> with the Bito MCP URL you received after completing the AI Architect setup.

  • Replace <Your-Bito-MCP-Access-Token> with the Bito MCP Access Token you received after completing the AI Architect setup.

  • Check Settings β†’ Cascade β†’ MCP Servers for error messages.

Last updated