Skip to main content
SendURL, home

MCP server · On every plan

SendURL MCP server: ask your AI assistant for short links and click reports

Add one address to Claude, ChatGPT, Claude Code, Cursor or VS Code and sign in. Then ask in plain words: shorten this, switch that one off, where did this week's clicks come from. You choose what the assistant may do and can disconnect it at any time. It is on every plan, the Free plan too.

  • Sign in, no key to paste
  • You choose its permissions
  • Disconnect at any time
Claude Code
$ claude mcp add \
    --transport http sendurl \
    https://api.sendurl.to/mcp
$ claude mcp login sendurl
> Shorten this link, tag it
  Campaign, and show me its
  clicks so far:
  https://yoursite.com/launch

● list_tags
  Found the Campaign tag.
● create_link
  Created snu.to/x7Kp2 in Default,
  tagged Campaign.
  QR code: snu.to/x7Kp2?q
● get_link
  0 clicks so far.
Sample session

What you can ask your assistant

The MCP server gives an assistant 17 tools. It creates, finds, changes and switches off links, reads each link's clicks, reports on any period your plan's history covers, and lists your folders, tags and domains. It works only inside your workspace, and only with the permissions you gave it.

  • Create

    “Shorten https://example.com/launch and tag it Campaign.”

    Runs list_tagscreate_link

  • Check your plan

    “How many links do I have left on my plan?”

    Runs get_account

  • Find and tidy

    “Which of my links point to the old pricing page? Switch them off.”

    Runs list_linksupdate_link

    Changes a link, so it is marked destructive.

  • Read one link

    “How many clicks has my launch link had, and how many were QR scans?”

    Runs list_linksget_link

  • Report on a period

    “Summarise this week's clicks by country and referrer.”

    Runs get_analytics_breakdown

    Any range your plan's history covers.

  • Rank

    “What are my five most-clicked links this week?”

    Runs get_analytics_overview

  • Run A/B tests

    “Which variant of my signup link is winning? Keep it.”

    Runs list_linksget_analytics_breakdownpick_ab_test_winner

    Keeping a winner that changes the destination is Pro and above.

  • Organise

    “Create a folder for the spring campaign and move my spring links into it.”

    Runs create_folderlist_linksupdate_link

What it can't do: it keeps no schedule and no memory between chats, it can't create tags or add domains, and it never sees a link's password, an API key or your billing.

How sign-in works

Your assistant never gets your SendURL password, and you don't paste a key. It sends you to a SendURL page, you say what it may do, and SendURL gives it access you can take back.

  1. Add the address

    Give your assistant the server address, https://api.sendurl.to/mcp. It finds the SendURL sign-in by itself.

  2. Sign in and choose

    Your browser opens a SendURL page that names the app, where it connects from and where it sends you back. Pick the workspace, untick any permission you don't want it to have, then choose Allow.

  3. Ask

    The assistant sees only the tools those permissions allow. It stays signed in while you use it.

  4. Disconnect when you like

    It is listed under Connected apps on the console's API keys page. Choose it, then Disconnect, and its next call is refused.

Sample: Delete links left unticked
  • Who

    Owners and admins approve

    Only an owner or admin of the workspace can connect an app to it.

  • Unknown apps

    SendURL says when it can't vouch

    The page shows the address the app connects from and where it sends you back. An app that registered itself carries an “Unverified app” note, and one named like a known brand but not hosted by it carries a red warning, the usual sign of a copycat. Cursor's own app is the expected exception: it registers itself, so it shows both.

  • No sign-in?

    Use an API key

    Scripts and clients that send a header use an API key with the same six permissions, as Authorization: Bearer snu_…. ChatGPT only signs in.

How do I connect my assistant?

Add the server address https://api.sendurl.to/mcp and sign in. The four most common clients are below; Codex, other clients and every screen are in the MCP server setup guide.

claude.ai and the Claude apps

  1. Add a connector

    Open Customize → Connectors, choose + Add, then Add custom connector.

  2. Paste the address

    Name it SendURL and paste https://api.sendurl.to/mcp.

  3. Sign in and allow

    Choose Connect, sign in to SendURL, choose the permissions and Allow. On Claude Team and Enterprise, an owner adds the connector first.

ChatGPT

  1. Add a custom MCP server

    In ChatGPT's settings for apps and connectors, choose to add a custom MCP server. The menu's name depends on your plan.

  2. Paste the address

    Paste https://api.sendurl.to/mcp as the server URL and choose OAuth.

  3. Sign in and allow

    Create it, sign in to SendURL, choose the permissions and Allow. Pick SendURL in a chat with @.

Claude Code

Add the server, then sign in. Your browser opens the SendURL page; Claude Code keeps and renews the access for you. /mcp inside Claude Code does the same.

Add, then sign in
claude mcp add --transport http sendurl https://api.sendurl.to/mcp
claude mcp login sendurl

Cursor and VS Code

Add the server to the editor's MCP file and sign in when the editor asks. No key goes in either file.

For Cursor, the SendURL page shows “Unverified app” and a red brand warning. That is expected for Cursor's own app, which registers itself; for any other app, stop. Choose Allow only if the line under the heading sends you back to localhost (the desktop app) or www.cursor.com (on the web).

