Connect to the Hosted Service
In a client that supports remote MCP, add a Streamable HTTP server athttps://openai.mcp.acedata.cloud/mcp. When using OAuth, choose to sign in to Ace Data Cloud and confirm authorization in your browser.
In Codex CLI, run the following command. Once complete, enter
/mcp in the session to view the servers.
Authorization: Bearer <应用 API Key> in the client’s private settings and confirm that the application is authorized to call the selected API. You can create or copy a key in the console under Applications → General Applications → Key Management. Application Console
Use an Application Key in Gemini CLI and OpenCode
First, save the application API key as the client environment variableACEDATACLOUD_API_TOKEN. The following commands use macOS or Linux shell quoting.
In OpenCode 1.x, configure
type: "remote", the hosted URL, and oauth: false for this service in the mcp object of your personal opencode.json. Set the request header Authorization to Bearer {env:ACEDATACLOUD_API_TOKEN}. OpenCode 1.x configuration
Local stdio connection
After installing uv, local clients can start the MCP process using standard input and output. The process sends OpenAI requests to Ace Data Cloud. Claude Desktop users can open the local MCP configuration from the developer settings, merge in the server entry below, replace the placeholder in their personal configuration with the application API key in plain text, and then restart the client. Clients that support private environment variables can also injectACEDATACLOUD_API_TOKEN from a credential manager.
Initial verification
After connecting, tell the assistant: “Please call onlyopenai_list_chat_models or openai_list_image_models and list the models I can specify in the corresponding tool.”
Tools and usage examples
In an image workflow, first select a model that supports editing from
openai_list_image_models, then provide openai_edit_image with a product photo and the instruction “Keep the text on the packaging and change the background to light blue.” If you choose asynchronous execution, save the returned task_id and have the assistant retrieve the result using the id parameter of openai_get_task.
Using only GPT Image
In the local stdio configuration, keep the command asuvx, change the arguments to ["mcp-openai-pro", "--profile", "gpt-image"], and retain ACEDATACLOUD_API_TOKEN. Use gpt_image_list_models to view the models, and explicitly specify model in gpt_image_generate or gpt_image_edit. gpt_image_get_task and gpt_image_list_tasks are used to retrieve image tasks. The hosted URL above provides a general-purpose OpenAI toolset.
See the API documentation for parameter and response formats: Chat Completions, Image Editing, and Task Query.
