How to connect Linkly MCP to Claude

Connect Claude Web, Desktop and Cowork to Linkly MCP. Create branded short links for campaigns, review click analytics for recent links, and more using natural language, with authentication handled for you.

Linkly MCP logoLinkly MCP
Dcr Oauth

Linkly MCP is a hosted MCP server for creating and managing Linkly short links. It brings custom domains, click analytics, exports, and webhooks into one place.

25 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Linkly account to Claude via Composio Connect, enabling it to create branded short links for campaigns, review click analytics for recent links, export Linkly clicks for monthly reporting, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Linkly MCP with

Connecting Linkly to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Linkly account

Back in Claude, ask it to connect to Linkly or give it any Linkly-related task.

For example, ask Claude to:

  • "Create branded short links for campaigns"
  • "Review click analytics for recent links"
  • "Export Linkly clicks for monthly reporting"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Linkly account is ready to use.

What is the Linkly Claude Connector, and what's possible with it?

The Linkly MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Linkly account. It provides structured and secure access to your short links, custom domains, click data, and webhooks, so your agent can create and manage links, review click analytics, export click records, and configure click notifications on your behalf.

  • Short link management: Have your agent create, search, list, update, retrieve, and delete Linkly short links.
  • Custom domain administration: Let the agent list, add, remove, and update favicon settings for your Linkly custom domains.
  • Click analytics and exports: Direct your agent to review click trends, group clicks by country, platform, or referrer, retrieve recent click data, and export detailed click records.
  • Click webhook automation: Instruct your agent to subscribe or unsubscribe webhook URLs for all workspace links or for a specific link, and list the current webhook subscriptions.
  • Workspace management: Have your agent view workspace details, update workspace settings, and test the Linkly connection.

Troubleshooting

1. Why does Claude not use the Composio connector for Linkly?

The connector can show as connected, but Claude must use it in each Linkly conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Linkly again.

2. Why does Claude show an MCP server error before Linkly connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Linkly.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Linkly.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Linkly authorization link not work?

The Composio connector is one server. Your Linkly account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Linkly connection.
  • Composio creates a fresh Linkly authorization link.
  • Open that link in your browser and finish the Linkly sign-in.

4. Why do Linkly actions fail after they worked before?

The Linkly connection can expire or lose permission.

  • Ask Claude to inspect the Linkly connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Linkly account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Linkly.
  • If the action still fails with a permission error, check that the connected account has that permission in Linkly itself.

5. How do I switch to a different Linkly account?

Claude can manage the Linkly connection for you.

  • Ask Claude to disconnect or delete the current Linkly account.
  • Ask Claude to connect Linkly again.
  • Open the new Composio authorization link for Linkly.
  • Sign in with the other Linkly account in the browser.
  • After the account connects, ask Claude to retry the Linkly task.

6. Why is my Linkly connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Linkly connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Linkly tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Linkly.
TOOLS

Supported Tools

Every Linkly MCP action and event your agent gets out of the box.

Batch delete links

Batch delete multiple links

Create domain

Add a custom domain to the workspace.

Create link

Create short links and URL shorteners.

Delete domain

Remove a custom domain from the workspace.

Delete link

Delete a Linkly link by its ID

Export clicks

Export detailed click records with full information (timestamp, browser, country, URL, platform, referer, bot, ISP, params).

Get analytics

Get time-series click analytics data for charting.

Get analytics by

Get click counts grouped by a dimension (country, platform, referrer, etc.).

Get clicks

Get recent click data for the workspace

Get link

Get details of a specific Linkly link by its ID

List domains

List all custom domains in the workspace.

List links

List links with sorting and search

List link webhooks

List all webhook URLs subscribed to a specific link.

List webhooks

List all webhook URLs subscribed to the workspace.

List workspaces

Return details of authenticated workspace

Ping

Health check

Search links

Search for links by name, URL, or note.

Subscribe link webhook

Subscribe a webhook URL to receive click events for a specific link.

Subscribe webhook

Subscribe a webhook URL to receive click events for all links in the workspace.

Test authentication

Test API Authentication

Unsubscribe link webhook

Unsubscribe a webhook URL from a specific link's click events.

Unsubscribe webhook

Unsubscribe a webhook URL from workspace click events.

Update domain favicon

Update the favicon URL for a custom domain.

Update link

Update an existing Linkly link by its ID

Update workspace

Update workspace settings.

FRAMEWORKS

How to build Linkly MCP Agent with another framework

FAQ

Frequently asked questions

Start with Linkly MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Linkly MCP tool your agent needs.Free to start.

Start building