Linkly

com.linklyhq由 linklyhq.com 發布官方發布者v2.0.0更新於 Oct 27, 2026

Create and manage short links, track clicks, and automate URL management

已驗證Streamable HTTP可網頁執行效率與工作流資料與分析

概覽

AI 產生的概覽

Linkly 官方 MCP 伺服器,讓 AI 助理建立與管理短連結、自訂網域和 webhook,並查看點擊分析資料。

可以做什麼
  • 建立、更新、刪除、取得、列出與搜尋工作區中的短連結
  • 讀取點擊分析:近期點擊、時間序列點擊量、依國家/平台/來源等維度的分組統計,以及詳細點擊紀錄匯出
  • 列出、新增與移除自訂網域,並更新網域圖示
  • 列出、訂閱與取消訂閱工作區層級及單一連結層級的點擊事件 webhook
  • 檢查 API 驗證、查看工作區資訊、更新工作區設定並執行健康檢查
適用情境
適合讓助理在對話中直接縮短網址、整理或搜尋既有的 Linkly 連結庫,或取得點擊統計與維度分佈,不必離開聊天介面。
執行需求
使用託管的遠端端點 mcp.linklyhq.com,不需本機安裝或 API 金鑰;連線時透過瀏覽器完成 OAuth 2.1 與 PKCE 登入。舊的 npm 套件已棄用且不再維護。
安裝前請注意
多個工具會變更或刪除資料:delete_link、batchDeleteLinks、delete_domain、unsubscribe_webhook 與 unsubscribe_link_webhook 屬於破壞性操作,建立與更新類工具會改動工作區設定、連結、網域和 webhook 訂閱。webhook 訂閱會把點擊事件傳送到你登錄的網址,只應加入可信任的端點。授權後可存取整個工作區。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Linkly,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.linklyhq%2Flinkly/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "linkly": {
      "type": "http",
      "url": "https://mcp.linklyhq.com/"
    }
  }
}

README

Linkly MCP Server

[Claude connector directory] [smithery badge] [Glama] [MCP registry]

Official Model Context Protocol (MCP) server for Linkly — the URL shortener and link management platform.

This repository powers the hosted MCP server at https://mcp.linklyhq.com. That is the only supported way to connect an AI assistant to Linkly via MCP. See https://linklyhq.com/support/mcp-server for setup instructions.

⚠️ The linkly-mcp-server npm package is deprecated. The self-hosted / API-key flow is no longer maintained. All users should migrate to the hosted server — it uses OAuth 2.1 with PKCE, requires no API keys or local install, and always runs the latest tool set. The npm package will continue to exist on the registry for backwards compatibility but will not receive new tools or bug fixes, and may be unpublished in the future.

Documentation

For full documentation, setup guides, and examples, visit: https://linklyhq.com/support/mcp-server

Features

  • Create, update, and delete short links
  • View click analytics and statistics
  • Manage custom domains and favicons
  • Configure webhooks for click events
  • Search and filter links
  • Export click data

Using the hosted server

Server URL: https://mcp.linklyhq.com

Connect your MCP client to the hosted server and sign in to Linkly when your browser opens. That's it — no API keys, no installation, no config drift.

Claude Desktop

