Gemini CLI Integration with ShortURL MCP

📘 Complete Guide: Use Ace Data Cloud MCP in Gemini CLI →

ShortURL MCP supports generating single or batch short links. After integrating with Gemini CLI, it can be called directly in conversations.

Get API Token

Create or copy an API Key that can access this service from General Applications in the console. For the account applicability scope, see Gemini CLI Overview.

Get Ace Data Cloud API Key

Configuration

Set the environment variable ACEDATACLOUD_API_TOKEN in the terminal where Gemini CLI is started, using the application API Key authorized to access this service. Execute the following commands in a trusted working directory to register it to your personal configuration. Single quotes preserve the variable reference.

gemini mcp add --scope user --transport http shorturl https://shorturl.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
gemini mcp list

After confirming that shorturl is shown as connected, start gemini from the same terminal.

Usage Examples

Shorten both of these links: https://platform.acedata.cloud and https://surl.id

Shorten this link

I need to send an email, shorten all 5 release notes links below

Tools

Tool Description
shorturl_create Shorten a long link