Connect LinktoDM to ChatGPT
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.
The MCP URL
Section titled “The MCP URL”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.
Set up ChatGPT
Section titled “Set up ChatGPT”ChatGPT calls these plugins. You add LinktoDM from the Plugins page in the left sidebar, not from Settings.
-
In ChatGPT, click Plugins in the left sidebar, then click Add at the top right and choose Add custom MCP server.
-
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.
- Name:
-
Tick I understand and want to continue, then click Create as a plugin.
-
Click Connect LinktoDM. A LinktoDM sign-in page opens in a new tab. Sign in and approve access.
-
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:
What you can do once connected
Section titled “What you can do once connected”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.”
Troubleshooting
Section titled “Troubleshooting”“401 Unauthorized” after connecting
Section titled ““401 Unauthorized” after connecting”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/.
Tools aren’t showing up in the chat
Section titled “Tools aren’t showing up in the chat”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.
Sign-in page doesn’t open
Section titled “Sign-in page doesn’t open”Pop-up blockers can swallow the OAuth window. Allow pop-ups for the AI client’s domain and try again.
Still stuck?
Section titled “Still stuck?”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.