Codex CLI Integration with ShortURL MCP

📘 Complete Guide: Using Ace Data Cloud MCP in Codex CLI →

ShortURL MCP supports generating single or batch short links. After integrating with Codex 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.

Get Ace Data Cloud API Key

Configuration

Edit the configuration: ~/.codex/config.toml

[mcp_servers.shorturl]
url = "https://shorturl.mcp.acedata.cloud/mcp"
type = "http"

http_headers = { "Authorization" = "Bearer yourToken" }

After saving, the tool will automatically load during the next codex session startup.

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