Dub.co MCP Server
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
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dub.co MCP Server create a short link for https://example.com/blog-post with slug 'blog'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: filoo MCP server
Installation
Installing via Smithery
To install Dub.co Link Shortener Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Gitmaxd/dubco-mcp-server --client claudePrerequisites
Node.js 18 or higher
A Dub.co account with API access
An API key from Dub.co
Option 1: Install via NPM (Recommended)
npm install -g dubco-mcp-serverThen add the following to your MCP configuration:
{
"mcpServers": {
"dubco-server": {
"command": "dubco-mcp-server",
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"disabled": false,
"autoApprove": []
}
}
}Option 2: Clone and Build
# Clone the repository
git clone https://github.com/Gitmaxd/dubco-mcp-server.git
cd dubco-mcp-server
# Install dependencies
npm install
# Build the project
npm run buildThen add the following to your MCP configuration:
{
"mcpServers": {
"dubco-server": {
"command": "node",
"args": ["/path/to/dubco-mcp-server/build/index.js"],
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"disabled": false,
"autoApprove": []
}
}
}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.
{
"url": "https://example.com",
"key": "example", // optional
"domain": "your-domain.com", // optional
"externalId": "123" // optional
}update_link
Update an existing short link on dub.co.
{
"linkId": "link_id_here",
"url": "https://new-example.com", // optional
"domain": "new-domain.com", // optional
"key": "new-slug" // optional
}upsert_link
Create or update a short link on dub.co.
{
"url": "https://example.com",
"key": "example", // optional
"domain": "your-domain.com", // optional
"externalId": "123" // optional
}delete_link
Delete a short link on dub.co.
{
"linkId": "link_id_here"
}License
MIT
Available Tools
4 toolscreate_linkB
Create a new short link on dub.co, asking the user which domain to use
Inputs: url (required), key, externalId, domain.
delete_linkC
Delete a short link on dub.co
Inputs: linkId (required).
update_linkC
Update an existing short link on dub.co
Inputs: linkId (required), url, domain, key.
upsert_linkA
Create or update a short link on dub.co, asking the user which domain to use if creating
Inputs: url (required), key, externalId, domain.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools have overlapping purposes that could cause confusion. create_link and upsert_link both handle link creation, with upsert_link also updating existing links, making it ambiguous when to choose one over the other. However, delete_link and update_link are clearly distinct, and descriptions help clarify the differences.
All tool names follow a consistent verb_noun pattern with snake_case (create_link, delete_link, update_link, upsert_link). The naming is predictable and readable, with no deviations in style or convention.
Four tools are reasonable for a link management server, covering core operations. It is slightly under-scoped as it lacks a tool for retrieving or listing links, which is a common need, but the count is appropriate for basic CRUD functionality.
There are notable gaps in the tool surface. The server covers create, update, delete, and upsert operations but lacks a get_link or list_links tool for retrieving links, which is essential for full lifecycle management. This omission could lead to agent failures when trying to access existing links.
Maintenance
Related MCP Connectors
Make, find, pause and track short links and QR codes from your AI assistant. Create short links with an optional custom address, title and tags; find links and QR codes; update, pause, resume, archive or restore them; and read click analytics (clicks, unique visitors, countries, referrers, devices, browsers) for a link, a QR code or the whole account. Sign in with OAuth and choose what the assistant may do. Every change can be undone; nothing is ever permanently deleted. Works on every plan, including Free.
Create and manage short links, track clicks, and automate URL management
Create short links and see their click counts from your AI assistant.
Create, search and pause deep links; QR codes; analytics, taps, events; domains; webhooks.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to create, manage, and analyze short URLs through complete URL shortening functionality. Supports batch operations, custom domains, click statistics, and comprehensive link management.625 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI agents to shorten URLs, manage links, and track click analytics through 8 first-class tools, designed for use with Claude Desktop, Cursor, and other MCP clients.945 npmMIT
- AlicenseAqualityBmaintenanceEnables users to shorten links, bulk create URLs, generate QR codes, manage and disable links, and retrieve click analytics from MCP clients like Claude, ChatGPT, Cursor, and n8n.9MIT

esyURL MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, update, organize, and delete short links; render styled QR codes; route visitors by device or country; and read click and scan statistics. Agents can also manage groups and custom domains while changing destinations without breaking printed QR codes or shared short URLs.MIT