Gemini CLI Integration with ShortURL MCP
📘 Complete Guide: Using Ace Data Cloud MCP in Gemini CLI →
ShortURL MCP supports generating single or batch short links. After integrating with Gemini CLI, you can call it directly in the conversation.
¶ Obtain API Token
Register an account on the Ace Data Cloud platform and copy the API Token from the homepage—one Token is sufficient to use all MCP Servers. For detailed steps, see the Complete Guide.

¶ Configuration
Edit configuration: one-click command line addition (recommended)
gemini mcp add shorturl \
--transport http \
https://shorturl.mcp.acedata.cloud/mcp \
--header "Authorization: Bearer yourToken"
Or manually edit ~/.gemini/settings.json:
{
"mcpServers": {
"shorturl": {
"httpUrl": "https://shorturl.mcp.acedata.cloud/mcp",
"headers": { "Authorization": "Bearer yourToken" }
}
}
}
The tool will be available in the next gemini session.
¶ Usage Examples
Shorten both of these links: https://platform.acedata.cloud and https://surl.id
Shorten this link
I want to send an email, shorten the following 5 release notes links
¶ Tools
| Tool | Description |
|---|---|
| shorturl_create | Shorten long links |
