Feature Overview
The ShortURL MCP Server offers the following core features:- Single URL Shortening — Convert long URLs into short, easy-to-share links
- Batch URL Shortening — Shorten multiple URLs at once (up to 10)
- Usage Guide — Access complete usage instructions and best practices
- API Information — View API service details and error code explanations
Prerequisites
Before use, you need to obtain an AceData Cloud API Token:- Register or log in to the AceData Cloud Platform
- Go to the ShortURL API page
- Click “Acquire” to get your API Token (free quota granted on first application)
Installation and Configuration
Method 1: pip Installation (Recommended)
Method 2: Source Installation
mcp-shorturl command.
Using in Claude Desktop
Edit the Claude Desktop configuration file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
uvx (no need to pre-install packages):
Using in VS Code / Cursor
Create.vscode/mcp.json in your project root directory:
uvx:
Available Tools
| Tool Name | Description |
|---|---|
shorturl_create | Shorten a single URL |
shorturl_batch_create | Batch shorten multiple URLs (up to 10) |
shorturl_get_usage_guide | Get the complete usage guide |
shorturl_get_api_info | Get API service details |
Usage Examples
After configuration, you can directly invoke these functions in AI clients using natural language, for example:- “Please shorten this link for me”
- “Batch shorten these 5 URLs”
- “Generate a short link for sharing”
More Information
- GitHub Repository: AceDataCloud/MCPShortURL
- PyPI Package: mcp-shorturl
- API Documentation: Short URL Generation API

