Dub integration
Dub.co is a modern link management platform for creating, tracking, and optimizing short links. Create branded short URLs, track click analytics with detailed geographic and device data, manage QR codes, set up custom domains, and build link-in-bio pages. Features advanced analytics, team collaboration, API access, and integrations with popular tools. Perfect for marketers, content creators, SaaS products, and businesses needing professional link management.
Say what should happen.
The workflow builds itself.
Common Dub use cases
- folder management
- cleaning up test links
- tag management
- workspace organization
- event auditing
- folder cleanup
- renaming folders
- signup attribution
- revenue attribution
- dashboard statistics
What you can do with Dub
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Link, 10 operations
bulk_create_linksBulk create linksPOSTAgents: ask firstCreates multiple Dub short links in a single API request for efficient batch operations.bulk_delete_linksBulk delete linksDELETEAgents: ask firstDeletes up to 100 links in a single API request for efficient batch cleanup.bulk_update_linksBulk update linksPATCHAgents: ask firstBulk updates up to 100 links with the same data in a single API request.create_linkCreate linkPOSTAgents: ask firstCreates a new short link in Dub with optional custom slug, expiration, password protection, and geo-targeting capabilities.delete_linkDelete linkDELETEAgents: ask firstPermanently deletes a Dub short link. The short URL will no longer redirect to the destination.get_linkGet linkGETAgents: ask firstRetrieves detailed information about a Dub short link including click counts, settings, and metadata.get_links_countGet links countGETAgents: ask firstRetrieves the total count of links in the workspace with optional filtering and grouping.list_linksList linksGETAgents: ask firstLists all short links in your Dub workspace with filtering by domain, tags, folders, and search capabilities.update_linkUpdate linkPATCHAgents: ask firstUpdates an existing Dub short link's destination, settings, or metadata without changing the short URL.upsert_linkUpsert linkPUTAgents: ask firstCreates or updates a short link by URL. If a link with the same URL exists, returns or updates it; otherwise creates a new one.
Domain, 4 operations
create_domainCreate domainPOSTAgents: ask firstCreates a new custom domain for branded short links in your Dub workspace.delete_domainDelete domainDELETEAgents: ask firstPermanently deletes a custom domain and all associated links from your Dub workspace.list_domainsList domainsGETAgents: ask firstLists all custom domains configured in your Dub workspace including verification status.update_domainUpdate domainPATCHAgents: ask firstUpdates a custom domain's settings in your Dub workspace.
Folder, 4 operations
create_folderCreate folderPOSTAgents: ask firstCreates a new folder for organizing links in your Dub workspace.delete_folderDelete folderDELETEAgents: ask firstDeletes a folder from your Dub workspace. Links in the folder continue to work but lose their folder association.list_foldersList foldersGETAgents: ask firstLists all folders in your Dub workspace with optional search and pagination.update_folderUpdate folderPATCHAgents: ask firstUpdates an existing folder's name, description, or access level in your Dub workspace.
Tag, 3 operations
create_tagCreate tagPOSTAgents: ask firstCreates a new tag in Dub for organizing and categorizing links by campaign, project, or custom criteria.list_tagsList tagsGETAgents: ask firstLists all tags in your Dub workspace with filtering, sorting, and pagination.update_tagUpdate tagPATCHAgents: ask firstUpdates an existing tag's name or color in your Dub workspace.
Tracking, 2 operations
track_leadTrack leadPOSTAgents: ask firstTracks a lead conversion event attributed to a Dub short link click.track_saleTrack salePOSTAgents: ask firstTracks a sale conversion event attributed to a Dub short link for revenue tracking.
Analytics, 1 operation
get_link_analyticsGet link analyticsGETAgents: ask firstRetrieves detailed click analytics from Dub including time series, geographic distribution, devices, browsers, and referrers.
Event, 1 operation
list_eventsList eventsGETAgents: ask firstRetrieves a paginated list of click, lead, and sale events from Dub with comprehensive filtering.
Metatags, 1 operation
get_metatagsGet metatagsGETAgents: ask firstRetrieves Open Graph metatags (title, description, image) for any URL.
Qr, 1 operation
get_qr_codeGet qr codeGETAgents: ask firstGenerates a customizable QR code image for any URL with configurable colors, size, and logo.
Use Dub from Claude Code, Cursor or Codex
Connect Dub in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Dub operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Dub
- Create your workspace
Sign up free. Nothing to install.
- Connect Dub once
Add your Dub connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Dub integration FAQ
What can you do with the Dub integration?
LiveContext exposes 27 operations on Dub, covering link, domain, folder and tag. Common uses include folder management, cleaning up test links and tag management.
