Skip to main content
Glama

Dub.co MCP Server

upsert_link

Create or update a custom short link on dub.co. Specify a domain, custom slug, or external ID, or let the system generate a random slug. Manage links efficiently for your business needs.

Instructions

Create or update a short link on dub.co, asking the user which domain to use if creating

Input Schema

NameRequiredDescriptionDefault
domainNoOptional domain slug to use. If not provided, the primary domain will be used.
externalIdNoOptional external ID for the link
keyNoOptional custom slug for the short link. If not provided, a random slug will be generated.
urlYesThe destination URL to shorten

Input Schema (JSON Schema)

{ "properties": { "domain": { "description": "Optional domain slug to use. If not provided, the primary domain will be used.", "type": "string" }, "externalId": { "description": "Optional external ID for the link", "type": "string" }, "key": { "description": "Optional custom slug for the short link. If not provided, a random slug will be generated.", "type": "string" }, "url": { "description": "The destination URL to shorten", "type": "string" } }, "required": [ "url" ], "type": "object" }

You must be authenticated.

Other Tools from Dub.co MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gitmaxd/dubco-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server