linkbit-mcp
LinkBit MCP server lets you create and manage short links and view click analytics from MCP clients.
Shorten a URL with optional slug, note, and UTM parameters, preserving existing UTM values.
Bulk-create multiple short URLs.
List your short links newest first.
Update a link’s destination, slug, note, UTM fields, or disabled flag.
Disable/re-enable a link or permanently delete it.
Generate QR codes for links as PNG or SVG, with optional color, logo, and print options.
Get per-link click stats with optional date range and country/device/referrer/daily breakdowns.
Get account-level analytics overview.
Click on "Deploy 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., "@linkbit-mcp shorten https://example.com/spring-sale as slug spring with utm_source newsletter"
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.
linkbit-mcp
MCP server for LinkBit: shorten links, bulk create, QR codes, and click analytics from Claude, ChatGPT, Cursor, and n8n.
Public docs: linkbit.live/docs · linkbit.live/mcp
Setup
Sign in at linkbit.live and create an API key (
slk_...) on the API Keys page.Node.js 18+ is required (
fetch).
APP_URL=https://linkbit.live
API_KEY=slk_your_keyAuth against the REST API uses either Authorization: Bearer slk_... or x-api-key: slk_.... This server sends Bearer.
Related MCP server: filoo MCP server
Install
npx -y linkbit-mcpClaude Code:
claude mcp add linkbit -e API_KEY=slk_your_key -e APP_URL=https://linkbit.live -- npx -y linkbit-mcpClaude Desktop / Cursor (mcp.json):
{
"mcpServers": {
"linkbit": {
"command": "npx",
"args": ["-y", "linkbit-mcp"],
"env": {
"APP_URL": "https://linkbit.live",
"API_KEY": "slk_your_key"
}
}
}
}Example prompts
Shorten https://example.com/campaign as slug spring and utm_source newsletter
List my links and show clicks for the first id since 2026-01-01
Disable link
<id>then generate a print PNG QR
Tools
Tool | Parameters | Notes |
|
| Existing |
|
| Bulk create |
| — | Newest first |
|
| PATCH |
|
| Stops redirects. |
|
| Permanent. |
|
| PNG as an image block when possible |
|
| Countries, devices, referrers, daily |
| — | Account overview |
Errors
Tool failures (missing key, 401, invalid URL, daily limit, unsafe destination) are returned as tools/call with isError: true so the model can explain them. Protocol errors (unknown method, bad JSON) stay JSON-RPC errors.
401 — API key missing or wrong (
slk_...). Create a key under API Keys.400 — invalid URL, slug taken, daily create limit, blocked or unsafe destination.
404 — unknown link id.
Process fails at start if Node is older than 18 (
fetchis required).
n8n, Make, and custom agents can also call /api/v1 with the same headers.
Local development (ShortLinks monorepo)
Until npm publish, Cursor can run the copy in this folder:
Copy
mcp/cursor.mcp.json.exampleto.cursor/mcp.json(gitignored) or~/.cursor/mcp.json.Paste the
slk_…key intoenv.API_KEY.For this repo before publish, use
"command": "node"and"args": ["mcp/src/index.js"].
Available Tools
9 toolsdelete_linkADestructiveIdempotent
Permanently delete a short link. This cannot be undone.
Inputs: id (required).
disable_linkADestructiveIdempotent
Disable a short link so it no longer redirects. Pass disabled=false to re-enable. Destructive: visitors will get an error instead of the destination.
Inputs: id (required), disabled.
get_analyticsARead-only
Analytics for the whole account across all links: total clicks, unique visitors, link count, top links, and breakdowns by day, country, device and referrer. For a single link use get_link_stats. Read-only.
Inputs: no named parameters.
get_link_statsARead-only
Click statistics for one link, with breakdowns by country, device, referrer and day. Optionally limit the date range. For all links at once use get_analytics. Read-only.
Inputs: id (required), to, from.
get_qrARead-only
Generate a QR code image that opens the short link. The image is returned as an image block. Read-only: it does not change the link.
Inputs: id (required), logo, color, print, +1 more.
list_linksARead-only
List all short links of the account that owns the API key, newest first, with their ids, slugs and destinations. Use it to find a link id for the other tools. Read-only.
Inputs: no named parameters.
shorten_urlA
Create one short link on linkbit.live for a destination URL. Returns the short URL and the link id. Optional UTM fields are merged into the destination without overwriting utm_* params it already has; a #fragment is kept. Fails on an invalid or unsafe URL, a slug that is taken, or when the daily create limit is reached.
Inputs: destination (required), note, slug, utm_term, +4 more.
shorten_urlsA
Create several short links in one call. Each item follows the same rules as shorten_url. Items that fail do not stop the others: the response lists the created links and the errors separately.
Inputs: urls (required).
update_linkA
Change an existing link: its destination, slug, note, UTM fields or the disabled flag. Only the fields you pass are changed. Changing the slug changes the short URL, so old copies of it stop working.
Inputs: id (required), note, slug, disabled, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly stated resource and action, and descriptions explicitly cross-reference siblings (get_link_stats vs get_analytics, shorten_url vs shorten_urls), which resolves the main potential confusion. The one overlap is disable_link versus update_link's disabled flag, which covers the same operation through two paths.
Every tool follows a predictable verb_noun pattern (update_link, delete_link, get_link_stats, list_links, shorten_url). The shorten_url/shorten_urls singular/plural pair is a consistent and readable batch convention.
Nine tools is well within the ideal range and each maps to a distinct operation (create, batch create, list, update, disable, delete, stats, account analytics, QR). Nothing feels padded or missing at the count level.
The surface covers the full link lifecycle (create, batch create, list, update, disable/re-enable, delete, per-link stats, account analytics, QR generation) with no dead ends. Minor gaps remain: no single-link get for a known id, no bulk update/delete/disable, and no slug availability check or QR customization.
Maintenance
Related MCP Connectors
Create and manage short links, track clicks, and automate URL management
Make, find, pause and track short links and QR codes from your AI assistant. Create short links with an optional custom address, title and tags; find links and QR codes; update, pause, resume, archive or restore them; and read click analytics (clicks, unique visitors, countries, referrers, devices, browsers) for a link, a QR code or the whole account. Sign in with OAuth and choose what the assistant may do. Every change can be undone; nothing is ever permanently deleted. Works on every plan, including Free.
Make short links and QR codes and read click stats from your AI assistant.
Create short links and see their click counts from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to create and manage short URLs via the MCP protocol, with OAuth authentication through Cloudflare Access.33Apache 2.0
- AlicenseAqualityDmaintenanceEnables AI agents to shorten URLs, manage links, and track click analytics through 8 first-class tools, designed for use with Claude Desktop, Cursor, and other MCP clients.940 npmMIT
linkbit-mcpDeprecated
AlicenseAqualityBmaintenanceEnables users to shorten links, bulk create URLs, generate QR codes, manage and disable links, and retrieve click analytics from MCP clients like Claude, ChatGPT, Cursor, and n8n.9MIT
esyURL MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create, update, organize, and delete short links; render styled QR codes; route visitors by device or country; and read click and scan statistics. Agents can also manage groups and custom domains while changing destinations without breaking printed QR codes or shared short URLs.MIT