json
{  "mcpServers": {    "linkly": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://mcp.linklyhq.com"]    }  }}

Claude Code (CLI)

bash
claude mcp add --transport http linkly https://mcp.linklyhq.com

ChatGPT Desktop

json
{  "servers": {    "linkly": {      "type": "url",      "url": "https://mcp.linklyhq.com"    }  }}

Available Tools

ToolDescription
create_linkCreate a new short link
update_linkUpdate an existing link
delete_linkDelete a link
get_linkGet link details
list_linksList all links in workspace
search_linksSearch links by name, URL, or note
get_analyticsGet time-series click data
get_analytics_byGet clicks grouped by dimension
get_clicksGet recent click data
export_clicksExport detailed click records
list_domainsList custom domains
create_domainAdd a custom domain
delete_domainRemove a custom domain
update_domain_faviconUpdate domain favicon
list_webhooksList workspace webhooks
subscribe_webhookAdd a webhook
unsubscribe_webhookRemove a webhook
list_link_webhooksList link-specific webhooks
subscribe_link_webhookAdd a link webhook
unsubscribe_link_webhookRemove a link webhook

Links

Support

For help and support, visit Linkly Support or email [email protected].

Publishing to the MCP Registry (maintainers)

The server.json at the repo root is the official MCP Registry manifest for the com.linklyhq/linkly server. It is remote-only: it points clients at the hosted server and intentionally ships no package (the deprecated npm distribution was dropped in v2.0.0).

Publishing requires DNS access to linklyhq.com — the com.linklyhq namespace is verified via a DNS TXT record on the domain apex:

bash
# 1. Generate an Ed25519 key + TXT record (macOS: use openssl@3; system LibreSSL lacks Ed25519)openssl genpkey -algorithm Ed25519 -out key.pemPUBLIC_KEY="$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)"echo "linklyhq.com. IN TXT \"v=MCPv1; k=ed25519; p=${PUBLIC_KEY}\""   # add at the APEX of linklyhq.com
# 2. Authenticate the namespace + publishPRIVATE_KEY="$(openssl pkey -in key.pem -noout -text | grep -A3 'priv:' | tail -n +2 | tr -d ' :\n')"mcp-publisher login dns --domain linklyhq.com --private-key "$PRIVATE_KEY"mcp-publisher publish

See the registry authentication guide for details.

Updating the ChatGPT app (maintainers)

chatgpt-app-submission.json is the OpenAI Apps SDK submission import — it pre-fills the per-tool annotations and the three safety justifications (read-only / open-world / destructive) for all 25 tools, so they don't have to be typed by hand in the dashboard.

OpenAI freezes a metadata snapshot at publish time and does not auto-detect MCP changes, so after deploying server changes you publish a new version:

  1. Deploy the worker (push to the connected branch / wrangler deploy).
  2. Platform dashboard → the Linkly app → create a new draft version (keep the same MCP URL https://mcp.linklyhq.com).
  3. In the MCP section, click Scan Tools to re-read the live tool list + annotations.
  4. Drag chatgpt-app-submission.json onto the form (top of the page) to fill the justifications.
  5. Review Testing, then Submit. The published version keeps running against the live server until the new one is approved.

Keep this file in sync with the worker whenever tools are added/removed or their readOnlyHint/destructiveHint change. The destructive flag is true only for the 5 genuinely destructive tools (delete_link, delete_domain, batchDeleteLinks, unsubscribe_webhook, unsubscribe_link_webhook); creates/updates/subscribes are additive (false).

License

MIT

來源:README.md,提交 573f4c3

工具

25

test_authentication

Test authentication

Test API Authentication

無需輸入參數。

list_workspaces

Get workspace details

Return details of authenticated workspace

無需輸入參數。

update_workspace

Update workspace settings

Update workspace settings. Only the fields provided are changed; omitted fields keep their current values.

輸入參數namewebhooks

ping

Ping server

Health check

輸入參數message必填

get_clicks

Get recent clicks

Get recent click data for the workspace

輸入參數link_id

get_analytics

Get click analytics

Get time-series click analytics data for charting. Returns click counts over time.

輸入參數endbotsstartuniquebrowsercountrylink_idplatformfrequency

get_analytics_by

Get analytics by dimension

Get click counts grouped by a dimension (country, platform, referrer, etc.). Useful for breakdowns and top-N reports.

輸入參數endbotsstartuniquecounter必填countrylink_idplatform

export_clicks

Export click records

Export detailed click records with full information (timestamp, browser, country, URL, platform, referer, bot, ISP, params).

輸入參數endbotsstartcountrylink_idplatform

list_domains

List custom domains

List all custom domains in the workspace.

無需輸入參數。

create_domain

Add custom domain

Add a custom domain to the workspace. The domain must be configured to point to Linkly's servers.

輸入參數name必填

delete_domain

Delete custom domain

Remove a custom domain from the workspace.

輸入參數domain_id必填

update_domain_favicon

Update domain favicon

Update the favicon URL for a custom domain.

輸入參數domain_id必填favicon_url必填

list_webhooks

List webhooks

List all webhook URLs subscribed to the workspace. These receive click events for all links.

無需輸入參數。

subscribe_webhook

Add workspace webhook

Subscribe a webhook URL to receive click events for all links in the workspace.

輸入參數url必填

unsubscribe_webhook

Remove workspace webhook

Unsubscribe a webhook URL from workspace click events.

輸入參數url必填

版本歷史

1
  1. v2.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分