Skip to content

Connect LinktoDM to ChatGPT

Updated

LinktoDM ships a hosted MCP server (Model Context Protocol) so any MCP-compatible AI client (Claude, ChatGPT, Cursor, VS Code, and others) can read your LinktoDM account, contacts, automations, and analytics, and act on your behalf. Connection takes about a minute and uses your existing LinktoDM login (OAuth), with no API keys to copy or rotate.

Every client uses the same URL. Copy it once and paste it where the client asks for the server endpoint.

https://api.linktodm.com/v1/mcp/

Authentication is handled automatically over OAuth. When the client first connects, you’ll be sent to a LinktoDM sign-in page in your browser to approve access.

ChatGPT calls these plugins. You add LinktoDM from the Plugins page in the left sidebar, not from Settings.

  1. In ChatGPT, click Plugins in the left sidebar, then click Add at the top right and choose Add custom MCP server.

  2. Fill in the form:

    • Name: LinktoDM
    • Description (optional): for example, Read my Instagram DM automations, analytics and contacts
    • Connection: keep Server URL selected and paste the MCP URL
    • Authentication: leave it on OAuth. ChatGPT discovers our OAuth settings itself, so you don’t need to open Advanced OAuth settings or enter a client ID or secret.
  3. Tick I understand and want to continue, then click Create as a plugin.

  4. Click Connect LinktoDM. A LinktoDM sign-in page opens in a new tab. Sign in and approve access.

  5. You’ll land on the LinktoDM plugin page. Click Try in chat, or open any new chat and type @LinktoDM before your question.

Here’s what a first question looks like once LinktoDM is connected:

@LinktoDM How did my Instagram automations do in the last 30 days?

Whatever the client lets you do in natural language. Common asks:

  • “List my LinktoDM automations and which ones are active.”
  • “How many DMs did my comment-to-DM automations send last week?”
  • “Show me the latest contacts that opted in to my list.”
  • “Pause the automation for my last reel.”
  • “Export my conversion analytics for the past 30 days as CSV.”

The OAuth token expired or was revoked. In the client, disconnect the LinktoDM server and reconnect. You’ll be sent through the sign-in flow again.

Client says “could not connect to server”

Section titled “Client says “could not connect to server””

Confirm you copied the full URL (it ends with /v1/mcp/). If you’re behind a corporate proxy, allow outbound HTTPS to https://api.linktodm.com/v1/mcp/.

Most clients require you to explicitly enable the connector for the conversation. Claude: toggle the connector chip; ChatGPT: type @LinktoDM in the message or pick it from the + menu; Cursor and VS Code: switch to Agent mode. Check the client’s MCP panel to confirm the server shows as connected before asking the AI to use it.

Pop-up blockers can swallow the OAuth window. Allow pop-ups for the AI client’s domain and try again.

Email us at support@linktodm.com with the client name, the version, and a screenshot of the error. We usually reply the same business day.