Linkly MCP by usefulapi

Read short links, clicks and conversions; create or update short links in Linkly.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
82%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,474Tokens (tool definitions)
~2.1 KBTypical response size
Moderate attention impact (1.93% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "linkly": {
      "url": "https://linkly.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://linkly.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (10)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢linkly_list_workspaces

List the Linkly workspaces this API key can access, with their ids. Call this first to find the workspace_id for the other tools. Linkly API: GET /api/v1/workspaces.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_list_links(workspace_id, search, page, page_size, sort_by, ...)

List the short links in a workspace, with click totals (today, 30 days, all time), domain and destination. Supports search, sorting and pages. Linkly API: GET /api/v1/workspace/{workspace_id}/list_links.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Workspace id. Use linkly_list_workspaces to find it."
    },
    "search": {
      "description": "Search text (matches slugs and destinations).",
      "type": "string"
    },
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Links per page (default set by Linkly).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "sort_by": {
      "description": "Field to sort by, as Linkly names it (for example clicks_total).",
      "type": "string"
    },
    "sort_dir": {
      "description": "Sort direction.",
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "deleted": {
      "description": "List deleted links (true) or live links (false, default).",
      "type": "boolean"
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_get_link(link_id, workspace_id)

Get one short link: destination, short URL, UTM parameters, rules and settings. Click counts are not included; use linkly_get_clicks or linkly_list_links for them. Linkly API: GET /api/v1/link/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "link_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Link id (from linkly_list_links or linkly_get_link)."
    },
    "workspace_id": {
      "description": "Workspace id. Use linkly_list_workspaces to find it.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ]
    }
  },
  "required": [
    "link_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_get_clicks(workspace_id, link_id, link_ids, start, end, ...)

Get a click time series for a workspace or for chosen links, with filters for country, browser, platform, referer, bots and unique visitors. Analytics calls draw on the workspace's plan allowance. Linkly API: GET /api/v1/workspace/{workspace_id}/clicks.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Workspace id. Use linkly_list_workspaces to find it."
    },
    "link_id": {
      "description": "One link id to filter by.",
      "type": "string"
    },
    "link_ids": {
      "description": "Comma-separated link ids to filter by.",
      "type": "string"
    },
    "start": {
      "description": "Start of the period, as the API accepts it (ISO 8601 date or datetime).",
      "type": "string"
    },
    "end": {
      "description": "End of the period, as the API accepts it (ISO 8601 date or datetime).",
      "type": "string"
    },
    "country": {
      "description": "Filter by country (as the API names it).",
      "type": "string"
    },
    "browser": {
      "description": "Filter by browser name.",
      "type": "string"
    },
    "platform": {
      "description": "Filter by platform (operating system).",
      "type": "string"
    },
    "referer": {
      "description": "Filter by referring site.",
      "type": "string"
    },
    "isp": {
      "description": "Filter by internet provider.",
      "type": "string"
    },
    "bots": {
      "description": "Include (true) or exclude (false) known bot traffic.",
      "type": "boolean"
    },
    "unique": {
      "description": "Count unique visitors only (true) or all clicks (false).",
      "type": "boolean"
    },
    "pivot": {
      "description": "Group the series by link.",
      "type": "string",
      "enum": [
        "link_id"
      ]
    },
    "timezone": {
      "description": "IANA timezone for the series (for example Europe/Prague).",
      "type": "string"
    },
    "frequency": {
      "description": "Bucket size of the series (default day).",
      "type": "string",
      "enum": [
        "day",
        "hour"
      ]
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_get_click_counters(workspace_id, counter, link_id, link_ids, start, ...)

Get the top values of one click dimension (for example country, city, referer, utm_source, destination) with click counts. Linkly API: GET /api/v1/workspace/{workspace_id}/clicks/counters/{counter}.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Workspace id. Use linkly_list_workspaces to find it."
    },
    "counter": {
      "type": "string",
      "enum": [
        "country",
        "city",
        "region",
        "platform",
        "destination",
        "referer",
        "bot_name",
        "isp",
        "link_id",
        "remote_ip",
        "top_params",
        "ad_network",
        "utm_source",
        "utm_medium",
        "utm_campaign",
        "utm_content",
        "utm_term"
      ],
      "description": "The dimension to count by."
    },
    "link_id": {
      "description": "One link id to filter by.",
      "type": "string"
    },
    "link_ids": {
      "description": "Comma-separated link ids to filter by.",
      "type": "string"
    },
    "start": {
      "description": "Start of the period, as the API accepts it (ISO 8601 date or datetime).",
      "type": "string"
    },
    "end": {
      "description": "End of the period, as the API accepts it (ISO 8601 date or datetime).",
      "type": "string"
    },
    "country": {
      "description": "Filter by country (as the API names it).",
      "type": "string"
    },
    "bots": {
      "description": "Include (true) or exclude (false) known bot traffic.",
      "type": "boolean"
    },
    "unique": {
      "description": "Count unique visitors only (true) or all clicks (false).",
      "type": "boolean"
    }
  },
  "required": [
    "workspace_id",
    "counter"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_list_conversions(workspace_id, limit, after, since)

List recorded conversions (goal events tied to clicks) for a workspace, newest first, with a page cursor. Linkly API: GET /api/v1/conversions.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "description": "Workspace id. Use linkly_list_workspaces to find it.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ]
    },
    "limit": {
      "description": "Maximum number of conversions to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "after": {
      "description": "Cursor from the previous page.",
      "type": "string"
    },
    "since": {
      "description": "Only conversions after this time (ISO 8601).",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_list_domains(workspace_id)

List the custom short-link domains of a workspace, with their ids and verification state. Linkly API: GET /api/v1/workspace/{workspace_id}/domains.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Workspace id. Use linkly_list_workspaces to find it."
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_list_workspace_webhooks(workspace_id)

List the click-notification webhooks subscribed to a workspace. Linkly API: GET /api/v1/workspace/{workspace_id}/webhooks.

Input Schema

{
  "type": "object",
  "properties": {
    "workspace_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Workspace id. Use linkly_list_workspaces to find it."
    }
  },
  "required": [
    "workspace_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢linkly_list_link_webhooks(link_id)

List the click-notification webhooks subscribed to one short link. Linkly API: GET /api/v1/link/{link_id}/webhooks.

Input Schema

{
  "type": "object",
  "properties": {
    "link_id": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ],
      "description": "Link id (from linkly_list_links or linkly_get_link)."
    }
  },
  "required": [
    "link_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴linkly_create_or_update_link(id, workspace_id, url, slug, domain, ...)

Create a short link in a workspace (give url and workspace_id), or update an existing link (give its id and only the fields to change). An update changes where a live short link sends visitors. Linkly API: POST /api/v1/link.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "description": "Existing link id to update. Leave empty to create a new link.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ]
    },
    "workspace_id": {
      "description": "Workspace id. Required when creating a link.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1
        },
        {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      ]
    },
    "url": {
      "description": "Destination URL (required when creating a link).",
      "type": "string",
      "format": "uri"
    },
    "slug": {
      "description": "Custom slug for the short link (random when empty).",
      "type": "string"
    },
    "domain": {
      "description": "Custom short-link domain, as configured in the workspace.",
      "type": "string"
    },
    "name": {
      "description": "Internal name for the link (not shown to visitors).",
      "type": "string"
    },
    "note": {
      "description": "Internal note for the link.",
      "type": "string"
    },
    "enabled": {
      "description": "Turn the link on (true) or off (false).",
      "type": "boolean"
    },
    "utm_source": {
      "description": "UTM source appended to the destination.",
      "type": "string"
    },
    "utm_medium": {
      "description": "UTM medium appended to the destination.",
      "type": "string"
    },
    "utm_campaign": {
      "description": "UTM campaign appended to the destination.",
      "type": "string"
    },
    "utm_term": {
      "description": "UTM term appended to the destination.",
      "type": "string"
    },
    "utm_content": {
      "description": "UTM content appended to the destination.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded10 tools