Dub.co MCP Server
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.
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
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
You must be authenticated.
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.