The Dub.co MCP Server enables AI agents to interact with the Dub.co link shortener API for managing short links. With this server, you can:
Create short links: Generate new short links with optional custom slugs, domains, and external IDs
Update existing short links: Modify links by changing their URL, slug, or domain
Upsert links: Create or update short links dynamically (create if it doesn't exist, update if it does)
Delete short links: Remove existing short links by their ID
Automatic domain selection: Use the primary domain when none is specified
Dub.co MCP Server
An MCP server for interacting with the Dub.co link shortener API. This server allows AI agents to create, update, and manage short links through your Dub.co account.
Features
Create short links with custom slugs
Update existing short links
Upsert links (create or update)
Delete links
Automatic domain selection
Related MCP server: Unofficial dubco-mcp-server
Installation
Installing via Smithery
To install Dub.co Link Shortener Server for Claude Desktop automatically via Smithery:
Prerequisites
Node.js 18 or higher
A Dub.co account with API access
An API key from Dub.co
Option 1: Install via NPM (Recommended)
Then add the following to your MCP configuration:
Option 2: Clone and Build
Then add the following to your MCP configuration:
Getting a Dub.co API Key
Log in to your Dub.co account
Go to your workspace settings
Navigate to the "API" section
Generate a new API key
Usage
Once installed and configured, the MCP server provides the following tools to AI agents:
create_link
Create a new short link on dub.co.
update_link
Update an existing short link on dub.co.
upsert_link
Create or update a short link on dub.co.
delete_link
Delete a short link on dub.co.
License
MIT