How to Use NanoBanana MCP in Cursor for Practical Image Editing Workflows
Long URLs are easy to copy once and surprisingly annoying to manage when a release, newsletter, or launch note contains five of them; this guide shows how to let Codex CLI shorten them without leaving the terminal. What you are building The setup is deliberately small: Codex CLI acts as the client, a hosted ShortURL MCP server exposes one tool, and your instruction in the terminal becomes a tool…
Codex CLI makes it simple to shorten long URLs with a hosted ShortURL MCP server. The process begins by configuring Codex to connect to the hosted ShortURL MCP server at https://shorturl.mcp.acedata.cloud/mcp. This requires adding a configuration block to Codex's settings file, specifying the server URL, the type as HTTP, and including the necessary authentication token in the HTTP headers. Once the configuration is saved and Codex is restarted, it is ready to use.
To start, test the setup with a single long URL by instructing Codex to "shorten this link: https://platform.acedata.cloud". The system should recognize this as a ShortURL capability request and respond with the shortened link. This step helps isolate any issues with the connection or configuration from the actual URL-shortening functionality.
For more practical use, Codex can handle multiple URLs at once. For instance, when preparing release notes or other shared documents, you can provide Codex with a list of URLs to shorten, such as "- https://example.com/releases/2.4.0" and "- https://example.com/docs/migration-guide". Codex will then return a Markdown table with the original titles next to their shortened URLs, preserving the order and format requested.
This workflow is reliable because it clearly defines the action (shortening links), the input (specific URLs), and the output format (a Markdown table). By keeping the tool-enabled instructions concise and specifying the desired output structure, users can efficiently manage long URLs without unnecessary complexity. This approach is particularly useful for tasks like creating release emails, support replies, event resources, or compiling research links.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.