test_authentication
Test authentication
Test API Authentication
无需输入参数。

com.linklyhq由 linklyhq.com 发布官方发布者v2.0.0更新于 Nov 23, 2026
Create and manage short links, track clicks, and automate URL management
Linkly 官方托管 MCP 服务器,用于创建和管理短链接、自定义域名与点击 webhook,并读取点击分析数据。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.linklyhq%2Flinkly/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"linkly": {
"type": "http",
"url": "https://mcp.linklyhq.com/"
}
}
}[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-servernpm 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.
For full documentation, setup guides, and examples, visit: https://linklyhq.com/support/mcp-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.
{
"mcpServers": {
"linkly": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.linklyhq.com"]
}
}
}
claude mcp add --transport http linkly https://mcp.linklyhq.com
{
"servers": {
"linkly": {
"type": "url",
"url": "https://mcp.linklyhq.com"
}
}
}
| Tool | Description |
|---|---|
create_link | Create a new short link |
update_link | Update an existing link |
delete_link | Delete a link |
get_link | Get link details |
list_links | List all links in workspace |
search_links | Search links by name, URL, or note |
get_analytics | Get time-series click data |
get_analytics_by | Get clicks grouped by dimension |
get_clicks | Get recent click data |
export_clicks | Export detailed click records |
list_domains | List custom domains |
create_domain | Add a custom domain |
delete_domain | Remove a custom domain |
update_domain_favicon | Update domain favicon |
list_webhooks | List workspace webhooks |
subscribe_webhook | Add a webhook |
unsubscribe_webhook | Remove a webhook |
list_link_webhooks | List link-specific webhooks |
subscribe_link_webhook | Add a link webhook |
unsubscribe_link_webhook | Remove a link webhook |
For help and support, visit Linkly Support or email [email protected].
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.
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:
wrangler deploy).https://mcp.linklyhq.com).chatgpt-app-submission.json onto the form (top of the page) to fill the justifications.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).
MIT
来源:README.md,提交 573f4c3
Test authentication
Test API Authentication
无需输入参数。
Get workspace details
Return details of authenticated workspace
无需输入参数。
Batch delete links
Batch delete multiple links
ids必填Update workspace settings
Update workspace settings. Only the fields provided are changed; omitted fields keep their current values.
namewebhooksList links
List links with sorting and search
pagesearchsort_bysort_dirpage_sizePing server
Health check
message必填Create short link
Create short links and URL shorteners. Use this when the user asks to shorten a URL, create a short link, or make a link shorter.
url必填namenoteslugdomaingtm_idenabledcloaking另有 15 个Update link
Update an existing Linkly link by its ID
urlnamenotegtm_idenabledlink_id必填cloakingog_image另有 14 个Delete link
Delete a Linkly link by its ID
link_id必填Get link details
Get details of a specific Linkly link by its ID
link_id必填Get recent clicks
Get recent click data for the workspace
link_idGet click analytics
Get time-series click analytics data for charting. Returns click counts over time.
endbotsstartuniquebrowsercountrylink_idplatform另有 1 个Get analytics by dimension
Get click counts grouped by a dimension (country, platform, referrer, etc.). Useful for breakdowns and top-N reports.
endbotsstartuniquecounter必填countrylink_idplatformExport click records
Export detailed click records with full information (timestamp, browser, country, URL, platform, referer, bot, ISP, params).
endbotsstartcountrylink_idplatformList custom domains
List all custom domains in the workspace.
无需输入参数。
Add custom domain
Add a custom domain to the workspace. The domain must be configured to point to Linkly's servers.
name必填Delete custom domain
Remove a custom domain from the workspace.
domain_id必填Update domain favicon
Update the favicon URL for a custom domain.
domain_id必填favicon_url必填Search links
Search for links by name, URL, or note. Returns matching links with click statistics.
query必填List webhooks
List all webhook URLs subscribed to the workspace. These receive click events for all links.
无需输入参数。
Add workspace webhook
Subscribe a webhook URL to receive click events for all links in the workspace.
url必填Remove workspace webhook
Unsubscribe a webhook URL from workspace click events.
url必填List link webhooks
List all webhook URLs subscribed to a specific link.
link_id必填Add link webhook
Subscribe a webhook URL to receive click events for a specific link.
url必填link_id必填Remove link webhook
Unsubscribe a webhook URL from a specific link's click events.
url必填link_id必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。