CodePanel
VS Code and GitHub Copilot

VS Code and GitHub Copilot

Connect GitHub Copilot in VS Code to CodePanel's MCP server with one command, and share it with your team in .vscode/mcp.json.

On this page›

Note

Do the Quickstart up to adding a provider key first. Copilot cannot add provider keys or change spending limits.

Setup

Step 1: Add the MCP server

code --add-mcp '{"name":"codepanel","type":"http","url":"https://codepanel.ai/mcp"}'

Step 2: Sign in

Skip this step with a token. VS Code asks you to sign in the first time Copilot starts the server. Approve on CodePanel's consent page.

Step 3: Teach Copilot the review loop

Copilot reads AGENTS.md and .github/copilot-instructions.md. Paste the Repository setup prompt into Copilot's agent mode: it writes .codepanel/rules.md and adds the review loop to your instructions, in one pull request.

Verify

Ask Copilot: "Use the CodePanel whoami tool." It answers with your GitHub account and its permissions. Then: "Read CodePanel's review of owner/name#123." If either fails, see Troubleshooting.

Share with your team

Commit .vscode/mcp.json with the URL only. Each person signs in with their own GitHub account.

.vscode/mcp.json
{
  "servers": {
    "codepanel": {
      "type": "http",
      "url": "https://codepanel.ai/mcp"
    }
  }
}
Last updated