MCP 服务器

短.在线

xn--3ds443g.xn--s7y/duan-online
开发者工具 营销与广告 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Creates and manages tracked short URLs and QR codes, with link resolution, ownership controls, and click analytics by device, country, referrer, and QR tag.

begin_registration
Begin registration
Fallback when a client cannot start OAuth. Returns signup_url, expires_at, and an opaque resume_token only. Does not create an account, collect email or password, or accept terms. Open the URL in a browser.
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'locale': 'en'}, {'locale': 'zh-CN'}], 'properties': {'locale': {'enum': ['en', 'zh-CN'], 'type': 'string', 'description': 'Browser signup language. Does not accept email, password, or acceptance.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok'], 'properties': {'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'error': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean'}, 'expires_at': {'type': 'string'}, 'request_id': {'type': 'string'}, 'signup_url': {'type': 'string'}, 'resume_token': {'type': 'string'}}, 'additionalProperties': False}
create_qr
Create QR tracking URL
Return qr_tracking_url for encoding in a QR. This tool does not return PNG image bytes. GET /v1/links/{id}/qr is the owner-only image. Requires registered account. Anonymous MCP is not supported.
可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'id': 'example'}, {'short_url': 'https://example.com/example'}], 'properties': {'id': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Existing short code'}, 'short_url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Existing short URL to tag for QR'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'request_id'], 'properties': {'id': {'type': 'string'}, 'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'error': {'type': 'string'}, 'state': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean'}, 'short_url': {'type': 'string'}, 'request_id': {'type': 'string'}, 'image_available': {'type': 'boolean'}, 'qr_tracking_url': {'type': 'string'}, 'short_url_ascii': {'type': 'string'}}, 'additionalProperties': False}
disable_link
Disable link
Disable a link you own. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.
可能执行破坏性操作 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'id': 'example'}], 'required': ['id'], 'properties': {'id': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Short code / link id. disable_link is not available yet; this call does not disable the link.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'error', 'code', 'feature', 'tool', 'message', 'request_id', 'retryable'], 'properties': {'ok': {'type': 'boolean', 'const': False}, 'code': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'tool': {'type': 'string'}, 'error': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'feature': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean', 'const': False}, 'request_id': {'type': 'string'}}, 'additionalProperties': False}
get_link
Get link status
Fetch one link by id (owner-scoped when authenticated). Requires registered account. Anonymous MCP is not supported.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'id': 'example'}], 'required': ['id'], 'properties': {'id': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Short code / link id'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'request_id'], 'properties': {'id': {'type': 'string'}, 'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'type': {'type': 'string'}, 'error': {'type': 'string'}, 'state': {'type': 'string'}, 'title': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean'}, 'short_url': {'type': 'string'}, 'created_at': {'type': 'string'}, 'request_id': {'type': 'string'}, 'status_url': {'type': 'string'}, 'destination': {'type': 'string'}, 'short_url_ascii': {'type': 'string'}}, 'additionalProperties': False}
get_link_analytics
Get link analytics
Click analytics for a link you own. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'id': 'example'}], 'required': ['id'], 'properties': {'id': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Short code / link id. get_link_analytics is not available yet; this call does not return analytics.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'error', 'code', 'feature', 'tool', 'message', 'request_id', 'retryable'], 'properties': {'ok': {'type': 'boolean', 'const': False}, 'code': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'tool': {'type': 'string'}, 'error': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'feature': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean', 'const': False}, 'request_id': {'type': 'string'}}, 'additionalProperties': False}
get_links
List links
List links owned by the authenticated account. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'limit': 20, 'cursor': 'example'}], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Optional page size, an integer from 1 to 100. get_links is not available yet; this call does not list links.'}, 'cursor': {'type': 'string', 'description': 'Optional page cursor. get_links is not available yet; this call does not list links.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'error', 'code', 'feature', 'tool', 'message', 'request_id', 'retryable'], 'properties': {'ok': {'type': 'boolean', 'const': False}, 'code': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'tool': {'type': 'string'}, 'error': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'feature': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean', 'const': False}, 'request_id': {'type': 'string'}}, 'additionalProperties': False}
resolve_short_url
Resolve short URL
Resolve a short URL or code to status; destination only if active. Public read. No account required.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'url': 'https://example.com/example'}, {'code': 'example'}], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Full short URL (Unicode or punycode)'}, 'code': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Short code if URL not provided'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'request_id'], 'properties': {'id': {'type': 'string'}, 'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'type': {'type': 'string'}, 'error': {'type': 'string'}, 'state': {'type': 'string'}, 'title': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean'}, 'short_url': {'type': 'string'}, 'created_at': {'type': 'string'}, 'request_id': {'type': 'string'}, 'status_url': {'type': 'string'}, 'destination': {'type': 'string'}, 'short_url_ascii': {'type': 'string'}}, 'additionalProperties': False}
shorten_url
Shorten URL
Create one short link. Returns state, URLs when active, qr_tracking_url. Requires registered account. Anonymous MCP is not supported.
可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'url': 'https://example.com/notes', 'alias': 'notes', 'title': 'Notes', 'locale': 'en', 'idempotency_key': 'example-create-1'}], 'required': ['url', 'idempotency_key'], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl.'}, 'alias': {'type': 'string', 'maxLength': 32, 'minLength': 1, 'description': 'Optional custom path segment (stored lowercase). Do not send customSlug.'}, 'title': {'type': 'string', 'maxLength': 256, 'description': 'Optional link title, at most 256 characters.'}, 'locale': {'type': 'string', 'description': 'Accepted values: en, zh-CN, and zh-cn (the only case fold of zh-CN). EN, ZH-CN, and bare zh are rejected. Omitted or blank defaults to en.'}, 'idempotency_key': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Client-generated unique key for this create. Required. Replays within 24h.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'request_id'], 'properties': {'id': {'type': 'string'}, 'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'error': {'type': 'string'}, 'state': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean'}, 'short_url': {'type': 'string'}, 'created_at': {'type': 'string'}, 'request_id': {'type': 'string'}, 'status_url': {'type': 'string'}, 'destination': {'type': 'string'}, 'qr_tracking_url': {'type': 'string'}, 'short_url_ascii': {'type': 'string'}}, 'additionalProperties': False}
shorten_urls
Shorten URLs (batch)
Create up to 100 short links in one sync batch. Correlate with client_ref. Requires registered account. Anonymous MCP is not supported.
可访问外部资源 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'items': [{'url': 'https://example.com/notes', 'alias': 'notes', 'title': 'Notes', 'locale': 'zh-cn', 'client_ref': 'item-1'}], 'idempotency_key': 'example-batch-1'}], 'required': ['items', 'idempotency_key'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['client_ref', 'url'], 'properties': {'url': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl.'}, 'alias': {'type': 'string', 'maxLength': 32, 'minLength': 1, 'description': 'Optional custom path segment (stored lowercase). Do not send customSlug.'}, 'title': {'type': 'string', 'maxLength': 256, 'description': 'Optional link title, at most 256 characters.'}, 'locale': {'type': 'string', 'description': 'Accepted values: en, zh-CN, and zh-cn (the only case fold of zh-CN). EN, ZH-CN, and bare zh are rejected. Omitted or blank defaults to en.'}, 'client_ref': {'type': 'string', 'maxLength': 128, 'minLength': 1, 'description': 'Batch item correlation id (never use array index).'}}}, 'maxItems': 100, 'minItems': 1, 'description': 'Synchronous batch items (1 to 100). Each item creates one short link.'}, 'idempotency_key': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Client-generated unique key for this create. Required. Replays within 24h.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'request_id'], 'properties': {'ok': {'type': 'boolean'}, 'code': {'type': 'string'}, 'error': {'type': 'string'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}, 'batch_id': {'type': 'string'}, 'ok_count': {'type': 'number'}, 'retryable': {'type': 'boolean'}, 'batch_mode': {'type': 'string', 'const': 'sync'}, 'fail_count': {'type': 'number'}, 'request_id': {'type': 'string'}}, 'additionalProperties': False}
update_link
Update link
Update a link you own (e.g. destination). Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.
可访问外部资源
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'examples': [{'id': 'example', 'title': 'Notes', 'destination': 'https://example.com/notes'}], 'required': ['id'], 'properties': {'id': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Short code / link id. update_link is not available yet; this call does not update the link.'}, 'title': {'type': 'string', 'maxLength': 256, 'description': 'Optional link title, at most 256 characters. update_link is not available yet; this call does not update the link.'}, 'destination': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Optional destination URL (lowercase http or https, no surrounding whitespace). update_link is not available yet; this call does not update the link.'}}}
输出模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['ok', 'error', 'code', 'feature', 'tool', 'message', 'request_id', 'retryable'], 'properties': {'ok': {'type': 'boolean', 'const': False}, 'code': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'tool': {'type': 'string'}, 'error': {'type': 'string', 'const': 'FEATURE_NOT_AVAILABLE'}, 'feature': {'type': 'string'}, 'message': {'type': 'string'}, 'retryable': {'type': 'boolean', 'const': False}, 'request_id': {'type': 'string'}}, 'additionalProperties': False}
已更改
begin_registration
2026年10月2日 02:41
已更改
disable_link
2026年10月2日 02:41
已更改
update_link
2026年10月2日 02:41
已更改
get_link_analytics
2026年10月2日 02:41
已更改
get_links
2026年10月2日 02:41
已更改
create_qr
2026年10月2日 02:41
已更改
resolve_short_url
2026年10月2日 02:41
已更改
get_link
2026年10月2日 02:41
已更改
shorten_urls
2026年10月2日 02:41
已更改
shorten_url
2026年10月2日 02:41
已添加
begin_registration
2026年9月26日 02:41
已更改
disable_link
2026年9月26日 02:41
已更改
update_link
2026年9月26日 02:41
已更改
get_link_analytics
2026年9月26日 02:41
已更改
get_links
2026年9月26日 02:41
已更改
create_qr
2026年9月26日 02:41
已更改
resolve_short_url
2026年9月26日 02:41
已更改
get_link
2026年9月26日 02:41
已更改
shorten_urls
2026年9月26日 02:41
已更改
shorten_url
2026年9月26日 02:41
已移除
create_account
2026年9月24日 02:40
已更改
disable_link
2026年9月24日 02:40
已更改
disable_link
2026年9月22日 02:40
已更改
update_link
2026年9月22日 02:40
已更改
get_link_analytics
2026年9月22日 02:40
已更改
get_links
2026年9月22日 02:40
已更改
create_qr
2026年9月22日 02:40
已更改
resolve_short_url
2026年9月22日 02:40
已更改
get_link
2026年9月22日 02:40
已更改
shorten_urls
2026年9月22日 02:40