Linkly MCP Server
The Linkly MCP Server allows you to programmatically manage short links, track click analytics, configure custom domains, and set up webhooks.
Link Management
Create short links with custom slugs, domains, UTM parameters, OG tags, expiry settings, and tracking options
Update, delete, get details for, list, and search links
Analytics & Click Data
Get time-series click counts (by day or hour) with filters for country, browser, platform, bots, etc.
Get grouped analytics broken down by dimension (country, platform, browser, referrer, ISP, etc.)
View recent raw click data and export detailed click records (timestamp, browser, country, platform, referrer, etc.)
Custom Domain Management
List, add, and delete custom domains
Update the favicon for a custom domain
Webhook Configuration
Manage workspace-level webhooks (click events for all links)
Manage link-specific webhooks (click events for a single link)
Subscribe and unsubscribe from both webhook types
Provides tools for managing Linkly short links, analytics, domains, and webhooks, enabling ChatGPT to interact with the Linkly platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Linkly MCP Servercreate a short link for our new product launch page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Linkly MCP Server
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.
Documentation
For full documentation, setup guides, and examples, visit: https://linklyhq.com/support/mcp-server
Related MCP server: DWZ Short URL 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.comChatGPT Desktop
{
"servers": {
"linkly": {
"type": "url",
"url": "https://mcp.linklyhq.com"
}
}
}Available Tools
Tool | Description |
| Create a new short link |
| Update an existing link |
| Delete a link |
| Get link details |
| List all links in workspace |
| Search links by name, URL, or note |
| Get time-series click data |
| Get clicks grouped by dimension |
| Get recent click data |
| Export detailed click records |
| List custom domains |
| Add a custom domain |
| Remove a custom domain |
| Update domain favicon |
| List workspace webhooks |
| Add a webhook |
| Remove a webhook |
| List link-specific webhooks |
| Add a link webhook |
| Remove a link webhook |
Links
Support
For help and support, visit Linkly Support or email support@linklyhq.com.
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 publishSee 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:
Deploy the worker (push to the connected branch /
wrangler deploy).Platform dashboard → the Linkly app → create a new draft version (keep the same MCP URL
https://mcp.linklyhq.com).In the MCP section, click Scan Tools to re-read the live tool list + annotations.
Drag
chatgpt-app-submission.jsononto the form (top of the page) to fill the justifications.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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Linkly-HQ/linkly-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server