Dub MCP by usefulapi

io.usefulapiPublished by usefulapi.ioOfficial publisherv1.39.2Updated Nov 14, 2026

Short links with click, lead and sale analytics, customers, tags and the partner programme.

The publisher's own server: Ably MCP by usefulapi

VerifiedStreamable HTTPWeb executableData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Hosted MCP server for Dub that lets an assistant manage short links and read click, lead, sale, customer and partner-programme data.

What you can do
  • List, fetch and count short links, and create, update or delete them
  • Read aggregated click, lead and sale analytics and row-level events
  • List customers and fetch a single customer with attribution
  • List tags, folders and short domains, and create tags or folders
  • List partners, partner analytics, applications, commissions and payouts, and approve or reject applications
  • Check usage, request a feature, upgrade or cancel the subscription
When to use it
Useful when you want an assistant to answer questions about link performance and affiliate revenue, or to create and tidy short links and partner records without opening the Dub dashboard.
Requirements
Remote endpoint only, no local install. Connect with the server URL and sign in through OAuth; the login page asks for your Dub credentials, which are stored per user. Do not add an API key or Authorization header to the client config.
Before you install
Write tools create, change or delete links, tags, folders and partner applications; deleting a link stops it resolving and discards its analytics. Approving a partner starts commission earning. The service is metered: 50 calls per month free, paid plans from $9/month billed through Stripe Checkout, with no refund for the current period on cancellation. Dub credentials are entered at login.

Installation

In SourceWeft

  1. Open Dub MCP by usefulapi in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.usefulapi%2Fdub/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "dub-by-usefulapi": {
      "type": "http",
      "url": "https://dub.usefulapi.io/mcp"
    }
  }
}

README

Dub MCP by usefulapi

Short links with click, lead and sale analytics, customers, tags and the partner programme. Hosted, no local install.

Live endpoint: https://dub.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://dub.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http dub https://dub.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "dub": {      "url": "https://dub.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Dub credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/dub/

On first connect you'll paste your Dub credentials. They are validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
dub_list_linksreadList short links
dub_get_linkreadGet one short link
dub_count_linksreadCount short links
dub_get_analyticsreadGet analytics
dub_list_eventsreadList raw events
dub_list_customersreadList customers
dub_get_customerreadGet one customer
dub_list_tagsreadList tags
dub_list_foldersreadList folders
dub_list_domainsreadList domains
dub_list_partnersreadList partners
dub_get_partner_analyticsreadGet partner analytics
dub_list_partner_applicationsreadList partner applications
dub_list_commissionsreadList commissions
dub_list_payoutsreadList payouts
dub_create_linkwriteCreate a short link
dub_update_linkwriteUpdate a short link
dub_delete_linkwriteDelete a short link
dub_create_tagwriteCreate a tag
dub_create_folderwriteCreate a folder
dub_approve_partner_applicationwriteApprove a partner application
dub_reject_partner_applicationwriteReject a partner application
dub_usage_statusmetaUsage status (free-tier meter)
dub_request_featuremetaRequest a missing feature
dub_upgrademetaUpgrade to Pro or Pro+
dub_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)10,000 tool calls / month
Pro+$39/mo or $390/yr (2 months free)100,000 tool calls / month

Each paid plan covers this server only. Ask your AI to run dub_upgrade and choose Pro or Pro+, billed monthly or yearly (it returns a Stripe Checkout link). If you already have Pro, ask to change it to Pro+. The change requires your confirmation, keeps your billing interval and charges the price difference for the rest of the period immediately. Cancel any time with dub_cancel_subscription: your paid plan continues to the end of the paid period, with no refund for the current period, and asking to resume the same plan with dub_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT

Source: servers/dub/README.md at commit f22f848

Tools

22

dub_get_analytics

Get analytics

Get aggregated click, lead and sale analytics, grouped by a dimension such as country, device, referer or top links. The main reporting read. Dub: GET /analytics.

ParametersendkeyeventstartdevicedomainlinkIdcountrygroupByinterval

dub_list_events

List raw events

List individual click, lead and sale events rather than aggregates — the row-level detail behind the analytics. Dub: GET /events.

ParametersendpageeventlimitstartlinkIdintervalcustomerId

dub_list_customers

List customers

List the customers Dub has attributed to links, by email, external id or link. Dub: GET /customers.

ParameterspageemaillinkIdsearchpageSizeexternalId

dub_get_customer

Get one customer

Fetch a single customer with their attribution. Dub: GET /customers/{id}.

Parameterscustomer_idrequired

dub_list_tags

List tags

List the tags available for organising links. Dub: GET /tags.

ParameterspagesearchpageSize

dub_list_folders

List folders

List link folders and their access levels. Dub: GET /folders.

ParameterspagesearchpageSize

dub_list_domains

List domains

List the short domains configured on the workspace. Dub: GET /domains.

ParameterspagesearcharchivedpageSize

dub_list_partners

List partners

List the partners (affiliates) in the programme, by status, country or email. Dub: GET /partners.

ParameterspageemailsearchstatuspageSize

dub_get_partner_analytics

Get partner analytics

Get analytics for the partner programme — clicks, leads, sales and revenue per partner. Dub: GET /partners/analytics.

ParametersendstartgroupByintervalpartnerId

dub_list_partner_applications

List partner applications

List pending applications to join the partner programme. Dub: GET /partners/applications.

ParameterspagepageSize

dub_list_commissions

List commissions

List partner commissions, by partner, status, customer or time window. Dub: GET /commissions.

ParameterspagetypestatusintervalpageSizepartnerIdcustomerId

dub_list_payouts

List payouts

List partner payouts and their status. Dub: GET /payouts.

ParameterspagestatuspageSizepartnerId

dub_create_tag

Create a tag

Create a tag for organising links. Dub: POST /tags.

Parametersnamerequiredcolor

dub_create_folder

Create a folder

Create a folder for grouping links. Dub: POST /folders.

ParametersnamerequiredaccessLeveldescription

dub_approve_partner_application

Approve a partner application

Approve an application to join the partner programme. The partner gains links and starts earning commission. Dub: POST /partners/applications/approve.

ParametersgroupIdapplicationIdrequired

dub_reject_partner_application

Reject a partner application

Reject an application to join the partner programme. Dub: POST /partners/applications/reject.

ParametersapplicationIdrequired

Version history

26
  1. v1.39.2LatestNov 14, 2026
  2. v1.39.1Nov 13, 2026
  3. v1.38.0Nov 12, 2026
  4. v1.37.3Nov 11, 2026
  5. v1.36.5Nov 8, 2026
  6. v1.36.4Nov 7, 2026
  7. v1.35.3Nov 5, 2026
  8. v1.35.2Nov 5, 2026
  9. v1.35.1Nov 4, 2026
  10. v1.35.0Nov 3, 2026
  11. v1.34.1Nov 3, 2026
  12. v1.33.0Nov 1, 2026
  13. v1.31.0Oct 31, 2026
  14. v1.30.0Oct 31, 2026
  15. v1.29.2Oct 30, 2026
  16. v1.29.0Oct 30, 2026
  17. v1.24.0Oct 26, 2026
  18. v1.21.3Oct 25, 2026
  19. v1.21.0Oct 25, 2026
  20. v1.20.0Oct 24, 2026
  21. v1.17.0Oct 23, 2026
  22. v1.16.4Oct 22, 2026
  23. v1.16.3Oct 21, 2026
  24. v1.11.1Oct 9, 2026
  25. v1.10.0Oct 9, 2026
  26. v1.0.0Sep 29, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Usefulapi integrations