Cursor: ~/.cursor/mcp.json
{
  "mcpServers": {
    "sendurl": {
      "url": "https://api.sendurl.to/mcp"
    }
  }
}
VS Code: .mcp.json
{
  "mcpServers": {
    "sendurl": {
      "type": "http",
      "url": "https://api.sendurl.to/mcp"
    }
  }
}

Prefer an API key?

Claude Code, Codex, Cursor, VS Code and your own scripts can send an API key instead, as Authorization: Bearer snu_…. Create one with only the permissions the assistant needs and keep it in an environment variable.

Claude Code, with an API key
claude mcp add --transport http sendurl https://api.sendurl.to/mcp \
  --header "Authorization: Bearer $SENDURL_API_KEY"

Your shell fills in the key, so Claude Code saves the key itself in your own settings. Share a connection with --scope project only from the sign-in command; to share a key-based one, the setup guide shows a .mcp.json that reads each person's key from their environment. Never put a key in a file you share or commit.

Every tool and the permission it needs

Each tool calls the same route as the REST API, so the same rules apply: your plan's limits, your folders and the same error codes. Three tools change or remove what exists; SendURL marks them destructive so your assistant can ask you first.

The tools of the SendURL MCP server
ToolWhat it doesPermission
get_accountYour workspace, plan, limits and usageReadsworkspace:read
list_linksFind links by search text, folder, tag or status; newest or most-clicked first, 10 at a timeReadslinks:read
get_linkOne link: destination, status, tags, click total and QR scansReadslinks:read
create_linkCreate a short link: custom slug, title, folder and tags; expiry or a password on Pro and aboveCreateslinks:write
update_linkChange a link: title, tags, folder, on or off; its destination, expiry or password on Pro and aboveMarked destructivelinks:write
delete_linkDelete a link for good (paid plans; Free switches links off instead)Marked destructivelinks:delete
pick_ab_test_winnerEnd a link's A/B test: the winning variant becomes its destinationMarked destructivelinks:write
get_link_statsA link's all-time clicks per dayReadslinks:read
list_link_clicksA link's clicks one by one, newest first: country, device, browser and referring siteReadslinks:read
get_analytics_overviewClicks for a period: totals, a daily series, the period before, top links, top tags and social sourcesReadsanalytics:read
get_analytics_breakdownClicks ranked by link, country, device, browser, OS, referrer or A/B variant; by city or UTM on Pro and aboveReadsanalytics:read
list_analytics_clicksClicks one by one for a period, across the workspace, a folder or one linkReadsanalytics:read
list_foldersYour folders, Default firstReadsWorkspace keys and apps onlyworkspace:read
create_folderCreate a folderCreatesWorkspace keys and apps onlyfolders:write
list_tagsYour tags, to tag or filter linksReadsworkspace:read
list_domainsYour snu.to subdomains and custom domains, with their statusReadsworkspace:read
get_domainOne domain, with its status and DNS set-upReadsworkspace:read

A folder-level key sees only its folder's links and gets no folder tools.

Permissions and safety

You decide what an assistant may do, and you can take it back. These are the four things that keep it in bounds.

  • Permissions

    Six permissions, chosen by you

    You tick them on the SendURL page when you sign in, or on the key when you create it. An assistant sees only the tools they allow; a call outside them is refused and names the permission it needs.

  • Confirmation

    Changes are marked for confirmation

    SendURL marks update_link, delete_link and pick_ab_test_winner as destructive, so your assistant can ask you to confirm before running them. Most clients do by default; check your client's tool approval settings.

  • Disconnect

    Disconnect at any time

    Open API keys in the console. Choose a connected app under Connected apps, then Disconnect; a key in the list of keys has Revoke. Confirm, and its next call is refused.

  • Limits

    60 tool calls a minute

    Each key or connected app gets 60 tool calls a minute, and analytics tools run one at a time. Past the limit a call is refused with the time to wait.

The six permissions
PermissionWhat it allows
Read links links:readList and view links, their daily stats and their clicks one by one
Create and edit links links:writeCreate links, change them, pick an A/B test winner
Delete links links:deleteDelete links (paid plans)
Read analytics analytics:readOverview, breakdowns and clicks across links
Read workspace workspace:readAccount, folders, tags and domains
Create folders folders:writeCreate new folders

No tool returns a link's password, an API key or a visitor's IP address. A click shows the referring site's host, never the full address it came from. Cloudflare, in front of the server, also allows 50 requests per 10 seconds from one IP address. Full details are in the MCP server reference.

Free on every plan, documented in the open

The MCP server is on every plan, Free included, and there is nothing to install: SendURL hosts it. Your plan applies as it does in the console, and a tool that needs a paid feature names the plan that includes it. Client configurations and the tool list are on GitHub at sendurl-to/sendurl-mcp, where you can also report a problem.

Every plan side by side: Pricing.

SendURL MCP server: questions and answers

Still curious? Email hi@sendurl.to and a human will reply.

  • MCP, the Model Context Protocol, is an open standard that lets an assistant such as Claude or ChatGPT use outside tools. The SendURL MCP server gives an assistant tools to create and manage your short links and read their clicks, so you can ask for them in plain words.

Connect your assistant

Sign up free, add one address to your assistant, sign in, and ask it for your first short link.

No card needed.