AI URL shortener · MCP integration

Create short links directly from your AI assistant.

Turn a conversation into a ready-to-share link. Connect LinkDirect to shorten URLs, create dynamic QR codes and manage campaigns without switching to another tab.

An example conversation

Shorten this campaign URL. Add newsletter UTM tags, then make a QR code for the same destination.

create_short_linkcreate_qr_code

One campaign. A short link and a QR code.

https://links.example.com/spring

Illustrative output, not a live tool result.

Fits into the tools you already use.

OAuth connection guides for ChatGPT and Claude. Private API-key configurations for Codex, Claude Code, Cursor and GitHub Copilot in VS Code.

Client names identify independent applications. Custom MCP access depends on your client, account and workspace policy; this is not an app-directory or partnership claim.

From a prompt to a link in three steps.

  1. 1

    Bring your LinkDirect account

    Create an account and verify your email. Open API & MCP to choose your client and see the connection instructions.

  2. 2

    Choose what it can do

    Authorize with OAuth in supported clients, or create a scoped API key in private client settings. Start with only the permissions you need.

  3. 3

    Ask, review, then create

    Give your assistant a destination and campaign details. Check the proposed changes before approving the tool call, then copy the returned short URL.

Tell it what you want to ship.

Use a real destination and approve the details before your assistant creates or changes anything.

A campaign-ready short link

Shorten https://example.com/spring. Set utm_source=newsletter, utm_medium=email and utm_campaign=spring. Keep the other query parameters.

A dynamic QR code

Create a QR code for https://example.com/event with print campaign tags. Return its short URL and the downloadable QR image.

Your best Facebook links

Show my 10 most-clicked links from Facebook over the last 7 days. Include clicks and short URLs.

An update, not a new link

Read this link’s current configuration, then change its destination and campaign name. Keep its short address and use its version to avoid overwriting another edit.

A batch you can check

Prepare links for these 20 destinations. Show me the list for approval, then create them in one batch with the same campaign tags.

Your own branded domain

List my available domains. Create this campaign link on the matching active domain I select; do not use a different domain if it is unavailable.

Real tools. Useful control.

These are the workspace tools exposed by LinkDirect’s MCP server—not a list of everything in the dashboard.

Create and update

  • create_short_link
  • create_qr_code
  • update_short_link
  • bulk_create_short_links
  • bulk_update_short_links

Read and measure

  • list_short_links
  • get_short_link
  • list_qr_codes
  • get_qr_code
  • get_qr_code_image
  • get_top_links
  • get_link_analytics

Domains and account

  • list_domains
  • get_account_limits

OAuth also exposes get_profile for the connected account’s name and email. Batches contain up to 50 items and roll back together on failure. Analytics requires analytics:read and follows your history retention. Surveys, Link in Bio editing, DNS provisioning and QR appearance editing are not MCP tools.

Read the documentation

Use a conversation. Or write the integration.

MCP

MCP gives compatible AI assistants structured tools. Ask for an outcome, review the action and let the client call LinkDirect with your approved permissions.

REST API

The REST API is for code you control: scheduled jobs, campaign systems and repeatable workflows. Send authenticated HTTP requests with a personal API key.

REST API vs MCP: the practical guide

Less link admin. More work shipped.

Affiliate campaigns

Prepare tagged links for approved offers and compare aggregate traffic. Your affiliate network remains the source of truth for commissions.

Social teams

Create campaign variants, keep naming consistent and check which links receive visits from social sources.

Agencies

Use active domains in the connected workspace and update campaign destinations without changing a shared short address.

Automated workflows

Create batches from an approved destination list. Idempotency keys make retries safer when a connection drops.

Print and QR

Generate dynamic QR codes for event, venue and print campaigns, then retrieve the image for your design workflow.

UTM campaigns

Add consistent source, medium and campaign values. Change the fields you intend to change while keeping unrelated parameters.

Your workspace. Your permissions.

  • OAuth authorization code with PKCE S256 for supported published clients.
  • Scoped API keys for compatible clients; keep secrets out of chats and public repositories.
  • Owned-workspace checks on every tool call. Revoke an app or key from API & MCP.
  • Dashboard and integrations share plan limits. Analytics returns aggregate counts, not individual visitor records.
Compare plans

A few things worth knowing.

Can ChatGPT create a short link with LinkDirect?

Yes, through a custom MCP connection where your ChatGPT account and workspace permit it. Add https://linkdirect.co/mcp, choose OAuth, sign in and approve the permissions. Enable the connection before asking it to create a link.

Which AI clients can I connect?

LinkDirect publishes OAuth guides for ChatGPT and Claude, plus private API-key configurations for Codex, Claude Code, Cursor and GitHub Copilot in VS Code. Other clients need compatible Streamable HTTP transport and private credential handling. Client availability can vary.

Does this work with Gemini?

A native Gemini connection has not been verified for this release, so it is not listed as supported. Developers can use the REST API from their own server-side application; that is different from a built-in Gemini connector.

Can my assistant generate QR codes and use my domain?

It can create URL-based dynamic QR codes and retrieve their image. It can list active domains in your workspace and use a matching domain ID or hostname. Setting up DNS and changing QR appearance are not exposed through MCP.

Can it change or analyse an existing link?

Yes. Read a link’s current settings, then update its destination, title, UTM values, status, sharing metadata or GEO rules. The short address stays the same. Aggregate rankings and per-link analytics require analytics:read permission.

Is MCP separate from my LinkDirect plan?

No. Integrations use the same workspace limits as the dashboard, plus API request and daily operation budgets. Check your current allowance with get_account_limits or compare the plans. An existing connection needs fresh approval to add permissions.

Go from curious to connected.

Three practical guides, each with a different job: connect a client, compare your options, or build an integration.

Your next campaign starts with a conversation.

Connect your workspace, choose the permissions and make your first link.

Product facts reviewed 3 November 2026