Linkly
Easily create tracking links, add retargeting tags, do smart redirects and more.
Verdict
Common use cases
- Generate campaign links with UTM tracking
- Pull click analytics by country or device
- Export link performance for monthly reports
- Update Open Graph metadata for social shares
- Delete expired promo links after launch
Integration
- Vendor
- Linkly
- Category
- other
- Auth
- API_KEY
- Tools
- 17
- Composio slug
linkly
Tools
- Create or Update Link
Tool to create a new shortened link or update an existing one in Linkly. Use when you need to generate a trackable short URL with custom parameters, UTM tracking, retargeting pixels, or Open Graph metadata. To create a new link, provide url
- Delete Linkdestructive
Tool to delete a specific link by ID from a workspace. Use when you need to permanently remove a link. This action is permanent and cannot be undone.
- Delete Linksdestructive
Tool to delete one or more links by their IDs. This action is permanent and cannot be undone. Use when you need to remove links from a workspace.
- Export Links
Tool to export all links in a workspace as JSON or CSV. Use when you need to retrieve all links for backup, analysis, or migration purposes.
- Get Click Analytics
Tool to retrieve click analytics for a workspace. Filter by link, date range, country, and more. Returns time-series data suitable for charting.
- Get Click Counters by Dimension
Tool to retrieve click analytics grouped by a specific dimension (counter). Returns aggregated counts for each unique value of the selected dimension. Use when you need to analyze click patterns by country, platform, browser, referrer, ISP,
- Get Link By ID
Tool to retrieve details for a specific link by ID. Use when you need to fetch information about a shortened link, including its destination URL, click statistics, and configuration settings.
- Get Link Details
Tool to retrieve detailed information about a specific link by its ID. Use when you need to fetch link configuration, UTM parameters, or click statistics.
- List Domains
Tool to retrieve all custom domains configured for a workspace. Use when you need to see available domains for creating short links.
- List Links
Tool to get a paginated list of all links in a workspace. Supports search, sorting, and pagination. Returns link details including click statistics. Use when you need to retrieve or search through links.
- List Link Webhooks
Tool to retrieve all webhook subscriptions for a specific link. Use when you need to see what webhooks are configured for a link.
- List Workspaces
Tool to retrieve all workspaces the authenticated user has access to. Use this to discover available workspace IDs for other API calls.
- List workspace webhooks
Tool to list all webhook subscriptions for a specific workspace. Use when you need to retrieve or view the configured webhooks for a workspace.
- Subscribe webhook to link
Tool to subscribe a webhook URL to receive notifications when a specific link is clicked. Use when you need to track click events for a shortened link.
- Subscribe Webhook to Workspace
Tool to subscribe a webhook URL to receive click notifications from a Linkly workspace. Use when you need to set up real-time notifications for link clicks. The webhook will receive POST requests containing click data including country, pla
- Unsubscribe Webhook from Link
Tool to remove a webhook subscription from a link. Use when you need to stop receiving webhook events for a specific link.
- Unsubscribe Webhook From Workspace
Tool to remove a webhook subscription from a workspace. Use when you need to unsubscribe a webhook URL from receiving events for a specific workspace.
Setup
Setup guide
- 11. In Switchy, open your workspace settings and navigate to the MCP Integrations tab. 2. Click 'Add Integration' and select Linkly from the list. 3. Log in to your Linkly account at linkly.com and go to Settings > API Keys. 4. Generate a new API key and copy it to your clipboard. 5. Paste the key into the Switchy integration form and click 'Connect'. 6. Switchy will verify the key and confirm the connection. 7. To test, open any Space and type '@Linkly create a short link for example.com' — the MCP should respond with a new shortened URL. 8. You can now invoke any of Linkly's 17 tools by @mentioning it in a message.
What teammates see: by default, memories from Linkly are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Spaces have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Create Campaign Link
@Linkly create a short link for our spring sale landing page at example.com/spring-sale. Add UTM source 'email', medium 'newsletter', and campaign 'spring2024'.Open in a Space →
Get Click Breakdown
@Linkly show me click analytics for all links in the last 30 days, grouped by country. I need to see which regions are engaging most.Open in a Space →
Export All Links
@Linkly export all links in this workspace as CSV. I need a backup for our quarterly review.Open in a Space →
Update Link Metadata
@Linkly update the link with ID abc123. Change the Open Graph title to 'New Feature Launch' and set the image to example.com/og-image.png.Open in a Space →
Delete Expired Links
@Linkly delete the links with IDs xyz789, def456, and ghi012. These promo URLs expired last week and we no longer need them.Open in a Space →
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@Linkly show me click analytics for all our campaign links from the last 30 days, broken down by country
Based on your workspace's link activity over the past 30 days, here's the geographic breakdown: United States led with 2,847 clicks (42%), followed by United Kingdom with 1,203 clicks (18%), Canada with 891 clicks (13%), and Germany with 654 clicks (10%). The remaining 17% came from 23 other countries. Peak traffic occurred on March 15th with 312 clicks, primarily from US-based visitors during business hours. This data reflects all links tagged with 'campaign' in your workspace.
This example demonstrates Linkly's analytics capabilities using the Get Click Analytics tool. The MCP can filter by date range and dimension (country, device, referrer, etc.). Requires API key with read access to the workspace. Analytics granularity depends on your Linkly plan tier—some dimensions may require a paid subscription.
@Linkly create a short link for our product launch page with UTM parameters for the email campaign and add our retargeting pixel
I've created your shortened link: lnk.ly/prod-launch-q2. This link points to your product launch page and includes UTM parameters (source: email, medium: newsletter, campaign: q2-launch). I've also attached your configured retargeting pixel (ID: px_abc123) so visitors will be added to your remarketing audience. The link is set to your default workspace and uses your custom domain. You can track clicks in real-time through the Linkly dashboard or by asking me for analytics.
This showcases the Create or Update Link tool's full feature set—URL shortening, UTM tracking, and pixel integration in one action. The MCP creates the link immediately in your Linkly workspace. Be aware that custom domains and retargeting pixels must be pre-configured in your Linkly account; the MCP cannot provision these resources, only reference existing ones.
@Linkly export all links created this quarter and identify which three drove the most conversions
I've exported 127 links created between January 1 and March 31. After analyzing click data and conversion tracking, here are your top three performers: (1) lnk.ly/webinar-reg generated 1,834 clicks with 412 conversions (22.5% rate), (2) lnk.ly/case-study-tech had 1,203 clicks with 287 conversions (23.9% rate), and (3) lnk.ly/demo-request achieved 891 clicks with 198 conversions (22.2% rate). All three were shared primarily via LinkedIn and email. The full export includes destination URLs, creation dates, UTM parameters, and click statistics for all 127 links.
This example combines the Export Links tool with the AI's analytical reasoning to surface insights from raw link data. The MCP retrieves all link metadata and click statistics, then the AI identifies patterns. Conversion tracking requires that you've configured conversion goals in Linkly beforehand—the MCP reports what Linkly has recorded, not inferred conversions.
Use-case deep-dives
When Linkly makes sense for multi-channel product launches
A 6-person marketing team running a SaaS product launch across email, social, and paid ads needs to track which channels drive signups. Linkly wins here because the MCP lets you batch-create branded short links with distinct UTM parameters for each placement, then pull click analytics grouped by source or campaign into your standup doc without leaving Switchy. The export tool means you can snapshot all launch links as CSV for the post-mortem. This breaks down if your team already uses Bitly or Rebrandly with existing workflows—Linkly's value is highest when you're starting fresh or consolidating from spreadsheet-based tracking. If you're running more than 3 launches a quarter and tired of manual UTM tagging, the MCP pays off in week one.
Why this MCP fits affiliate or partner ops teams
A 3-person partnerships team managing 40+ affiliate links for a B2B marketplace needs to update destinations, check click counts, and occasionally kill dead links when partners churn. The Linkly MCP handles this: you can query link details by ID, update the target URL when a partner changes their landing page, and delete links in bulk when contracts end. The click counters tool lets you rank partners by traffic without opening a dashboard. This setup works best if your partner count is under 200 links—beyond that, you'll want a dedicated affiliate platform with commission tracking. If you're currently managing partner links in a Notion table and manually checking analytics, this MCP cuts that ritual from 20 minutes to 2.
When Linkly helps support teams clean up shared resources
A 5-person support team maintains a help center with 80+ short links pointing to docs, video walkthroughs, and troubleshooting guides. Every quarter, they audit which links get clicked and which are dead weight. The Linkly MCP lets you export all links as JSON, filter by click count in the last 90 days, and delete the zero-traffic ones in a single Switchy session. The analytics tools show you which docs customers actually use versus which just clutter the knowledge base. This is overkill if your help center has fewer than 30 links—just use a spreadsheet. But if you're over 50 links and your team wastes time hunting down outdated URLs in Zendesk macros, the MCP turns a half-day project into a 15-minute task.
Frequently asked
What does the Linkly MCP do in Switchy?
The Linkly MCP lets AI agents create, update, and delete shortened links in your Linkly workspace. It can generate trackable URLs with UTM parameters, add retargeting pixels, pull click analytics by country or date range, and export all your links as CSV or JSON. Use it when you need AI to manage link campaigns or analyze traffic patterns without opening Linkly's dashboard.
Do I need admin access to connect Linkly to Switchy?
You need a Linkly API key, which you generate from your Linkly account settings. The key inherits your user permissions, so if you can create and delete links in the Linkly dashboard, the MCP can too. No separate admin role is required, but whoever connects it controls which workspace the AI accesses.
Can the Linkly MCP edit link destinations after creation?
Yes. The Create or Update Link tool modifies existing links by ID, so AI can change the destination URL, UTM tags, Open Graph metadata, or retargeting pixels on any link you've already shortened. This is useful for A/B testing or updating campaign parameters without breaking the short URL.
How is this different from just using Linkly's API directly?
The MCP wraps Linkly's API in natural language. Instead of writing curl commands or Python scripts to fetch click data, you ask AI to "show me clicks by country for the last week" and it calls the right endpoint. You trade some control for speed—good for ad-hoc analysis, less ideal for high-volume automation.
Who on my team should connect the Linkly integration?
Whoever manages your link campaigns or needs to pull analytics. Marketing ops and growth teams are typical users. The API key grants full workspace access, so avoid connecting it if you only need read-only reporting—Linkly doesn't offer scoped keys. One connection per workspace is usually enough.