LinkBit MCP logo

LinkBit MCP

Shorten, manage, analyze, and generate QR codes for LinkBit URLs through MCP tools.

Install LinkBit MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "linkbit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "linkbit-mcp"
      ],
      "env": {
        "APP_URL": "YOUR_VALUE_HERE",
        "API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y linkbit-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

LinkBit MCP connects MCP-compatible clients to LinkBit for URL shortening, link management, QR generation, and click analytics. It runs as a Node.js process, sends authenticated requests to LinkBit's REST API, and exposes separate tools for single and bulk creation, updates, disabling, deletion, and reporting. Use it when an agent needs to create campaign links, inspect performance, or produce QR assets from a conversational workflow. UTM fields can be supplied during creation and existing URL parameters are preserved.

Use cases

  • Create campaign short links with UTM parameters
  • Bulk-create links for a list of destinations
  • Review clicks by date, country, device, or referrer
  • Generate print-ready QR codes for short links
  • Disable or update links from an agent workflow

Key features

  • Single and bulk URL shortening
  • UTM-aware link creation and updates
  • Link listing, editing, disabling, and deletion
  • PNG and SVG QR code generation
  • Per-link and account-level analytics
  • MCP tool error reporting for API failures

Tools9

What LinkBit MCP lets your agent do. Expand a tool for its parameters.

Verified live~587 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 45d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Can delete or modify data · 2Makes network requests · 9Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age46 days
Maintainers1

Observed 2026-11-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · linkbit-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads158Package downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed9Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How LinkBit MCP works

What LinkBit MCP does

LinkBit MCP exposes LinkBit's link-shortening service through the Model Context Protocol. Agents can create one short URL at a time or submit multiple URLs in a batch. Creation supports an optional slug, note, and UTM fields for source, medium, campaign, term, and content. Existing utm_* parameters on a destination are retained rather than replaced.

The server also provides link administration tools. Agents can list an authenticated user's links, change a destination or slug, edit notes and campaign parameters, and toggle whether a link is disabled. Disabling prevents the short URL from redirecting and can be reversed by setting disabled to false. Deletion is permanent.

Reporting tools cover both individual links and the account as a whole. Per-link statistics can be limited by date and include country, device, referrer, and daily breakdowns. QR codes can be returned as PNG or SVG, with optional color, logo, and print settings.

How it works

The server runs over standard MCP stdio. It calls LinkBit's REST API with a Bearer token derived from the configured API key. Tool failures, including authentication failures, invalid URLs, duplicate slugs, daily creation limits, unsafe destinations, and unknown link IDs, are returned as MCP tool errors so the calling client can explain them. JSON-RPC protocol problems remain protocol errors.

LinkBit also supports direct calls to /api/v1 from n8n, Make, and custom agents using the same API-key authentication approach. The MCP process itself requires Node.js 18 or newer because it relies on the built-in fetch implementation.

Setup and configuration

Create an API key beginning with slk_ from the API Keys page in LinkBit, then configure:

  • APP_URL: LinkBit base URL, normally https://linkbit.live
  • API_KEY: the LinkBit API key

Run the published package with:

Terminal
npx -y linkbit-mcp

For Claude Code, add the server with claude mcp add and pass the two environment variables. Claude Desktop and Cursor can use an mcp.json entry whose command is npx, whose argument is -y linkbit-mcp, and whose environment contains APP_URL and API_KEY. In a local checkout before publication, Cursor can run node mcp/src/index.js instead.

Tools and capabilities

  • shorten_url: Create one short URL with optional slug, note, and UTM values.
  • shorten_urls: Create multiple short URLs from an array of link definitions.
  • list_links: Return the authenticated user's links, newest first.
  • update_link: Patch destination, slug, note, UTM values, or disabled state.
  • disable_link: Stop or restore redirects for a link.
  • delete_link: Permanently remove a link.
  • get_qr: Generate a PNG or SVG QR code with optional presentation settings.
  • get_link_stats: Retrieve dated click breakdowns for one link.
  • get_analytics: Retrieve account-level analytics.

Destructive operations should be used carefully: disabling makes visitors receive an error instead of the destination, while deletion cannot be undone.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about LinkBit MCP

LinkBit MCP is an MCP server that connects AI clients to LinkBit’s link-shortening and analytics REST API. Its tools create individual or bulk short URLs, manage links, generate QR codes, and retrieve per-link or account-level click data. It runs locally through Node.js and authenticates requests with a LinkBit API key.

Install it by running `npx -y linkbit-mcp` with Node.js 18 or newer. Set `APP_URL` to the LinkBit base URL and `API_KEY` to an API key beginning with `slk_`, then register the command in your MCP client.

Yes, LinkBit MCP works with Cursor through an `mcp.json` configuration. Set the command to `npx`, pass `-y linkbit-mcp` as the argument, and provide `APP_URL` and `API_KEY` in the server environment.

Yes, the `get_qr` tool generates a QR code for a link in PNG or SVG format. It also accepts optional color, logo, and print settings, and can return PNG output as an image block when supported by the client.

It reports analytics through `get_link_stats` for an individual link and `get_analytics` for an account overview. Individual statistics can use `from` and `to` dates and include country, device, referrer, and daily breakdowns.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLinkBit MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/linkbit-mcp?style=directory)](https://allmcps.com/mcp/linkbit-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/linkbit-mcp"><img src="https://allmcps.com/api/badge/linkbit-mcp?style=directory" alt="LinkBit MCP on AllMCPs" /></a>