MCP setupOAuth

Connect ChatGPT to LeadMagic

For ChatGPT, ChatGPT Developer Mode, Responses API.

ChatGPT opens the LeadMagic sign-in when you install the plugin. Approve access, then @-mention LeadMagic in a chat.

Sign-in: ChatGPT opens the LeadMagic sign-in when you install the plugin. Approve access, then @-mention LeadMagic in a chat.

ChatGPT: add a custom MCP server

Recommended

manual · manual · OAuth

Full MCP support needs a Business, Enterprise or Edu workspace. OpenAI is renaming Connectors and Apps to Plugins, and developer-mode settings sit in different places by plan.

  1. 1Go to chatgpt.com/plugins and click +.
  2. 2Choose Add custom MCP server.
  3. 3Name: LeadMagic. Description: B2B enrichment. Server URL: https://mcp.leadmagic.io/mcp.
  4. 4Set authentication to OAuth, then click Create as a plugin.
  5. 5Install the plugin and sign in to LeadMagic.
https://mcp.leadmagic.io/mcp

Responses API (developers)

json · manual · Token

The Responses API has no OAuth flow: your app passes a token in `authorization` on every request. Needs a LeadMagic OAuth access token (issued by https://clerk.leadmagic.io, scope mcp_all, valid for one day). LeadMagic API keys are rejected.

{
  "type": "mcp",
  "server_label": "leadmagic",
  "server_url": "https://mcp.leadmagic.io/mcp",
  "authorization": "YOUR_LEADMAGIC_OAUTH_TOKEN",
  "require_approval": "never",
  "allowed_tools": [
    "check_credit_balance",
    "find_work_email",
    "account_intel"
  ]
}

Client documentation