by gitmaxd
Shorten your URLs easily with Dub.co – a tiny url website for creating, updating, and managing short links with robust e
Manages Dub.co short links through an API interface. Create, update, and delete shortened URLs with automatic domain selection and error handling.
Dub.co is a community-built MCP server published by gitmaxd that provides AI assistants with tools and capabilities via the Model Context Protocol. Shorten your URLs easily with Dub.co – a tiny url website for creating, updating, and managing short links with robust e It is categorized under productivity, developer tools.
You can install Dub.co in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Dub.co is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Strong directory entry: Dub.co surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Dub.co is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Dub.co has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Dub.co benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Dub.co reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
I recommend Dub.co for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
We wired Dub.co into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
We evaluated Dub.co against two servers with overlapping tools; this profile had the clearer scope statement.
Dub.co has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Strong directory entry: Dub.co surfaces stars and publisher context so we could sanity-check maintenance before adopting.
showing 1-10 of 33
A Model Context Protocol (MCP) server for creating and managing Dub.co short links (unofficial). This server enables AI assistants to create, update, and delete short links through the Dub.co API.
<a href="https://glama.ai/mcp/servers/0tvsbwmk8m"> <img width="380" height="200" src="https://glama.ai/mcp/servers/0tvsbwmk8m/badge" alt="Unofficial dubco-mcp-server MCP server" /> </a>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).
Cmd+, (Mac) or Ctrl+, (Windows/Linux)env DUBCO_API_KEY=your_api_key_here npx -y dubco-mcp-server
(Replace your_api_key_here with your actual Dub.co API key)After adding the MCP server, you should see a green status indicator next to the server name. If it shows a red or yellow status, try:
The dubco-mcp-server provides tools that can be used with Cursor's AI features:
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": []
}
}
}
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 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 a short link on Dub.co.
Parameters:
{
"linkId": "link-id-to-delete"
}
Example:
{
"linkId": "clwxyz123456"
}
The server connects to the Dub.co API using your API key and provides a standardized interface for AI assistants to interact with Dub.co through the Model Context Protocol. When a tool is called:
git clone https://github.com/gitmaxd/dubco-mcp-server-npm.git
cd dubco-mcp-server-npm
npm install
npm run build
npm run dev
This project is licensed under the ISC License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This unofficial Dub.co MCP Server was created by GitMaxd (@gitmaxd on X).
This project was developed as a learning exercise to understand the Model Context Protocol and how to build MCP servers. I chose Dub.co as the integration target because of its straightforward API and practical utility, making it an ideal candidate for a learning project.
While I have no official affiliation with Dub.co, I highly recommend their service for both manual and automated short link creation. Their API is well-documented and easy to work with, making it perfect for this kind of integration.
If you find this project helpful or have suggestions for improvements, feel free to reach out or contribute to the repository. Happy link shortening!
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.