How to Fix Shopify Broken Links from Claude or ChatGPT (MCP)
Connect your Shopify store's broken link scanner to Claude, ChatGPT, Cursor or Codex over MCP, then ask in plain English which links are broken and have them fixed. Setup steps, example prompts and the safety limits.
The Model Context Protocol (MCP) is the standard way for AI assistants to use outside tools. If an app has an MCP server, you can add it to Claude or ChatGPT and then ask for things in a chat instead of clicking through a dashboard.
Relink scans your Shopify products, pages, collections and blog posts for links to pages that no longer exist, and suggests the page each one was meant to reach. Its MCP server lets an assistant do the same work through a conversation.
What you can ask
Once connected, try:
- “Which broken links on my store are ready to fix?”
- “Fix the ready ones and tell me what changed.”
- “Show me the links that need a closer look, and why.”
- “Start a new scan and tell me when it’s done.”
- “Undo the last fix you made.”
- “Ignore the broken link to the old wholesale page. It’s intentional.”
The assistant sees the same lists as the dashboard: links ready to apply, links that need review, links with no suggestion yet, plus your fix history, the redirects Relink added and the links you’ve ignored.
Before you start
- A Shopify store with Relink installed, on the Pro or Business plan. Both have a 7-day free trial.
- An AI app that supports remote MCP servers. Claude’s custom connectors are on its Pro, Max, Team and Enterprise plans. ChatGPT needs Developer mode, which is on Plus and Pro.
Step 1: Copy the server URL
In Shopify admin, open Relink → Settings → AI agents. Copy the Server URL shown under “Connect an AI app”.
Step 2: Add it to your AI app
Claude (web, desktop and mobile)
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it Relink and paste the server URL.
- Choose Connect, then approve the connection in Shopify admin.
ChatGPT (web)
- Open Settings → Connectors. Under Advanced settings, turn on Developer mode.
- Create a connector named Relink with the server URL and choose OAuth for authentication.
- Sign in and approve the connection in Shopify admin.
Claude Code
claude mcp add --transport http relink <server URL>
Then type /mcp in Claude Code to sign in.
Codex
codex mcp add relink --url <server URL>
Codex opens your browser to sign in.
Cursor
Add this to ~/.cursor/mcp.json, then choose Needs login next to Relink in Cursor’s MCP settings:
{ "mcpServers": { "relink": { "url": "<server URL>" } } }
VS Code (with Copilot)
Run MCP: Add Server from the Command Palette, choose HTTP, paste the server URL and name it Relink. Start the server and sign in when asked.
Step 3: Approve it in Shopify admin
Signing in takes you to a consent screen inside your Shopify admin. The store you’re logged into there is the one that gets connected, so an assistant can’t be pointed at a different store by mistake. Connected apps are listed under Settings → AI agents, where you can revoke any of them.
The limits, and why they’re there
An assistant that can change your store needs guard rails. Relink’s are deliberately stricter than the dashboard:
- It only applies suggestions marked ready to apply unless you explicitly tell it to apply one that needs review.
- Removing a link needs explicit confirmation. A removed link is the one change Undo can’t restore.
- A custom destination must be a page on your own store. Page copy is untrusted text an assistant may be reading, and a redirect to another website is exactly what a malicious instruction hidden in that copy would ask for.
- Every change goes through the same code as the dashboard, with the same plan limits, and shows up in History, where you can undo it.
- Usage is rate limited per store, so a looping assistant can’t run away with your store.
When this is worth it
If you’re happy clicking through a list of suggestions, the dashboard is quicker. The chat route is useful when you already work in Claude or ChatGPT all day, when you want a summary (“what broke this week, and why?”) rather than a table, or when you’re managing several stores and want to ask the same question of each.
Relink finds the broken links inside your Shopify content and suggests the page each one meant. Install free on Shopify.
Ready to fix your store's broken links?
Relink scans your Shopify store automatically and uses AI to suggest the right fix for every broken link it finds.
Install Relink — FreeFree plan available · No credit card required