Cover image
Try Now
2025-03-07

Mirror ofhttps://github.com/Gitmaxd/dubco-mcp-server

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • momi
  • Provides initial medical assessments and advice.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • sligter
  • Lite-MCP-Client是一个基于命令行的轻量级MCP客户端工具

    Reviews

    2 (1)
    Avatar
    user_P9ky0jY5
    2025-04-16

    I am thrilled with the Gitmaxd_dubco-mcp-server by MCP-Mirror. It offers excellent stability and seamless integration for MCP applications. The server's performance is impressive, and the setup process is straightforward thanks to the thorough documentation provided. As a dedicated MCP user, I highly recommend checking out this server. For those interested, you can find it on GitHub: https://github.com/MCP-Mirror/Gitmaxd_dubco-mcp-server.