Dub MCP server integration for AI agents.

Connect AI agents to Dub through 15 structured actions, including count links, create folder, and delete folder. Review authentication, inputs, workflows, an…

ACTION CONTRACTS
15
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Dub integration exposes

The Dub Agent App exposes 15 provider-backed actions for marketing and developer tools work. Its current contract lets an authorized agent retrieve the number of matching links in the authenticated dub workspace, create a folder in the authenticated dub workspace, and delete a folder from the authenticated dub workspace. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Dub account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Dub capabilities.

Showing 12 of 15 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

count_linksREAD

Retrieve the number of matching links in the authenticated Dub workspace.

INPUTS: domain / tagIds / tagNames / folderId / search

create_folderWRITE

Create a folder in the authenticated Dub workspace.

INPUTS: name

delete_folderHIGH IMPACT

Delete a folder from the authenticated Dub workspace.

INPUTS: id

create_linkWRITE

Create a short link in the authenticated Dub workspace.

INPUTS: url / domain / key / keyLength / externalId

create_tagWRITE

Create a tag in the authenticated Dub workspace.

INPUTS: name / color

delete_linkHIGH IMPACT

Delete a short link from the authenticated Dub workspace.

INPUTS: linkId

delete_tagHIGH IMPACT

Delete a tag from the authenticated Dub workspace.

INPUTS: id

list_foldersREAD

List folders in the authenticated Dub workspace.

INPUTS: page / pageSize

list_linksREAD

List short links in the authenticated Dub workspace.

INPUTS: domain / tagIds / tagNames / folderId / search

list_tagsREAD

List tags in the authenticated Dub workspace.

INPUTS: page / pageSize

retrieve_analyticsREAD

Retrieve analytics for a Dub link, domain, or workspace.

INPUTS: event / groupBy / domain / key / linkId

retrieve_linkREAD

Retrieve a Dub short link by ID or by supported lookup fields.

INPUTS: linkId / domain / key / externalId

INPUT CONTRACTS

Know what the action needs before it runs.

count_links

domainOPTIONAL
Only count links for this domain.
tagIdsOPTIONAL
Only count links with these tag IDs.
tagNamesOPTIONAL
Only count links with these tag names.
folderIdOPTIONAL
Only count links in this folder.
searchOPTIONAL
Search against link slugs and destination URLs.

create_folder

nameOPTIONAL
The folder name.

delete_folder

idOPTIONAL
The Dub folder ID to delete.

create_link

urlREQUIRED
The destination URL of the short link.
domainOPTIONAL
The short-link domain without protocol.
keyOPTIONAL
The short-link slug.
keyLengthOPTIONAL
The length of the generated short-link slug.
externalIdOPTIONAL

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Count Links

Retrieve the number of matching links in the authenticated Dub workspace. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

count_links

Control Create Folder

Create a folder in the authenticated Dub workspace. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

create_folder

Verify with List Folders

List folders in the authenticated Dub workspace. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

list_folders

SAFETY BOUNDARY

Operate Dub with explicit limits

  • Authorize Dub with API key and grant only the provider access required by the selected actions.
  • 9 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Treat `delete_folder`, `delete_link`, and `delete_tag` as high-impact operations and require an explicit approval boundary.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Dub rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Dub task completed successfully.

CONNECTION MODEL

API key

Dub API key sent as a Bearer token in the Authorization header. Create or view API keys in the Dub workspace settings: https://dub.co/docs/api-reference/authentication#api-keys.

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
6
WRITE SIGNALS
6
HIGH IMPACT
3
REVIEW SIGNALS
0

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Dub.

Official Dub website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS