Shorten URLs, bulk create, QR, and click analytics for LinkBit.
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
slk_...) on the API Keys page.fetch).APP_URL=https://linkbit.live
API_KEY=slk_your_key
Auth against the REST API uses either Authorization: Bearer slk_... or x-api-key: slk_.... This server sends Bearer.
npx -y linkbit-mcp
Claude Code:
claude mcp add linkbit -e API_KEY=slk_your_key -e APP_URL=https://linkbit.live -- npx -y linkbit-mcp
Claude Desktop / Cursor (mcp.json):
{
"mcpServers": {
"linkbit": {
"command": "npx",
"args": ["-y", "linkbit-mcp"],
"env": {
"APP_URL": "https://linkbit.live",
"API_KEY": "slk_your_key"
}
}
}
}
<id> then generate a print PNG QR| Tool | Parameters | Notes |
|---|---|---|
shorten_url | destination (required), slug, note, utm_source, utm_medium, utm_campaign, utm_term, utm_content | Existing utm_* on the URL are not overwritten; #fragment is kept |
shorten_urls | urls[] with the same fields | Bulk create |
list_links | — | Newest first |
update_link | id, optional destination/slug/note/UTM/disabled | PATCH |
disable_link | id, optional disabled (default true) | Stops redirects. destructiveHint: true |
delete_link | id | Permanent. destructiveHint: true |
get_qr | id, format png|svg, color, logo, print | PNG as an image block when possible |
get_link_stats | id, optional from, to (YYYY-MM-DD) | Countries, devices, referrers, daily |
get_analytics | — | Account overview |
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.
slk_...). Create a key under API Keys.fetch is required).n8n, Make, and custom agents can also call /api/v1 with the same headers.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y linkbit-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-elkinegor-linkbit-mcp": {
"command": "npx",
"args": [
"-y",
"linkbit-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencelinkbit-mcpnpmLinkBit works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.