Unofficial dubco-mcp-server
@Gitmaxd
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.
概览
What is Unofficial dubco-mcp-server?
An unofficial Model Context Protocol (MCP) server for creating and managing Dub.co short links. It allows AI assistants to create, update, and delete short links through the Dub.co API.
How to use Unofficial dubco-mcp-server?
Install globally via npm install -g dubco-mcp-server or run directly with npx dubco-mcp-server. Set the DUBCO_API_KEY environment variable with your Dub.co API key. Add the server to an MCP-compatible client (e.g., Claude Desktop or Cursor IDE) using the command npx -y dubco-mcp-server and the env configuration. The server provides three tools: create_link, update_link, and delete_link.
Key features of Unofficial dubco-mcp-server
- Create custom short links with your Dub.co domains
- Update existing short links
- Delete short links
- Seamless integration with AI assistants via MCP
Use cases of Unofficial dubco-mcp-server
- An AI assistant generates a short link for a user’s long URL.
- A user asks an assistant to change the destination of an existing short link.
- A user requests deletion of multiple outdated short links through natural language.
FAQ from Unofficial dubco-mcp-server
What are the prerequisites?
Node.js 16.0.0 or higher, a Dub.co account with API access, and an API key from the Dub.co dashboard.
How do I install it?
Install globally via npm install -g dubco-mcp-server, or use npx dubco-mcp-server without installation. Automatic setup via Smithery is also available.
How do I configure the API key?
Set the DUBCO_API_KEY environment variable, for example export DUBCO_API_KEY=your_api_key_here. You can also pass it in the MCP config under env.
Is this server officially supported by Dub.co?
No, this is an unofficial project created by GitMaxd as a learning exercise. It has no affiliation with Dub.co.
Can I use this server with Cursor IDE?
Yes. Follow the Cursor setup steps: add a new MCP server with type "command" and the command env DUBCO_API_KEY=your_api_key_here npx -y dubco-mcp-server. The tools only work in Composer or Agent mode.