All MCP clientsFocused: Sheets
MCP setupAuthorization Bearer

Connect GitHub Copilot CLI to LeadMagic

For GitHub Copilot CLI.

GitHub doesn't document OAuth for remote MCP servers in Copilot CLI, so send a LeadMagic OAuth access token in the Authorization header.

Focused MCP endpoint

https://mcp.leadmagic.io/mcp/sheets-core
Sign-in: GitHub doesn't document OAuth for remote MCP servers in Copilot CLI, so send a LeadMagic OAuth access token in the Authorization header.

Copilot CLI config

Recommended

json · global · Token · mcp-config.json

Needs a LeadMagic OAuth access token (issued by https://clerk.leadmagic.io, scope mcp_all, valid for one day). LeadMagic API keys are rejected.

{
  "mcpServers": {
    "leadmagic_sheets": {
      "type": "http",
      "url": "https://mcp.leadmagic.io/mcp/sheets-core",
      "tools": [
        "*"
      ],
      "headers": {
        "Authorization": "Bearer YOUR_LEADMAGIC_OAUTH_TOKEN"
      }
    }
  }
}

Add from the command line

cli · global · Token

Or run /mcp add inside Copilot CLI. Then add the Authorization header to ~/.copilot/mcp-config.json.

copilot mcp add --transport http leadmagic_sheets https://mcp.leadmagic.io/mcp/sheets-core

Client documentation