Using Linkly with Claude Desktop
Connect Claude Desktop to your Linkly account and manage short links through natural conversation.
What You Can Do
Once connected, you can ask Claude to:
- Create short links - "Create a short link for https://example.com"
- Track performance - "How many clicks did my links get this week?"
- Manage links - "Update the link called 'promo' with a new destination"
- View analytics - "Show me clicks by country for the last 30 days"
- Search links - "Find all links related to the product launch"
- Manage domains - "List my custom domains"
- Set up webhooks - "Subscribe https://my-site.com/webhook to receive click events"

How to set up Claude Desktop with Linkly
Get your API credentials from Linkly
Log in to your Linkly dashboard, go to Settings → API, and copy your API Key and Workspace ID.
Open Claude Desktop settings
Go to Settings (gear icon) → Developer → Edit Config to open your configuration file.
Add the Linkly MCP server configuration
Add the following to your config file, replacing the placeholder values with your actual credentials:
{"mcpServers": {"linkly": {"command": "npx", "args": ["-y", "linkly-mcp-server"], "env": {"LINKLY_API_KEY": "your-api-key", "LINKLY_WORKSPACE_ID": "your-workspace-id"}}}}Save and restart Claude Desktop
After saving the configuration file, restart Claude Desktop to apply the changes.
Verify the connection
Look for a hammer icon in the Claude Desktop input area. Click it to see available Linkly tools, or try asking "List my Linkly links".
Available Tools
Link Creation Options
When creating links, you can specify:
- Basic:
url,name,note,domain,slug,enabled - UTM Parameters:
utm_source,utm_medium,utm_campaign,utm_term,utm_content - Open Graph:
og_title,og_description,og_image - Tracking:
fb_pixel_id,ga4_tag_id,gtm_id - Advanced:
cloaking,forward_params,block_bots,hide_referrer - Expiry:
expiry_datetime,expiry_destination
Related Resources
Claude Desktop Integration FAQs
"Could not connect to MCP server"
Check that your API key and Workspace ID are correct. Ensure you have Node.js installed (v18 or later). Try running npx linkly-mcp-server in a terminal to see any errors.
"Authentication failed"
Verify your API key in the Linkly dashboard at Settings → API. Make sure there are no extra spaces in your credentials.
Tools not appearing in Claude Desktop
Restart Claude Desktop after saving the configuration. Check that the JSON syntax in your config file is valid. The hammer icon should appear in the input area when properly configured.
What can I do with the Claude Desktop integration?
You can create, update, and delete links, view analytics and click data, search your links, manage custom domains, and set up webhooks - all through natural conversation with Claude.
