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.
# claude_desktop_config.json / .cursor/mcp.json
{
"mcpServers": {
"linktwin": {
"command": "npx",
"args": ["-y", "@linktwin/mcp"],
"env": { "LINKTWIN_API_KEY": "YOUR_API_KEY" }
}
}
}
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.
Nothing to install — npx runs the server on demand.
Create a free LinkTwin account and copy your API key from Settings or the dashboard MCP page.
Paste the JSON above into your AI client config and drop in your API key.
Restart your client and ask it to create, edit or analyze links. The LinkTwin tools appear automatically.
34 tools covering the full LinkTwin link-management surface.
Create, edit, list and delete links with custom aliases, expiry, passwords and click limits.
Geo, device and language targeting, A/B test variants and UTM parameters — set in a single prompt.
Per-link and account-wide click stats: top countries, referrers, browsers, devices and day trends.
Group links into collections and manage your branded custom domains.
Generate and update QR codes for any link, with colors and logos.
Create Facebook, GTM and other pixels and attach them to links in bulk.
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
Everything about the link shortening and deep linking MCP.
Still have questions? Contact usThe 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.
Connect the LinkTwin MCP server and start creating links by conversation. Free to start.
Free to start • Open source • Works with Claude & Cursor