界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

short-url

short-url

【数据与研究】Create short URLs via AceDataCloud API. Use when generating shortened links for sharing, or batch-creating multiple short URLs at once. Supports custom slugs and expiration.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

Aacedatacloud / skillsApache-2.0

技能说明

GitHub

name: short-url description: Create short URLs via AceDataCloud API. Use when generating shortened links for sharing, or batch-creating multiple short URLs at once. Supports custom slugs and expiration. license: Apache-2.0 metadata: author: acedatacloud version: "1.0" compatibility: Requires ACEDATACLOUD_API_TOKEN in .env file (see _shared/authentication.md). Optionally pair with mcp-short-url for tool-use.

Short URL Service

Create short URLs through AceDataCloud's URL shortening API.

Setup: See authentication for token setup.

Quick Start

curl -X POST https://api.acedata.cloud/shorturl \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"content": "https://example.com/very-long-url-path?with=params"}'

Workflows

1. Create a Short URL

POST /shorturl
{
  "content": "https://example.com/article/2024/awesome-content"
}

Response:

{
  "data": {
    "url": "https://suro.id/abc123"
  },
  "success": true
}

Parameters

ParameterRequiredDescription
contentYesThe original long URL to shorten

Gotchas

  • Short URLs use the suro.id domain
  • Results are returned synchronously — no task polling needed
  • The content field must be a valid URL to shorten

MCP: pip install mcp-shorturl | Hosted: https://short-url.mcp.acedata.cloud/mcp | See all MCP servers

我的收藏