Connect

GitHub Copilot

GitHub Copilot CLI is GitHub's coding agent for the terminal. It uses Laterbase as a remote MCP server, signed in with your account. For Copilot in VS Code, see VS Code.

ToolsSigns in, no key

Connect

  1. Run this in your terminal. It adds the server for every session.
Shell
copilot mcp add --transport http laterbase https://laterbase.dev/mcp

Then start copilot. When it asks, sign in to Laterbase in the browser tab that opens and allow Copilot CLI.

Check it works

/mcp show laterbase in a session lists its tools. The sign-in is listed under Connected apps on Connections.

Disconnect

Shell
copilot mcp remove laterbase

That removes the server. To revoke its access from this side, press Disconnect next to it under Connected apps on Connections.

With an API key

If you'd rather not sign in, add the server with an API key.

  1. Sign in, open Connections on the dashboard and create an API key. It's shown once, so copy it into the snippet straight away. One key per machine keeps things tidy.
  2. Run this in your terminal, with your key in place of the placeholder.
Shell
copilot mcp add --transport http \
  --header "Authorization: Bearer lb_live_your_key" \
  laterbase https://laterbase.dev/mcp

In more than one workspace? Add one server per workspace, each with its own key and a name like laterbase-acme, so agents can work in both at once. See Workspaces and connections.

copilot mcp list shows laterbase, and /mcp show laterbase in a session lists its tools.

Shell
copilot mcp remove laterbase

That removes the server. To cut it off for good, revoke the key on Connections. Agents using it stop working on their next call.