Skip to content

GitHub Copilot

Connect AppAmbit to GitHub Copilot in VS Code to integrate the SDK, fix crashes, and manage your backend from Copilot Chat.


Before you start

  • You need a personal access token. See Get a token.
  • Use Copilot Chat in Agent mode. MCP tools are only available there.

Connect

  1. Create a file named .vscode/mcp.json in your project.
  2. Add this. VS Code asks for your token the first time it connects and stores it securely, so it isn't saved in the file:

    .vscode/mcp.json
    {
      "inputs": [
        {
          "type": "promptString",
          "id": "appambit-token",
          "description": "AppAmbit token",
          "password": true
        }
      ],
      "servers": {
        "appambit": {
          "type": "http",
          "url": "https://appambit.com/mcp/appambit",
          "headers": {
            "Authorization": "Bearer ${input:appambit-token}"
          }
        }
      }
    }
    
  3. Click Start above the appambit entry in the file, and paste your token when asked.

Note

Copilot uses servers, not mcpServers like other assistants.

Check that it works

Open Copilot Chat in Agent mode and click the tools icon. The AppAmbit tools should be listed. Then ask:

List my AppAmbit apps.

Disconnect

Delete the appambit entry from .vscode/mcp.json. You can also delete the token on the AI Assistant page of the dashboard.


Troubleshooting

Problem Solution
The tools don't show up Switch Copilot Chat to Agent mode. MCP tools don't appear in Ask mode.
The server doesn't start Click Start above the appambit entry in .vscode/mcp.json, and check the Output panel for errors.
Unauthorized error The token is wrong or was deleted. Run MCP: List Servers from the command palette, restart appambit, and enter a new token.
My app doesn't show up The token belongs to a different workspace. Create a token from the workspace that has the app.
Cloud Code says it's not enabled Your plan doesn't include Cloud Code. Ask "What does my AppAmbit plan include?"

Still stuck? Ask us on Discord.