Navigation
Dub.co MCP Server: Seamless Scalability & Real-Time Performance - MCP Implementation

Dub.co MCP Server: Seamless Scalability & Real-Time Performance

Transform your workflow with Dub.co MCP Server – the mirror of seamless scalability and real-time performance. Reflect excellence, replicate success effortlessly.

Developer Tools
4.1(172 reviews)
258 saves
120 comments

Ranked in the top 9% of all AI tools in its category

About Dub.co MCP Server

What is Dub.co MCP Server: Seamless Scalability & Real-Time Performance?

The Dub.co MCP Server is a specialized tool enabling AI agents to interact with the Dub.co link shortening service. It provides a streamlined interface for managing short links through your Dub.co account, supporting creation, updates, deletions, and more. Built for performance and scalability, it ensures real-time operations without compromising reliability.

How to Use Dub.co MCP Server: Seamless Scalability & Real-Time Performance?

Installation Options

  • Quick Setup via npm: Run npm install -g dubco-mcp-server and configure your MCP with the provided JSON snippet.
  • Manual Setup: Clone the repository, install dependencies with npm, then reference the build file in your MCP configuration.

Configuration Steps

Add this block to your MCP config, replacing the API key placeholder:


{
  "mcpServers": {
    "dubco-server": {
      "command": "dubco-mcp-server",
      "env": {
        "DUBCO_API_KEY": "your_api_key_here"
      },
      "disabled": false
    }
  }
}

Dub.co MCP Server Features

Key Features of Dub.co MCP Server: Seamless Scalability & Real-Time Performance?

  • Custom slug support for URL shortening
  • Atomic update-or-create operations via upsert_link
  • Domain-specific configuration for brand consistency
  • Programmatic deletion of outdated links
  • Automatic domain selection based on account settings

Use Cases of Dub.co MCP Server: Seamless Scalability & Real-Time Performance?

  • Automated link management for marketing campaigns
  • Real-time URL updates in dynamic applications
  • AI-driven content distribution systems
  • Large-scale link inventory maintenance
  • Integration with analytics platforms for tracking short URLs

Dub.co MCP Server FAQ

FAQ from Dub.co MCP Server: Seamless Scalability & Real-Time Performance?

How do I get an API key?

Login to Dub.co, navigate to workspace settings → API section, then generate a new key.

Can I use this with Node.js 16?

No, Node.js 18+ is required due to ES module dependencies.

What happens if my API key expires?

The server will return authentication errors. Update the config with a new key from your Dub.co dashboard.

Is there rate limiting?

Rate limits are enforced by Dub.co's API tier. Check your account plan for specifics.

Content

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

Related MCP Servers & Clients