• NEW LINKS
  • UPDATES
  • AUDIT
  • CLEANUP

How to create and manage short links with your AI

Connect Dub.co to your agent to handle link creation and redirection through natural language. You stop clicking through menus and start using commands.

Ask AI about this page

Short answer

How can I make and edit short links using my AI?

You tell your agent what URL you want to shorten or where a link should point, and it executes the change in Dub.co. This gives you full control over your branded links without needing to log into a web interface.

Where every link lands.

Link management outcomes

Your agent handles the heavy lifting of link lifecycle management.

NEW LINKS

Instant branded links

The AI creates new shortened URLs based on your target destination. You get a clean, branded link immediately.

UPDATES

Redirect changes

Change where a link points by simply telling your agent the new destination. It updates the existing link instantly.

AUDIT

Link inventory

Ask your agent to show you all active links. It pulls a complete list from your account so you can see what's live.

CLEANUP

Human oversight

The AI can remove old links, but you decide which ones to kill. You tell it which link to delete, and it clears it out.

The workflow

What your AI does when a request arrives.

The agent translates your intent into specific API calls to Dub.co.

  1. Generate links

    When you provide a long URL, the agent builds a new shortened version with your branding.

    create_short_link
  2. Modify destinations

    If a campaign changes, the agent swaps the destination URL for an existing short link.

    update_short_link
  3. Fetch lists

    The agent retrieves your current link data to answer questions about your active URLs.

    list_links
  4. Remove links

    The agent wipes specific links from your account when you identify them as no longer needed.

    delete_short_link

Try it

Copy these to start.

Use these prompts to trigger actions in Dub.co.

Starting points

These are starting points. Swap out the URLs and link names for your actual data.

Dub.co Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_aBVsDssqckCbHJAObMO2hViG9y1Ttf1zTrAJxSpH/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Dub.co capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "dubco-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_aBVsDssqckCbHJAObMO2hViG9y1Ttf1zTrAJxSpH/mcp"
    }
  }
}
Copy into chat04
  • Create a new short link for https://example.com/very-long-page-name

  • Show me all my current short links in Dub.co

  • Update the destination for my 'summer-sale' link to https://new-store.com

  • Delete the short link named 'old-promo-2023'

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Dub.co once, then ask.

One connection links your agent to your Dub.co account. Your credentials stay encrypted and secure on our side.

Connect Dub.co to your AI

FAQ

How this task behaves

  • 01

    Can my AI create links with custom domains?

    Yes, if your Dub.co account is already configured with those domains, the agent can use them during creation.

  • 02

    Can the AI change my account billing settings?

    No. The agent only has access to link management tools. Billing and account ownership stay with you.

  • 03

    Will the AI delete all my links if I ask to clean up?

    No. The agent only deletes specific links that you explicitly name or identify.

  • 04

    Can I see click analytics through the AI?

    No. The current tools only allow for creating, updating, listing, and deleting links. It cannot pull click data.

  • 05

    Does the AI need me to log in every time?

    No. Once you connect the MCP, the connection stays active for your agent.

  • More questions about Dub.co? See everything the Dub.co Connector can do

Connect Dub.co to Claude, Cursor, ChatGPT & more