总链接数
总点击量
📈 每日趋势(近30天)
🔥 热门链接 Top 10
#短码目标 URL点击量
📭
暂无数据
所有 API Keys
名称前缀创建时间最后使用操作
🔑
暂无 API Key
📡 REST API 使用说明

创建短链接

curl -X POST /api/v1/shorten \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_KEY>" \
  -d '{"target_url": "https://example.com"}'

可选参数

{
  "target_url": "https://example.com",
  "slug": "custom-code",       // 可选,自定义短码
  "title": "链接描述"           // 可选,备注标题
}

返回: {"id":1,"slug":"xxx","target_url":"...","short_url":"/xxx"}

🤖 MCP 集成说明

Claude Desktop 配置

编辑 claude_desktop_config.json

{
  "mcpServers": {
    "short-url": {
      "type": "http",
      "url": "/mcp",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      }
    }
  }
}

可用工具

工具说明
create_short_link创建短链接,参数:url (必填), slug (可选), title (可选)
get_link_info查询链接详情,参数:slug (必填)
修改用户名
修改密码