Linkly

com.linklyhqPublished by linklyhq.comOfficial publisherv2.0.0Updated Nov 23, 2026

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

VerifiedStreamable HTTPWeb executableData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Official hosted Linkly MCP server for creating and managing short links, custom domains and click webhooks, and reading click analytics.

What you can do
  • Create, update, get, search, list and delete short links, including batch deletion
  • Read click data: recent clicks, time-series analytics, breakdowns by country, platform or referrer, and detailed click exports
  • Manage custom domains: list, add, remove, and set a domain favicon
  • Manage webhooks: list, subscribe and unsubscribe workspace-wide or per-link click webhooks
  • Check authentication and workspace details, and update workspace settings
When to use it
Useful when an assistant should shorten URLs, keep a Linkly link inventory tidy, or pull click statistics and exports into a conversation. It fits marketing, campaign and content workflows where links and their performance live in Linkly.
Requirements
A remote MCP endpoint; no local install or API key. Sign in to Linkly through the browser OAuth flow when prompted, and all actions apply to that authenticated workspace. The previously published npm package is deprecated.
Before you install
Several tools change or remove data: deleting links (including batch deletion), deleting domains, and unsubscribing webhooks. Creating domains requires the domain to be pointed at Linkly's servers. Click exports and analytics expose visitor data such as country, browser, ISP and referrer from your workspace.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open Linkly in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.linklyhq%2Flinkly/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

Source: README.md at commit 573f4c3

Tools

25

test_authentication

Test authentication

Test API Authentication

Takes no parameters.

list_workspaces

Get workspace details

Return details of authenticated workspace

Takes no parameters.

update_workspace

Update workspace settings

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

Parametersnamewebhooks

ping

Ping server

Health check

Parametersmessagerequired

get_clicks

Get recent clicks

Get recent click data for the workspace

Parameterslink_id

get_analytics

Get click analytics

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

Parametersendbotsstartuniquebrowsercountrylink_idplatform+1 more

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.

Parametersendbotsstartuniquecounterrequiredcountrylink_idplatform

export_clicks

Export click records

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

Parametersendbotsstartcountrylink_idplatform

list_domains

List custom domains

List all custom domains in the workspace.

Takes no parameters.

create_domain

Add custom domain

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

Parametersnamerequired

delete_domain

Delete custom domain

Remove a custom domain from the workspace.

Parametersdomain_idrequired

update_domain_favicon

Update domain favicon

Update the favicon URL for a custom domain.

Parametersdomain_idrequiredfavicon_urlrequired

list_webhooks

List webhooks

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

Takes no parameters.

subscribe_webhook

Add workspace webhook

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

Parametersurlrequired

unsubscribe_webhook

Remove workspace webhook

Unsubscribe a webhook URL from workspace click events.

Parametersurlrequired

Version history

1
  1. v2.0.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

How this score is calculated