Integrating ShortURL MCP with Codex CLI

📘 Complete guide: Use Ace Data Cloud MCP in Codex CLI →

ShortURL MCP supports generating single or multiple short links. After integrating it with Codex CLI, you can invoke it directly in a conversation.

Get an API Token

Log in to the application list, open General Application, and click the copy button to the right of API KEY. For detailed steps, see the complete guide.

Get an 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 你的Token" }

After saving, the tools will load automatically when the next codex session starts.

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 all 5 release notes links below

Tools

Tool Description
shorturl_create Shorten a long link