Dub.co
About
Integrates with Dub.co link shortener API to create, update, and manage shortened URLs with custom slugs and automatic domain selection.
Details
- Author
- gitmaxd
- Repository
- Gitmaxd/dubco-mcp-server
- License
- MIT License
- Categories
- Productivity, Other, Design, Developer Tools, AI, Infrastructure, Frontend, API
Jump to
- Create short links with custom slugs
- Update existing short links
- Upsert links (create or update)
- Delete links
- Automatic domain selection
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Dub.coCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/path/to/dubco-mcp-server/build/index.js
Environment-
DUBCO_API_KEY
your_api_key_here
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Once installed and configured, the MCP server provides the following tools to AI agents:
To install Dub.co Link Shortener Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Gitmaxd/dubco-mcp-server --client claude
npm install -g dubco-mcp-server
Then 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": []
}
}
}
npm install
1. Log in to your Dub.co account
2. Go to your workspace settings
3. Navigate to the "API" section
4. Generate a new API key
create_link
Create a new short link on dub.co. Parameters: url (string), key (optional string), domain (optional string), externalId (optional string)
update_link
Update an existing short link on dub.co. Parameters: linkId (string), url (optional string), domain (optional string), key (optional string)
upsert_link
Create or update a short link on dub.co. Parameters: url (string), key (optional string), domain (optional string), externalId (optional string)
delete_link
Delete a short link on dub.co. Parameters: linkId (string)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"dub.co": {
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"/path/to/dubco-mcp-server/build/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"/path/to/dubco-mcp-server/build/index.js"
],
"command": "node"
}
Macos
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"/path/to/dubco-mcp-server/build/index.js"
],
"command": "node"
}
Windows
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"/path/to/dubco-mcp-server/build/index.js"
],
"command": "node"
}
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.
<a href="https://glama.ai/mcp/servers/p293dlsvcn">
</a>
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:
npx -y @smithery/cli install @Gitmaxd/dubco-mcp-server --client claude
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)
npm install -g dubco-mcp-server
Then 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
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




