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
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
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI agents to create, update, and manage short links through your Dub.co account, allowing for creation, modification, and deletion of custom shortened URLs.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to download images from URLs and perform basic image optimization tasks.Last updated -2611Apache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to create, update, and delete Dub.co short links through the Dub.co API.Last updated -135MIT License
- AsecurityAlicenseAqualityProvides a simple tool to shorten URLs using the CleanURI API, designed to run as a FastMCP server that can be integrated with agent or tool-based systems.Last updated -12Apache 2.0
Rebrandly MCPofficial
-securityAlicense-qualityThis project implements a simple MCP server in Go that exposes a single tool (create_short_link) to generate short URLs using the Rebrandly API.Last updated -MIT License