Skip to main content
Glama

Servidor MCP de Dub.co

insignia de herrería Compatible con MCPLicencia: MIT

Un servidor MCP para interactuar con la API del acortador de enlaces de Dub.co. Este servidor permite a los agentes de IA crear, actualizar y gestionar enlaces cortos a través de tu cuenta de Dub.co.

Características

  • Crea enlaces cortos con slugs personalizados

  • Actualizar enlaces cortos existentes

  • Insertar enlaces (crear o actualizar)

  • Eliminar enlaces

  • Selección automática de dominio

Related MCP server: linkbit-mcp

Instalación

Instalación mediante herrería

Para instalar automáticamente el servidor acortador de enlaces Dub.co para Claude Desktop a través de Smithery :

npx -y @smithery/cli install @Gitmaxd/dubco-mcp-server --client claude

Prerrequisitos

  • Node.js 18 o superior

  • Una cuenta de Dub.co con acceso a la API

  • Una clave API de Dub.co

Opción 1: Instalar mediante NPM (recomendado)

npm install -g dubco-mcp-server

Luego agregue lo siguiente a su configuración de MCP:

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

Opción 2: Clonar y construir

# 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

Luego agregue lo siguiente a su configuración de MCP:

{
  "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": []
    }
  }
}

Obtener una clave API de Dub.co

  1. Inicia sesión en tu cuenta de Dub.co

  2. Vaya a la configuración de su espacio de trabajo

  3. Vaya a la sección "API"

  4. Generar una nueva clave API

Uso

Una vez instalado y configurado, el servidor MCP proporciona las siguientes herramientas a los agentes de IA:

crear_enlace

Crea un nuevo enlace corto en dub.co.

{
  "url": "https://example.com",
  "key": "example",  // optional
  "domain": "your-domain.com",  // optional
  "externalId": "123"  // optional
}

enlace de actualización

Actualizar un enlace corto existente en dub.co.

{
  "linkId": "link_id_here",
  "url": "https://new-example.com",  // optional
  "domain": "new-domain.com",  // optional
  "key": "new-slug"  // optional
}

upsert_link

Crea o actualiza un enlace corto en dub.co.

{
  "url": "https://example.com",
  "key": "example",  // optional
  "domain": "your-domain.com",  // optional
  "externalId": "123"  // optional
}

eliminar_enlace

Eliminar un enlace corto en dub.co.

{
  "linkId": "link_id_here"
}

Licencia

Instituto Tecnológico de Massachusetts (MIT)

Available Tools

4 tools

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 4 tools

    Disambiguation3/5

    The tools have overlapping purposes that could cause confusion. create_link and upsert_link both handle link creation, with upsert_link also updating existing links, making it ambiguous when to choose one over the other. However, delete_link and update_link are clearly distinct, and descriptions help clarify the differences.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (create_link, delete_link, update_link, upsert_link). The naming is predictable and readable, with no deviations in style or convention.

    Tool Count4/5

    Four tools are reasonable for a link management server, covering core operations. It is slightly under-scoped as it lacks a tool for retrieving or listing links, which is a common need, but the count is appropriate for basic CRUD functionality.

    Completeness3/5

    There are notable gaps in the tool surface. The server covers create, update, delete, and upsert operations but lacks a get_link or list_links tool for retrieving links, which is essential for full lifecycle management. This omission could lead to agent failures when trying to access existing links.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to create, manage, and analyze short URLs through complete URL shortening functionality. Supports batch operations, custom domains, click statistics, and comprehensive link management.
      6
      12 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to shorten links, bulk create URLs, generate QR codes, manage and disable links, and retrieve click analytics from MCP clients like Claude, ChatGPT, Cursor, and n8n.
      9
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to create, update, organize, and delete short links; render styled QR codes; route visitors by device or country; and read click and scan statistics. Agents can also manage groups and custom domains while changing destinations without breaking printed QR codes or shared short URLs.
      MIT