Connect VS Code and GitHub Copilot to your account

9 views
Short answer: In VS Code open the Command Palette, run MCP: Add Server, enter the address https://ai.sib.host/mcp and choose Global and then Copilot Global as the destination. Then choose Authenticate in the sib server actions and sign in with your account on this site. No key is needed.

VS Code with GitHub Copilot can use MCP servers. With this connection, Copilot sees your services at سیب هاست in chat; for example, it checks the free space on your hosting before you publish changes to your site.

Quick reference

Server namesib
Connection address (MCP)https://ai.sib.host/mcp
Server typeHTTP
Recommended destinationGlobal > Copilot Global
Configuration file~/.copilot/mcp-config.json (on Windows %USERPROFILE%\.copilot\mcp-config.json)
Recommended methodSign in with your account on this site (OAuth) with Authenticate
Second methodAPI key in headers with the SIB_AI_KEY environment variable
RequiresAccess to GitHub Copilot
Manage and revokeClient area > AI assistant

mcp-config.json to connect with your account

{
  "mcpServers": {
    "sib": {
      "type": "http",
      "url": "https://ai.sib.host/mcp",
      "tools": ["*"]
    }
  }
}

Quick diagnosis

Message you seeWhat it means and what to do
The MCP: Add Server command is missingVS Code or the GitHub Copilot extension is out of date, or your organization has turned MCP off. Update both, and in an organization account ask your GitHub admin.
sib is added but Copilot does not have its toolsYou have not signed in yet. Run MCP: List Servers, pick sib and choose Authenticate.
Copilot asks for approval before each toolThis is normal. Copilot asks for your approval before it runs an MCP tool.
You have reached your key limitEach app connection counts as a key. Revoke an old key on the AI assistant page.

Steps

  1. Add the server: Open the Command Palette with Ctrl+Shift+P and run MCP: Add Server. If it asks for the server type, choose HTTP.
  2. Enter the address: Enter https://ai.sib.host/mcp and name it sib. For the destination, choose Global and then Copilot Global.
  3. Sign in: If VS Code does not offer the sign-in by itself, run MCP: List Servers, pick sib and choose Authenticate. Your browser opens the sign-in page of this site.
  4. Choose the access: Choose the services, the access level and how long it lasts, then click "Allow". If your browser asks to open VS Code, allow it.
  5. Try it: Open Copilot chat and ask "Show my services at سیب هاست".

Connect with a key (second method)

Create a key with the "Create a new key" form on the AI assistant page and put it in the SIB_AI_KEY environment variable (the ready-to-run commands appear after you create the key). Then write the sib part of mcp-config.json like this and restart VS Code:

{
  "mcpServers": {
    "sib": {
      "type": "http",
      "url": "https://ai.sib.host/mcp",
      "headers": {
        "Authorization": "Bearer ${SIB_AI_KEY}"
      },
      "tools": ["*"]
    }
  }
}

Troubleshooting and tips

  • The file already lists other servers: Add only the "sib" part inside mcpServers and leave the rest of the file as it is.
  • The .vscode/mcp.json file: This is the old way and is not used for new connections. Use Copilot Global.
  • Keep your key private: Do not write the key directly in the configuration file; use only ${SIB_AI_KEY}.
  • Cut access: Revoke the connection with the "App connection" label on the AI assistant page. Removing the server in VS Code does not revoke access by itself.
  • Note: If it still does not connect, see Troubleshooting the AI assistant connection.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket
Was this article helpful?
No, I need more help
Didn't find your answer?
Under 3 minutes
Submit Support Ticket