Codex CLI Integration with ShortURL MCP
📘 Complete Guide: Use all 11 AceData Cloud MCPs in Codex CLI →
Compress long URLs into surl.id short links with one click, supporting batch generation and permanent validity. After integrating MCP with Codex CLI, you can call it directly 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. Detailed steps are available in the Complete Guide.
¶ Configuration
Edit the config file: ~/.codex/config.toml
[mcp_servers.shorturl]
url = "https://shorturl.mcp.acedata.cloud/mcp"
type = "http"
http_headers = { "Authorization" = "Bearer 你的Token" }
After saving, the tool will be automatically loaded on the next codex session startup.
¶ Usage Examples
Compress these two links into short links: https://platform.acedata.cloud and https://surl.id
Compress this link into a short link
I want to send an email, compress the following 5 release notes links into short links
¶ Tools
| Tool | Description |
|---|---|
| shorturl_create | Compress long URLs into short links |
