🤖 Connect Your AI Assistant

Manage your links by asking your AI assistant: "split my hosting link 50/50 between these two offers", "which links got the most clicks last week?", "point my blog at the webinar link".

Early access. There are two ways to connect. Claude connects by signing in, with nothing to copy. Developer tools such as Claude Code and Grok Bot connect with a token. We add each app here as we test it.

What your assistant can do

Read (every connection)

  • • List and search your links, with destinations and weights
  • • Show one link in detail, and which sites use it as their default
  • • List your sites, their health and script version
  • • Tell you if your links aren't working anywhere yet, and walk you through installing the script on your website, or setting up the hosted service if your plan includes it
  • • Click stats: per day, country, device, site, link and partner (needs Analytics)

Change (Read and change only)

  • • Create links, with one destination or a weighted split
  • • Import many links at once (import_links)
  • • Change destinations, weights, the key or the redirect type
  • • Delete links
  • • Choose a site's default link

Deleting a link, choosing a site's default and editing your account's default link wait for your approval. More below.

Weights are shares, not percentages: weights 1 and 3 send a quarter and three quarters of visitors. Changes reach your sites within a few minutes, the same as changes made here; a change waiting for your approval reaches them a few minutes after you approve it.

Connect by signing in

An app that connects by signing in sends you to Link Controller to approve it. There is no token to copy. Claude works this way today; ChatGPT and Gemini will follow once we have tested them. For any other tool, use a token.

Claude

Custom connectors are on every Claude plan; the Free plan allows one.

  1. In Claude, go to Customize → Connectors, click + Add, then Add custom connector.
  2. Name it Link Controller and enter this address, then click Continue:
    https://linkcontroller.com/mcp
  3. Keep the settings Claude finds and click Continue. Under Authentication choose Sign in now. If Claude asks which OAuth client to use, choose Register automatically. Then click Add.
  4. Claude opens Link Controller. Sign in if you are not already.
  5. You see that Claude is asking to connect. Choose Read only (the default) or Read and change, then click Connect. Cancel stops without connecting.
  6. You are sent back to Claude, and we email you that it was connected.
  7. In a chat, click + at the bottom left, then Connectors, and make sure Link Controller is turned on.

Try asking:

  • "Do I have any sites set up in Link Controller?"
  • "Create a link called hosting that sends visitors to https://…"
  • "Which of my links had the most clicks this month?"

On a Claude Team or Enterprise plan, an owner adds the connector first, under Organization settings → Connectors (Add, then Custom, then Web), with the same address. Each member then finds Link Controller under Customize → Connectors and clicks Connect, which brings them to the same Link Controller screen to approve it for their own account.

Your connected apps

You always see the Link Controller screen when an app connects, even one you connected before, and only apps we have set up can connect this way.

Your connected apps are listed under Settings → AI & API with their access, when you connected them and when they last did anything. Disconnect stops an app at once and cancels any change it had waiting for your approval. Removing the connector in the app leaves it listed here until it signs itself out, so disconnect it here too. An app you do not use for about two months signs itself out; connect it again when you need it. Some apps add a new entry each time you reconnect, so the list may show the same app more than once: disconnect the ones you no longer use.

