Linkly MCP by usefulapi
Read short links, clicks and conversions; create or update short links in Linkly.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"linkly": {
"url": "https://linkly.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://linkly.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (10)
🟢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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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"
}커뮤니티
증거