Guide for GitHub Copilot (VS Code)
Integrate GitHub Copilot in VS Code with AI Architect for more accurate, codebase-aware AI assistance.
Use Bito's AI Architect with GitHub Copilot in VS Code to enhance your AI-powered coding experience.
Once connected via MCP (Model Context Protocol), GitHub Copilot can leverage AI Architect’s deep contextual understanding of your project, enabling more accurate code suggestions, explanations, and code insights.
Prerequisites
Contact Bito support team at [email protected] to have your repositories indexed. You will get an MCP server URL and Auth token from Bito.
Download BitoAIArchitectGuidelines.md file. You will need to copy/paste the content from this file later when configuring AI Architect.
Requires Visual Studio Code version 1.99 or later (check with
code --version)GitHub Copilot extension installed and enabled
GitHub account with Copilot access
Set up AI Architect
Follow the setup instructions for your operating system:
Windows
Choose configuration method
You have two options:
Option A: Workspace configuration (recommended for team projects)
Location:
[ProjectRoot]\.vscode\mcp.jsonShared with team via version control
Project-specific
Option B: User configuration (personal, all workspaces)
Location:
%APPDATA%\Code\User\settings.jsonOnly available to you across all projects
Global configuration
Workspace configuration (Option A)
In your project root, create folder:
.vscodeInside
.vscode, create file:mcp.jsonOpen with VS Code or Notepad
Paste:
{
"servers": {
"Bito": {
"type": "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
}
}
}Save the file (Ctrl + S)
User configuration (Option B) (Alternative)
Press
Ctrl + Shift + Pto open Command PaletteType:
Preferences: Open User Settings (JSON)Press Enter
Add this configuration to your settings.json:
{
"mcp": {
"servers": {
"Bito": {
"type": "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
}
}
}
}Save (Ctrl + S)
Optional - Add project guidelines
In your project root, create folder:
.githubInside
.github, create file:copilot-instructions.mdCopy and paste ALL contents of
BitoAIArchitectGuidelines.mdinto this fileSave the file
File paths:
Workspace config:
[ProjectRoot]\.vscode\mcp.jsonUser config:
C:\Users\[YourUsername]\AppData\Roaming\Code\User\settings.jsonGuidelines (optional):
[ProjectRoot]\.github\copilot-instructions.md
macOS
Choose configuration method
Option A: Workspace configuration (recommended for team projects)
Location:
[ProjectRoot]/.vscode/mcp.jsonShared with team, project-specific
Option B: User configuration (personal, all workspaces)
Location:
~/Library/Application Support/Code/User/settings.jsonGlobal across all projects
Workspace configuration (Option A)
In Terminal, navigate to your project root
Run:
mkdir -p .vscodenano .vscode/mcp.jsonPaste:
{
"servers": {
"Bito": {
"type": "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
}
}
}Save:
Ctrl + O, Enter,Ctrl + X
User configuration (Option B) (Alternative)
Press
Cmd + Shift + Pto open Command PaletteType:
Preferences: Open User Settings (JSON)Press Enter
Add this configuration to your settings.json:
{
"mcp": {
"servers": {
"Bito": {
"type": "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
}
}
}
}Save:
Cmd + S
Optional - Add project guidelines
mkdir -p .githubnano .github/copilot-instructions.mdCopy and paste ALL contents of BitoAIArchitectGuidelines.md into this file
File paths:
Workspace:
[ProjectRoot]/.vscode/mcp.jsonUser:
~/Library/Application Support/Code/User/settings.jsonGuidelines:
[ProjectRoot]/.github/copilot-instructions.md
Linux
Workspace configuration (Option A)
mkdir -p .vscodenano .vscode/mcp.jsonPaste:
{
"servers": {
"Bito": {
"type": "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
}
}
}Save: Ctrl + O, Enter, Ctrl + X
User configuration (Option B) (Alternative)
Press
Ctrl + Shift + PType:
Preferences: Open User Settings (JSON)Add to settings.json:
{
"mcp": {
"servers": {
"Bito": {
"type": "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
}
}
}
}Save:
Ctrl + S
Optional - Add guidelines
In Terminal, run:
mkdir -p .githubnano .github/copilot-instructions.mdCopy and paste ALL contents of
BitoAIArchitectGuidelines.mdinto this fileSave:
Ctrl + O, Enter,Ctrl + X
File paths:
Workspace:
[ProjectRoot]/.vscode/mcp.jsonUser:
~/.config/Code/User/settings.jsonGuidelines:
[ProjectRoot]/.github/copilot-instructions.md
Last updated