Connected apps follow the same rules as tokens: changes wait for your approval where they would for a token, appear in AI Activity as "via AI Connect: Claude" (or the app's name), and count toward the same limits. To change an app's access, disconnect it under Settings → AI & API, then connect it again from the app, choosing Read only or Read and change.

Connect with a token

For developer tools such as Claude Code and Grok Bot, and any tool that can add a remote MCP server with a header. Create a token, then add it to your tool.

1. Create a token

  1. Go to Settings → AI & API.
  2. Name the token after the tool you will use it in, for example "Claude Code".
  3. Choose Read only to try it out safely, or Read and change to let your assistant edit links.
  4. Copy the token. It is shown only once.
A token works like a password for your links. Keep it out of shared files and code repositories. If it leaks, revoke it and make a new one.

2. Add it to Claude Code

In a terminal, run this with your token in place of YOUR_TOKEN:

claude mcp add --transport http linkcontroller https://linkcontroller.com/mcp --header "Authorization: Bearer YOUR_TOKEN"

Then start Claude Code and type /mcp: linkcontroller should show as connected. Try asking:

  • "List my Link Controller links."
  • "Which of my links had the most clicks in the last 30 days?"
  • "Create a link called spring-sale that sends 70% of visitors to https://… and 30% to https://…"

Add --scope user to the command to use it in every project, not just the current folder.

2. Add it to Grok Bot

In Grok Bot on your Mac, ask it to connect to the Link Controller MCP server:

Connect to the Link Controller MCP server at https://linkcontroller.com/mcp

When it asks for a bearer token, paste your token into its secure field rather than the chat. It saves the token and checks the connection, then you can ask it to list, create or change your links.

2. Add it to another tool

Any AI tool that can add a remote MCP server over HTTP with a custom header can connect. Give it:

Server URLhttps://linkcontroller.com/mcp
TransportStreamable HTTP
HeaderAuthorization: Bearer YOUR_TOKEN

Staying in control

  • Every change is logged. Your dashboard's recent activity shows changes made through AI Connect, with the token's or app's name: "Link created: spring-sale (via AI Connect: Claude Code)".
  • The same rules apply. Your assistant goes through the same checks as this dashboard: link safety scanning, your plan, and the hourly limit on link changes, which counts changes from both.
  • Risky changes wait for you. Deleting a link, choosing a site's default and editing your default link are held until you approve them in Settings → AI & API → Approvals. More below.
  • You can undo changes yourself. AI Activity lists what your assistants changed, and you can undo a single change or a whole session. More below.
  • Revoke any time. Revoking a token, or disconnecting an app, in Settings → AI & API stops it at once.
  • Visitor data stays private. Stats are totals only. Your assistant never sees visitors' addresses, browsers or the pages they came from, only which of your sites sent them.

What waits for your approval

Deleting a link, choosing a site's default link and editing your account's default link do not happen when your assistant asks. They wait at Settings → AI & API → Approvals, where you can approve or decline each one. Your assistant is told the change is waiting.

  • A change you do not answer expires after 24 hours and nothing happens.
  • Up to 50 changes can wait at once.
  • To have creates and edits wait too, turn on Require my approval for every AI change in Settings → AI & API.
  • If the link was changed here after your assistant asked, approving applies to the link as it is now, or tells you it no longer applies.

Undoing what an assistant did

AI Activity groups what your assistants changed into sessions (a session ends after 15 minutes without a change) and keeps 90 days. Undo puts one change back as it was; Undo session first lists every change in the session, so you can untick any you want to keep, and marks the ones whose undo would delete a link or touch a link visitors are using. A deleted link can be restored, under a different key if the old one is taken.

Give each assistant or automated job its own token. A session is one token's changes, so with a token per job you can undo a test or a runaway job without touching another job's work.

Undo skips anything you changed yourself since, so it never overwrites your own work. AI Activity stays available even if AI Connect is later removed from your plan. We email you a summary after a session goes quiet for 15 minutes, or after 60 minutes of changes if it keeps going; turn that off in Settings → AI & API.

If AI changes are paused

If your assistant makes more than 10 renames or destination changes within 10 minutes, Link Controller pauses all AI changes on your account, cancels the changes still waiting for approval and emails you. Reading still works.

Look at what happened in AI Activity, undo anything you do not want, then choose Resume there.

Limits

  • 500 tool calls a day (connecting and listing tools do not count).
  • 60 requests a minute.
  • 60 link changes an hour, shared with this dashboard. An import counts as one change, however many links it holds.
  • 5,000 imported links a day, from your assistant and CSV uploads together. The count resets at midnight UTC.

Importing many links

To add dozens of links, ask your assistant to import them rather than create them one by one. Its import_links tool adds up to 500 links at a time, and counts each import as one change toward the hourly limit. It only adds new links: a key you already use is skipped and left as it is, as is any link with a mistake in it, and your assistant is told which ones and why. If you have turned on approving every AI change, the whole import waits for one approval. Undo session in AI Activity removes an import.

Or ask your assistant to make a CSV file, then upload it at Links → Import (500 rows per file). You see a preview and can fix rows before anything is saved.

You can import 5,000 links a day, counting your assistant's imports and CSV uploads together. The count resets at midnight UTC.

The first row names the columns. Link Key, Type and URL are required; the rest are optional:

Link KeyThe key in the link's address. Spaces and capitals are tidied for you.
Typesimple (one destination) or weighted (a split).
URLThe destination. A split link has one row per destination, all with the same key.
WeightFor split links, 1 to 100. Blank means 50.
OrderPosition of the destination within a split link.
PartnerA label for the destination.
StatusActive or Inactive.
Redirect301, 302, 307 or 308, or blank.
Link Key,Type,URL,Weight,Order,Partner,Status,Redirect
my-link,simple,https://example.com/offer,,,Acme Corp,Active,302
split-test,weighted,https://offer1.com,50,1,Partner A,Active,302
split-test,weighted,https://offer2.com,50,2,Partner B,Active,302

Import has a template to download, and can also download your current links in this format.

Troubleshooting

"Unauthenticated" or 401
The token is wrong or was revoked. Check the header reads Authorization: Bearer followed by the whole token, or create a new one.
A developer tool asks you to sign in instead of using your token
A token that was revoked or mistyped can make a tool such as Claude Code try to sign in instead of reporting a bad token. Create a new token under Settings → AI & API and put it in the tool's settings.
"Your plan does not include AI & API Access" or 403
Your tokens work only while your plan includes AI & API Access. They start working again if it is restored.
"This connection is read-only"
The token was created as Read only, or the app was connected as Read only. Create a Read and change token, or disconnect the app under Settings → AI & API and connect it again choosing Read and change.
An app stopped working or asks to sign in again
It was disconnected, or not used for about two months, or your plan no longer includes AI & API Access. Connect it again from the app. If the connection screen reports an error, close it and start again from the app.
"Too many requests" or a limit on link changes
AI Connect allows 60 requests a minute, and link changes share an hourly limit with this dashboard. After too many requests, wait a minute; the link change limit says how long until it resets. "You can import … more links today" is the daily limit on imported links, which resets at midnight UTC.