短.在线

Short links + QR tracking URLs for agents. Prefer punycode host. Account required to create links.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
87%
命名质量
92%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~2,788token 数(工具定义)
~2.5 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 2.18%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "duan-online": {
      "url": "https://xn--s7y.xn--3ds443g/mcp"
    }
  }
}

远程端点

https://xn--s7y.xn--3ds443g/mcpstreamable-http

它能做什么

工具清单

工具(10)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟡shorten_url(url, alias, title, locale, idempotency_key)

Create one short link. Returns state, URLs when active, qr_tracking_url. Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."
    },
    "alias": {
      "description": "Optional custom path segment (stored lowercase). Do not send customSlug.",
      "type": "string",
      "minLength": 1,
      "maxLength": 32
    },
    "title": {
      "type": "string",
      "maxLength": 256
    },
    "locale": {
      "type": "string"
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "Client-generated unique key for this create. Required. Replays within 24h."
    }
  },
  "required": [
    "url",
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "short_url": {
      "type": "string"
    },
    "short_url_ascii": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "qr_tracking_url": {
      "type": "string"
    },
    "status_url": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡shorten_urls(items, idempotency_key)

Create up to 100 short links in one sync batch. Correlate with client_ref. Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "items": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "client_ref": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "description": "Batch item correlation id (never use array index)."
          },
          "url": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048,
            "description": "Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."
          },
          "alias": {
            "description": "Optional custom path segment (stored lowercase). Do not send customSlug.",
            "type": "string",
            "minLength": 1,
            "maxLength": 32
          },
          "title": {
            "type": "string",
            "maxLength": 256
          },
          "locale": {
            "type": "string"
          }
        },
        "required": [
          "client_ref",
          "url"
        ]
      }
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "Client-generated unique key for this create. Required. Replays within 24h."
    }
  },
  "required": [
    "items",
    "idempotency_key"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "batch_id": {
      "type": "string"
    },
    "batch_mode": {
      "type": "string",
      "const": "sync"
    },
    "ok_count": {
      "type": "number"
    },
    "fail_count": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_link(id)

Fetch one link by id (owner-scoped when authenticated). Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "description": "Short code / link id"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "short_url": {
      "type": "string"
    },
    "short_url_ascii": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "status_url": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢resolve_short_url(url, code)

Resolve a short URL or code to status; destination only if active. Public read. No account required.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "description": "Full short URL (Unicode or punycode)",
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "code": {
      "description": "Short code if URL not provided",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "short_url": {
      "type": "string"
    },
    "short_url_ascii": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "status_url": {
      "type": "string"
    },
    "created_at": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡create_qr(id, short_url)

Return qr_tracking_url for encoding in a QR (not a PNG). Image endpoint when available. Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "description": "Existing short code",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "short_url": {
      "description": "Existing short URL to tag for QR",
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "qr_tracking_url": {
      "type": "string"
    },
    "short_url": {
      "type": "string"
    },
    "short_url_ascii": {
      "type": "string"
    },
    "image_available": {
      "type": "boolean"
    },
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "request_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_links(cursor, limit)

List links owned by the authenticated account. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "code": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "feature": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean",
      "const": false
    }
  },
  "required": [
    "ok",
    "error",
    "code",
    "feature",
    "tool",
    "message",
    "request_id",
    "retryable"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢get_link_analytics(id)

Click analytics for a link you own. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "code": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "feature": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean",
      "const": false
    }
  },
  "required": [
    "ok",
    "error",
    "code",
    "feature",
    "tool",
    "message",
    "request_id",
    "retryable"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡update_link(id, title, destination)

Update a link you own (e.g. destination). Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "title": {
      "type": "string",
      "maxLength": 256
    },
    "destination": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "code": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "feature": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean",
      "const": false
    }
  },
  "required": [
    "ok",
    "error",
    "code",
    "feature",
    "tool",
    "message",
    "request_id",
    "retryable"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🔴disable_link(id)

Disable a link you own. Not available yet (feature_not_available). Requires registered account. Anonymous MCP is not supported.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": false
    },
    "error": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "code": {
      "type": "string",
      "const": "FEATURE_NOT_AVAILABLE"
    },
    "feature": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "request_id": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean",
      "const": false
    }
  },
  "required": [
    "ok",
    "error",
    "code",
    "feature",
    "tool",
    "message",
    "request_id",
    "retryable"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟡begin_registration(locale)

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",
  "properties": {
    "locale": {
      "description": "Browser signup language. Does not accept email, password, or acceptance.",
      "type": "string",
      "enum": [
        "en",
        "zh-CN"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

输出模式

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    },
    "signup_url": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "resume_token": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "retryable": {
      "type": "boolean"
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

推荐提示词

retrieve_data
Get details about [item] from 短.在线
预期工具: get_link
fetch_info
Fetch [information type] using 短.在线
预期工具: get_link

社区

评价此服务器

证据

最近观测

已验证未记录版本10 个工具
已验证未记录版本10 个工具