Guide for Cursor

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

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

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

Prerequisites

  1. Contact Bito support team at [email protected] to have your repositories indexed. You will get an MCP server URL and Auth token from Bito.

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

Set up AI Architect

Follow the setup instructions for your operating system:

Windows

1

Locate Cursor config directory

  1. Press Win + R

  2. Type: %APPDATA%\Cursor

  3. Press Enter

If folder doesn't exist, run Cursor once to create it.

2

Create/update MCP configuration

  1. In %APPDATA%\Cursor, find or create: cursor_desktop_config.json

  2. Open with Notepad or VS Code

  3. Add or update the mcpServers section:

{
  "mcpServers": {
    "Bito": {
      "transport": "http",
      "url": "Enter_MCP_Server_URL_Here", // e.g. "https://mcp.bito.ai/123456/mcp"
      "headers": {
        "Authorization": "Enter_Auth_Token_Here" // e.g. "Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      },
      "timeout": 60000,
      "disabled": false
    }
  }
}

Note:

  • Replace the text Enter_MCP_Server_URL_Here with the actual MCP server URL.

  • Replace the text Enter_Auth_Token_Here with the actual auth token.

  1. Save

3

Create workspace guidelines file

  1. In your project root, create: .cursorrules

  2. Open with text editor

  3. Copy and paste ALL contents of BitoAIArchitectGuidelines.md into this file

  4. Save

4

Activate in Cursor

  1. Open Cursor

  2. Press Ctrl + , (comma) to open Settings

  3. Navigate to Features > MCP or Developer > MCP

  4. Click Refresh button

  5. You should see "BitoAIArchitect" listed

5

Restart Cursor

Close and reopen Cursor.

File paths:

  • Global config: C:\Users\[YourUsername]\AppData\Roaming\Cursor\cursor_desktop_config.json

  • Workspace guidelines: [ProjectRoot]\.cursorrules

macOS

1

Create Cursor config directory

  1. Open Terminal

  2. Run:

mkdir -p ~/.cursor
2

Create/update MCP configuration

  1. Run:

nano ~/.cursor/cursor_desktop_config.json
  1. Paste:

{
  "mcpServers": {
    "Bito": {
      "transport": "http",
      "url": "Enter_MCP_Server_URL_Here", // e.g. "https://mcp.bito.ai/123456/mcp"
      "headers": {
        "Authorization": "Enter_Auth_Token_Here" // e.g. "Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      },
      "timeout": 60000,
      "disabled": false
    }
  }
}

Note:

  • Replace the text Enter_MCP_Server_URL_Here with the actual MCP server URL.

  • Replace the text Enter_Auth_Token_Here with the actual auth token.

  1. Save: Ctrl + O, Enter, Ctrl + X

3

Create workspace guidelines file

  1. In your project root, run:

nano .cursorrules
  1. Copy and paste ALL contents of BitoAIArchitectGuidelines.md into this file

  2. Save: Ctrl + O, Enter, Ctrl + X

4

Activate in Cursor

  1. Open Cursor

  2. Press Cmd + , to open Settings

  3. Navigate to Features > MCP

  4. Click Refresh button

  5. "BitoAIArchitect" should appear

5

Restart Cursor

Close and reopen Cursor.

File paths:

  • Config: ~/.cursor/cursor_desktop_config.json

  • Workspace guidelines: [ProjectRoot]/.cursorrules

Linux

1

Create Cursor config directory

  1. Open Terminal

  2. Run:

mkdir -p ~/.cursor
2

Create/update MCP configuration

  1. Run:

nano ~/.cursor/cursor_desktop_config.json
  1. Paste:

{
  "mcpServers": {
    "Bito": {
      "transport": "http",
      "url": "Enter_MCP_Server_URL_Here", // e.g. "https://mcp.bito.ai/123456/mcp"
      "headers": {
        "Authorization": "Enter_Auth_Token_Here" // e.g. "Bearer xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      },
      "timeout": 60000,
      "disabled": false
    }
  }
}

Note:

  • Replace the text Enter_MCP_Server_URL_Here with the actual MCP server URL.

  • Replace the text Enter_Auth_Token_Here with the actual auth token.

  1. Save: Ctrl + O, Enter, Ctrl + X

3

Create workspace guidelines file

  1. In your project root, run:

nano .cursorrules
  1. Copy and paste ALL contents of BitoAIArchitectGuidelines.md into this file

  2. Save: Ctrl + O, Enter, Ctrl + X

4

Activate in Cursor

  1. Open Cursor

  2. Press Ctrl + , to open Settings

  3. Navigate to Features > MCP

  4. Click Refresh button

  5. "BitoAIArchitect" should appear

5

Restart Cursor

Close and reopen Cursor.

File paths:

  • Config: ~/.cursor/cursor_desktop_config.json

  • Workspace guidelines: [ProjectRoot]/.cursorrules

Last updated