The Link Shortening & Deep Linking MCP Server for AI Agents

Connect Claude, Cursor and other AI assistants to LinkTwin. Ask in plain language to create short links and deep links, organize collections, attach pixels, generate QR codes and read analytics — your agent does the rest through the Model Context Protocol.

Free to start Open source Setup in 60 seconds
# claude_desktop_config.json / .cursor/mcp.json
{
  "mcpServers": {
    "linktwin": {
      "command": "npx",
      "args": ["-y", "@linktwin/mcp"],
      "env": { "LINKTWIN_API_KEY": "YOUR_API_KEY" }
    }
  }
}
Why an MCP server

From "shorten this" to done — without leaving your chat

Switching to a dashboard or wiring up the REST API by hand breaks your flow. The LinkTwin MCP server gives your AI assistant first-class link-management tools, so it can build campaign links, deep links and QR codes for you while you stay in the conversation.

Without an MCP
  • Copy-paste between chat and dashboard
  • Hand-write API calls and auth headers
  • AI cannot see your links or stats
  • Slow, error-prone, repetitive
VS
With the LinkTwin MCP
  • Create links by just asking
  • Deep links, targeting & UTM in one prompt
  • AI reads your analytics on demand
  • Bulk operations in seconds
Setup

Connect in three steps

Nothing to install — npx runs the server on demand.

1

Get your API key

Create a free LinkTwin account and copy your API key from Settings or the dashboard MCP page.

2

Add the config snippet

Paste the JSON above into your AI client config and drop in your API key.

3

Just ask

Restart your client and ask it to create, edit or analyze links. The LinkTwin tools appear automatically.

Claude Desktop Claude Code Cursor Windsurf Cline Any MCP client
Capabilities

Everything your agent can manage

34 tools covering the full LinkTwin link-management surface.

Short links & deep links

Create, edit, list and delete links with custom aliases, expiry, passwords and click limits.

Smart targeting

Geo, device and language targeting, A/B test variants and UTM parameters — set in a single prompt.

Analytics

Per-link and account-wide click stats: top countries, referrers, browsers, devices and day trends.

Collections & domains

Group links into collections and manage your branded custom domains.

QR codes

Generate and update QR codes for any link, with colors and logos.

Retargeting pixels

Create Facebook, GTM and other pixels and attach them to links in bulk.

Configuration

One snippet to connect

Add this to Claude Desktop, Cursor or any MCP client, then restart.

{
  "mcpServers": {
    "linktwin": {
      "command": "npx",
      "args": ["-y", "@linktwin/mcp"],
      "env": { "LINKTWIN_API_KEY": "YOUR_API_KEY" }
    }
  }
}

Prefer the terminal? Use the LinkTwin CLI  ·  Read the API docs

FAQ

MCP Server
Questions

Everything about the link shortening and deep linking MCP.

Still have questions? Contact us

The LinkTwin MCP server is an open Model Context Protocol (MCP) server for link shortening and deep linking. It connects AI assistants like Claude and Cursor to your LinkTwin account so they can create, edit and manage short links and deep links, organize collections, attach retargeting pixels, generate QR codes and read click analytics — all from a natural-language conversation.

MCP is an open standard that lets AI assistants securely connect to external tools and data. An MCP server exposes a set of "tools" the AI can call. The LinkTwin MCP server exposes link-management tools, so any MCP-compatible app (Claude Desktop, Claude Code, Cursor, Windsurf, Cline and more) can manage your links on your behalf.

Yes. The MCP server itself is free and open source, and you can start with a free LinkTwin account. API access (used by the MCP server) is available on LinkTwin plans that include the developer API. You only need your API key to connect.

Any client that speaks the Model Context Protocol over stdio works, including Claude Desktop, Claude Code, Cursor, Windsurf and Cline. You add one JSON snippet to your client config and the LinkTwin tools appear automatically.

Yes. This is a deep linking MCP as well as a link shortening MCP. Through the AI you can create deep links with geo, device and language targeting, A/B testing variants, UTM parameters, branded domains and in-app-browser escaping — the same capabilities as the LinkTwin dashboard and API.

Sign in to LinkTwin and open Settings or the Tools & Integrations → MCP Server page in your dashboard. Copy your API key and paste it into your MCP client config as LINKTWIN_API_KEY. The API must be enabled on your plan.

The MCP server only does what your API key allows, scoped to your own account, and runs locally on your machine — your key is never shared with third parties. You can regenerate your API key at any time to revoke access instantly.

Give your AI the power to manage links

Connect the LinkTwin MCP server and start creating links by conversation. Free to start.

Free to start • Open source • Works with Claude & Cursor