Gemini CLI Integration with ShortURL MCP

📘 Complete Guide: Using all 11 AceData Cloud MCP in Gemini CLI →

Convert long links into surl.id short links with one click, supporting batch generation and permanent validity. After integrating MCP with Gemini CLI, you can directly call it in the conversation without switching windows or copying and pasting.

Obtain API Token

Register an account at AceData Cloud platform, and copy the API Token from the homepage—one Token can be used for all 11 MCP Servers. For detailed steps, see Complete Guide.

Configuration

Edit configuration: add via command line (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 Example

Convert these two links into short links: https://platform.acedata.cloud and https://surl.id

Convert this link into a short link

I want to send an email, shorten the following 5 release notes links

Tools

Tool Description
shorturl_create Convert long links into short links