Are you an AI agent? Machine-readable entry points:/llms.txt/llms-full.txt/catalog.json

Short links & QR codes MCP server for Claude and ChatGPT

Your assistant can shorten links to unil.li, make QR codes for print and tell you which links get clicked and scanned. Connect it to https://unilink.us/mcp once; there is no other account to link.

How to connect

  1. Create a UniLink account

    Free to start. Get started free →

  2. Choose a paid plan

    Short links and QR codes through the assistant need a paid plan. See pricing →

  3. Add UniLink to your assistant

    Sign in to UniLink when the assistant asks, and click Allow.

    Claude (claude.ai and Claude Desktop)

    1. Open Settings → Connectors → Add custom connector.
    2. Paste https://unilink.us/mcp and add it.
    3. Sign in to UniLink and click Allow.

    ChatGPT

    1. Turn on developer mode, then add a custom connector.
    2. Use the same URL: https://unilink.us/mcp.
    3. Sign in to UniLink and click Allow.

    Claude Code

    claude mcp add --transport http unilink https://unilink.us/mcp
    1. Run the command above.
    2. In Claude Code, run /mcp, pick unilink and sign in to UniLink.
    3. Click Allow.

Try asking

After you connect, paste one of these into your assistant.

“Shorten this link and give me a QR code for the flyer: https://example.com/autumn-sale”

“Which of my short links got the most clicks this month?”

“Point unil.li/abc123 to the new landing page: https://example.com/new”

“Turn off the link for the old promo.”

What to know

  • Every link gets a random unil.li address; you can’t pick the slug. Ask for an address the profile already has a short link to (not archived) and you get that link back instead of a second one.
  • Every address is checked with Google Safe Browsing, also when the link already exists. A flagged address is refused, and so is any address while the check can’t be made. It must be a public http or https web address.
  • Creating links and changing their destinations share one limit: 10 times a minute and 100 times a day. Each new link also counts toward your plan’s short link limit, which is checked first: at the limit even a link you already have is refused.
  • There is no delete. Turning a link off stops it redirecting (visitors get a not-found page), and you can turn it back on later.
  • The QR code encodes the short link with ?p=qr, so its scans are counted separately from clicks. Making one saves nothing.

Tools

5 tools, all on a paid plan.

create_qr_code

Read-onlyPaid plan

Create a QR code for a short link

Render a PNG QR code for one of the profile's short links and return it as an image. The code encodes the short URL with ?p=qr added, so each scan is counted as a QR scan in get_short_link_stats and list_short_links. Nothing is saved. size is the image's width and height in pixels, 256 to 1024 (default 512); the image can come out somewhat smaller, so that every QR module is a whole number of pixels.

Arguments

  • profileIdintegerrequired

    Profile ID

  • linkIdintegerrequired

    Short link ID (from list_short_links)

  • sizeintegeroptionaldefault: 512

    Width and height in pixels (default 512)

readOnlyHint: truedestructiveHint: falseidempotentHint: trueopenWorldHint: false

All connector tools →

Questions

Which assistants can create short links through UniLink?

Claude, ChatGPT, Claude Code. Cursor needs Dynamic Client Registration, which UniLink doesn’t offer.

Is it free?

No. All five short link and QR code tools need a paid plan; on Free the call returns PAID_PLAN_REQUIRED with the message "This is available on a paid UniLink plan."

Can I choose the link’s address?

No. Every link gets a random unil.li address. If the profile already has a short link to exactly that address and it isn’t archived, the assistant gets that link back instead of a second one.

Why was my link refused?

NOT_ALLOWED: Google Safe Browsing flagged the address, the check could not be made at that moment, or the address is not a public http or https web address. INVALID_ARGUMENT: the address is malformed. LIMIT_REACHED: your plan’s short link limit, or 10 changes a minute or 100 a day. The plan limit is checked first, so at the limit even a link you already have is refused.

Can the assistant delete a short link?

No. It can turn a link off: it stops redirecting and visitors get a not-found page. You can turn it back on at any time.

Do QR code scans count as clicks?

No. The QR code encodes the short link with ?p=qr, so get_short_link_stats counts scans apart from clicks, and gives unique visitors (clicks and scans together) for the last days you choose and for all time.