Dub.co
About
Provides a streamlined interface for creating, updating, and deleting short links through the Dub.co URL shortening service with robust error handling and automatic domain selection.
Details
- Author
- gitmaxd
- Repository
- Gitmaxd/dubco-mcp-server-npm
- GitHub stars
- 5
- Downloads
- 3,628
- License
- MIT License
- Categories
- Productivity, Marketing, Design, Developer Tools, AI, Frontend, Infrastructure, Other
Jump to
- Create custom short links with your Dub.co domains
- Update existing short links
- Delete short links
- Seamless integration with AI assistants through the Model Context Protocol
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.)npxArguments-
Argument 1
-y -
Argument 2
dubco-mcp-server
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
To install Dub.co MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Gitmaxd/dubco-mcp-server-npm --client claude
npm install -g dubco-mcp-server
npm install dubco-mcp-server
npx dubco-mcp-server
This MCP server requires a Dub.co API key to function. You can get your API key from the Dub.co dashboard.
Set the API key as an environment variable:
export DUBCO_API_KEY=your_api_key_here
For persistent configuration, add this to your shell profile (e.g., .bashrc, .zshrc):
echo 'export DUBCO_API_KEY=your_api_key_here' >> ~/.zshrc
Cursor IDE provides native support for MCP servers. Follow these steps to set up the dubco-mcp-server in Cursor:
If you haven't already, download and install Cursor IDE (version 0.4.5.9 or later).
This server provides tools that can be used by AI assistants through the Model Context Protocol. To use it with an MCP-compatible AI assistant, add it to your MCP configuration.
{
"mcpServers": {
"dubco": {
"command": "npx",
"args": ["-y", "dubco-mcp-server"],
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"disabled": false,
"autoApprove": []
}
}
}
npm run dev
create_link
Create a new short link on Dub.co. Parameters: url (string), key (optional string), externalId (optional string), domain (optional string)
update_link
Update an existing short link on Dub.co. Parameters: linkId (string), url (string), domain (optional string), key (optional string)
delete_link
Delete a short link on Dub.co. Parameters: linkId (string)
create_link
Create a new short link on Dub.co.
Parameters:
{
"url": "https://example.com",
"key": "optional-custom-slug",
"externalId": "optional-external-id",
"domain": "optional-domain-slug"
}
Example:
{
"url": "https://github.com/gitmaxd/dubco-mcp-server-npm",
"key": "dubco-mcp"
}
update_link
Update an existing short link on Dub.co.
Parameters:
{
"linkId": "link-id-to-update",
"url": "https://new-destination.com",
"domain": "new-domain-slug",
"key": "new-custom-slug"
}
Example:
{
"linkId": "clwxyz123456",
"url": "https://github.com/gitmaxd/dubco-mcp-server-npm/releases"
}
delete_link
Delete a short link on Dub.co.
Parameters:
{
"linkId": "link-id-to-delete"
}
Example:
{
"linkId": "clwxyz123456"
}
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": [
"-y",
"dubco-mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"-y",
"dubco-mcp-server"
],
"command": "npx"
}
Macos
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"-y",
"dubco-mcp-server"
],
"command": "npx"
}
Windows
{
"env": {
"DUBCO_API_KEY": "your_api_key_here"
},
"args": [
"/c",
"npx",
"-y",
"dubco-mcp-server"
],
"command": "cmd"
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



