Skip to main content
Glama

Dub.co MCP サーバー

鍛冶屋のバッジ MCP対応 ライセンス: MIT

Dub.coリンク短縮APIと連携するためのMCPサーバー。このサーバーにより、AIエージェントはDub.coアカウントを通じて短縮リンクを作成、更新、管理できます。

特徴

  • カスタムスラッグで短縮リンクを作成する

  • 既存の短縮リンクを更新する

  • アップサートリンク(作成または更新)

  • リンクを削除

  • 自動ドメイン選択

Related MCP server: Linkly MCP Server

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Dub.co Link Shortener Server を自動的にインストールするには:

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

前提条件

  • Node.js 18以上

  • APIアクセス可能なDub.coアカウント

  • Dub.coからのAPIキー

オプション 1: NPM 経由でインストールする (推奨)

npm install -g dubco-mcp-server

次に、MCP 構成に以下を追加します。

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

オプション2: クローンとビルド

# 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

次に、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": []
    }
  }
}

Dub.co APIキーの取得

  1. Dub.coアカウントにログイン

  2. ワークスペースの設定に移動します

  3. 「API」セクションに移動します

  4. 新しいAPIキーを生成する

使用法

MCP サーバーをインストールして構成すると、AI エージェントに次のツールが提供されます。

リンクを作成

dub.co に新しい短縮リンクを作成します。

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

更新リンク

dub.co の既存の短縮リンクを更新します。

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

アップサートリンク

dub.co で短縮リンクを作成または更新します。

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

削除リンク

dub.co の短縮リンクを削除します。

{
  "linkId": "link_id_here"
}

ライセンス

マサチューセッツ工科大学

Available Tools

4 tools

Tool Schema Changelog

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

  1. 4 tool updatesv1.0.0
    • First observedcreate_link
    • First observeddelete_link
    • First observedupdate_link
    • First observedupsert_link

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

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
    7 npm
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables interaction with Linkly's URL shortener and link management platform. Supports creating and managing short links, viewing analytics, configuring custom domains and webhooks, and exporting click data.
    20
    25 npm
    1
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to interact with a Shlink URL shortening instance, allowing creation, listing, retrieval, and deletion of short URLs, as well as tag management.
    5
    4
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to manage ULink deep linking projects, including creating smart links, configuring domains, and viewing analytics.
    24
    75 npm
    MIT