Repository avatar
Other Tools
v1.2.0
active

linkly

com.linklyhq/linkly

Create and manage short links, track clicks, and automate URL management

Documentation

Linkly MCP Server

Official Model Context Protocol (MCP) server for Linkly - the URL shortener and link management platform.

Documentation

For full documentation, setup guides, and examples, visit: https://linklyhq.com/support/mcp-server

Features

  • Create, update, and delete short links
  • View click analytics and statistics
  • Manage custom domains and favicons
  • Configure webhooks for click events
  • Search and filter links
  • Export click data

Two Ways to Use

Option 1: Hosted Server (Recommended)

Use Linkly's hosted MCP server with OAuth authentication. No installation required.

Server URL: https://mcp.linklyhq.com

This is the easiest way to get started - just connect your MCP client to the hosted server and authenticate with your Linkly account.

Option 2: Self-Hosted (npm)

Run your own instance using your API key.

Installation

npm install -g linkly-mcp-server

Or run directly with npx:

npx linkly-mcp-server

Configuration

Set the required environment variables:

export LINKLY_API_KEY="your-api-key"
export LINKLY_WORKSPACE_ID="your-workspace-id"

You can find these in your Linkly dashboard under Settings > API.

Usage with Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "linkly": {
      "command": "npx",
      "args": ["linkly-mcp-server"],
      "env": {
        "LINKLY_API_KEY": "your-api-key",
        "LINKLY_WORKSPACE_ID": "your-workspace-id"
      }
    }
  }
}

Available Tools

ToolDescription
create_linkCreate a new short link
update_linkUpdate an existing link
delete_linkDelete a link
get_linkGet link details
list_linksList all links in workspace
search_linksSearch links by name, URL, or note
get_analyticsGet time-series click data
get_analytics_byGet clicks grouped by dimension
get_clicksGet recent click data
export_clicksExport detailed click records
list_domainsList custom domains
create_domainAdd a custom domain
delete_domainRemove a custom domain
update_domain_faviconUpdate domain favicon
list_webhooksList workspace webhooks
subscribe_webhookAdd a webhook
unsubscribe_webhookRemove a webhook
list_link_webhooksList link-specific webhooks
subscribe_link_webhookAdd a link webhook
unsubscribe_link_webhookRemove a link webhook

Links

Support

For help and support, visit Linkly Support or email support@linklyhq.com.

License

MIT