All MCP clientsFocused: Data enrichment
MCP setupAuthorization Bearer

Connect GitHub Copilot cloud agent to LeadMagic

For GitHub Copilot cloud agent.

There is no interactive sign-in: the cloud agent doesn't support OAuth, so it sends the token stored in the COPILOT_MCP_LEADMAGIC_TOKEN secret. Access tokens last one day; update the secret when it expires.

Focused MCP endpoint

https://mcp.leadmagic.io/mcp/enrichment-core
Sign-in: There is no interactive sign-in: the cloud agent doesn't support OAuth, so it sends the token stored in the COPILOT_MCP_LEADMAGIC_TOKEN secret. Access tokens last one day; update the secret when it expires.

Repository MCP configuration

Recommended

json · project · Token

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

  1. 1In the repository, open Settings → Copilot → MCP servers.
  2. 2Paste the JSON below. `tools` is required.
  3. 3Add a secret named COPILOT_MCP_LEADMAGIC_TOKEN holding a LeadMagic OAuth access token to the repository's copilot environment.
{
  "mcpServers": {
    "leadmagic_enrichment": {
      "type": "http",
      "url": "https://mcp.leadmagic.io/mcp/enrichment-core",
      "tools": [
        "*"
      ],
      "headers": {
        "Authorization": "Bearer $COPILOT_MCP_LEADMAGIC_TOKEN"
      }
    }
  }
}

Client documentation

LeadMagic MCP setup for GitHub Copilot cloud agent | LeadMagic