Linkly

com.linklyhq由 linklyhq.com 发布官方发布者v2.0.0更新于 Nov 23, 2026

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

已验证Streamable HTTP可网页运行数据与分析商业与电商

概览

AI 生成的概览

Linkly 官方托管 MCP 服务器,用于创建和管理短链接、自定义域名与点击 webhook,并读取点击分析数据。

可以做什么
  • 创建、更新、查询、搜索、列出和删除短链接,支持批量删除
  • 读取点击数据:近期点击、时间序列分析、按国家/平台/来源等维度分组,以及详细点击记录导出
  • 管理自定义域名:列出、添加、删除域名并设置域名图标
  • 管理 webhook:列出、订阅和取消订阅工作区级或单个链接的点击 webhook
  • 检查认证状态与工作区信息,并更新工作区设置
适用场景
适合需要让助手缩短网址、维护 Linkly 链接清单,或在对话中获取点击统计与导出数据的场景。适用于链接及其效果数据存放在 Linkly 的营销、活动与内容工作流。
运行要求
远程 MCP 端点,无需本地安装或 API 密钥。按提示在浏览器中通过 OAuth 登录 Linkly,所有操作作用于该已认证的工作区。此前发布的 npm 包已弃用。
安装前请注意
多个工具会修改或删除数据:删除链接(含批量删除)、删除域名、取消订阅 webhook。添加域名前需将该域名指向 Linkly 的服务器。点击导出与分析会暴露工作区访客数据,如国家、浏览器、ISP 和来源。

安装

在 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

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

Claude Code (CLI)

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

ChatGPT Desktop

{
  "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:

# 1. Generate an Ed25519 key + TXT record (macOS: use openssl@3; system LibreSSL lacks Ed25519)
openssl genpkey -algorithm Ed25519 -out key.pem
PUBLIC_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 + publish
PRIVATE_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_idplatform另有 1 个

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 分