Dub.co Link Shortener Server

Dub.co Link Shortener Server

Enables AI agents to create, update, and manage short links through your Dub.co account, allowing for creation, modification, and deletion of custom shortened URLs.

Gitmaxd

Remote Shell Execution
Visit Server

Tools

create_link

Create a new short link on dub.co, asking the user which domain to use

update_link

Update an existing short link on dub.co

upsert_link

Create or update a short link on dub.co, asking the user which domain to use if creating

delete_link

Delete a short link on dub.co

README

Dub.co MCP Server

MCP Compatible License: MIT

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

Installation

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

# 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 build

Then 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

  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

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

Recommended Servers

E2B

E2B

Using MCP to run code via e2b.

Official
Featured
AIO-MCP Server

AIO-MCP Server

🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from

Featured
Local
React MCP

React MCP

react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts

Featured
Local
Any OpenAI Compatible API Integrations

Any OpenAI Compatible API Integrations

Integrate Claude with Any OpenAI SDK Compatible Chat Completion API - OpenAI, Perplexity, Groq, xAI, PyroPrompts and more.

Featured
Exa MCP

Exa MCP

A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.

Featured
MySQL Server

MySQL Server

Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.

Featured
Browser Use (used by Deploya.dev)

Browser Use (used by Deploya.dev)

AI-driven browser automation server that implements the Model Context Protocol to enable natural language control of web browsers for tasks like navigation, form filling, and visual interaction.

Featured
Aindreyway Codex Keeper

Aindreyway Codex Keeper

Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.

Featured
OpenRouter MCP Server

OpenRouter MCP Server

Provides integration with OpenRouter.ai, allowing access to various AI models through a unified interface.

Featured
Supabase MCP Server (used by Deploya.dev)

Supabase MCP Server (used by Deploya.dev)

Enables Cursor and Windsurf to safely interact with Supabase databases by providing tools for database management, SQL query execution, and Supabase Management API access with built-in safety controls.

Featured