# mcp-openai [Health: Active]

**Category:** 🗣️ Conversational AI  
**Repository:** https://github.com/AceDataCloud/OpenAIMCP  
**GitHub Stars:** 1  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-openai

## Description
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud

## Tools
Capabilities this server exposes over MCP:

- **openai_text_to_speech** — Generate speech audio from text using OpenAI TTS models via AceDataCloud.

    Converts text to natural-sounding speech using OpenAI's text-to-speech models.

    Use this when:
    - You need to convert text to spoken audio
    - You want to generate voiceovers or narration
    - You need audio output from text content

    Returns:
        JSON response containing base64-encoded audio data and format information.
        Decode the 'audio' field with base64 to get the raw audio bytes.
    
- **openai_transcribe_audio** — Transcribe audio to text using OpenAI transcription models via AceDataCloud.

    Downloads audio from the given URL and sends it to an OpenAI transcription model.
    Supports a wide range of audio formats and optional language hints.

    Use this when:
    - You need to convert spoken audio to text
    - You want subtitles or captions from a video/audio file
    - You need timestamped transcripts for processing

    Returns:
        JSON response containing the transcribed text (and timestamps if verbose_json).
        For 'text', 'srt', and 'vtt' formats the raw string is returned in a
        {"text": "..."} wrapper for consistent handling.
    
- **openai_chat_completion** — Create a chat completion using OpenAI models via AceDataCloud.

    Sends a conversation to the specified model and returns the generated response.
    Supports all major GPT and o-series models.

    Use this when:
    - You need to have a conversation with an AI model
    - You want to generate text responses based on a prompt
    - You need structured JSON output from a model

    Returns:
        JSON response containing the model's reply and usage information.
    
- **openai_create_embedding** — Create text embeddings using OpenAI embedding models via AceDataCloud.

    Converts text into numerical vector representations that can be used for
    semantic search, text similarity, clustering, and other ML tasks.

    Use this when:
    - You need to compare semantic similarity between texts
    - You want to build a semantic search system
    - You need vector representations for machine learning

    Returns:
        JSON response containing the embedding vectors and usage information.
    
- **openai_generate_image** — Generate images using OpenAI image models via AceDataCloud.

    Creates AI-generated images from text descriptions using models like
    gpt-image-1, dall-e-3, and nano-banana variants.

    Use this when:
    - You want to create an image from a text description
    - You need AI-generated artwork or illustrations
    - You want to generate product mockups or visual concepts

    Returns:
        JSON with a `task_id`. Generation runs asynchronously — poll
        `openai_get_task` with that id until it reports `finished_at`, then
        read the image URLs from its `response`. When `callback_url` is set the
        result is POSTed there instead.
    
- **openai_edit_image** — Edit or modify existing images using OpenAI image models via AceDataCloud.

    Applies AI-powered edits to existing images based on text descriptions.
    Can modify, extend, or transform images while preserving desired elements.

    Use this when:
    - You want to modify an existing image
    - You need to add, remove, or change elements in an image
    - You want to apply a specific style or transformation to an image

    Returns:
        JSON with a `task_id`. Editing runs asynchronously — poll
        `openai_get_task` with that id until it reports `finished_at`, then
        read the image URLs from its `response`. When `callback_url` is set the
        result is POSTed there instead.
    
- **openai_get_models** — List models from the OpenAI-compatible models endpoint.

    Returns:
        JSON response from GET /openai/models.
    
- **openai_get_realtime_connection_info** — Get realtime connection information from GET /v1/realtime.
- **openai_list_chat_models** — List all available chat completion models.

    Shows all models available for the chat completions and responses endpoints,
    including GPT-4, GPT-4o, GPT-5, and o-series models.

    Returns:
        Table of all chat models with descriptions.
    
- **openai_list_image_models** — List all available image generation and editing models.

    Shows all models available for the images/generations and images/edits endpoints.

    Returns:
        Table of all image models with descriptions.
    
- **openai_list_embedding_models** — List all available text embedding models.

    Shows all models available for the embeddings endpoint.

    Returns:
        Table of all embedding models with descriptions.
    
- **openai_get_usage_guide** — Get a comprehensive guide for using the OpenAI tools.

    Provides detailed information on how to use all available OpenAI tools
    effectively, including examples and best practices.

    Returns:
        Complete usage guide for OpenAI tools.
    
- **openai_create_response** — Create a response using the OpenAI Responses API via AceDataCloud.

    The Responses API is an alternative to the Chat Completions API with support
    for a wider range of model variants and additional features like background processing.

    Use this when:
    - You need access to model-specific dated variants (e.g., o3-2025-04-16)
    - You want background processing with a task ID
    - You need access to search-preview models

    Returns:
        JSON response containing the model's output and usage information.
    
- **openai_get_task** — Retrieve a single async image task by its task ID or custom trace ID.

    Image generation and editing requests are submitted asynchronously and
    return a task_id immediately. Use this tool to poll until the task
    finishes and to retrieve the final image URLs.

    A task is complete once it carries a `finished_at` timestamp. While it is
    still running this tool waits ~5s before returning, so repeated calls
    poll at a sane rate.

    Use this when:
    - You called openai_generate_image or openai_edit_image and got a task_id
    - You want to check the status of an async image task

    Returns:
        JSON object with task details (id, trace_id, type, request, response,
        created_at, started_at, finished_at, elapsed) or an empty object if not found.
    
- **openai_list_tasks** — List async image tasks using batch query filters.

    Returns a paginated list of async image task records. You must provide at
    least one filter: ids, trace_ids, application_id, user_id, or a
    created_at_min / created_at_max time window.

    Every image generation and edit produces a task record, so this lists
    recent image work regardless of whether a callback_url was used.

    Use this when:
    - You want to list multiple tasks at once
    - You want to see all tasks for an application or user

    Returns:
        JSON object with 'items' array and 'count' field.
    

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-openai": {
    "command": "uvx",
    "args": ["mcp-openai-pro"],
    "env": {
      "ACEDATACLOUD_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `ACEDATACLOUD_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-openai does

mcp-openai exposes AceDataCloud-backed OpenAI operations as MCP tools. It supports conversational generation through Chat Completions and the Responses API, model discovery, image generation and editing, embeddings, speech synthesis, and audio transcription. The server also provides tools for retrieving and listing asynchronous image tasks, plus a usage guide for the available operations.

The distribution maintained by AceDataCloud is named `mcp-openai-pro`. It is distinct from the unrelated `mcp-openai` package on PyPI. The hosted MCP service is available at `https://openai.mcp.acedata.cloud/mcp`.

## How it works

A client sends MCP tool calls to either the hosted endpoint or a locally running process. Hosted use supports OAuth for clients with remote MCP authentication, or an AceDataCloud API token supplied as a bearer credential. Local stdio mode still sends requests to AceDataCloud and requires the token in the launched process environment.

Chat completion and Responses calls return generated model output and usage information. Embedding calls return vector data and usage details. Text-to-speech returns base64-encoded audio with format information, while transcription accepts an audio URL and can return text or timestamped output depending on the requested format and options.

Image generation and editing are asynchronous. Each call returns a `task_id`; use `openai_get_task` to wait for completion and retrieve image URLs. `openai_list_tasks` can query multiple task records, but requires at least one supported filter such as IDs, an application or user identifier, or a creation-time range.

## Setup and configuration

For hosted access, add `https://openai.mcp.acedata.cloud/mcp` to a compatible remote-MCP client. OAuth-capable clients can sign in to AceDataCloud and approve access without placing a token in the configuration. If OAuth is unavailable, send an AceDataCloud API token as an `Authorization: Bearer` header. Do not combine a fixed authorization header with an OAuth login for the same server.

For local stdio operation, install the `mcp-openai-pro` package and provide `ACEDATACLOUD_API_TOKEN` to the process. The token is created through an AceDataCloud application or key-management flow; its allowed APIs, usage limits, model access, and account balance affect which operations can run.

Claude Desktop, Claude Code, Cursor, VS Code, and Codex are described as supported connection targets. Claude Code and Codex use their respective MCP add/login commands for the hosted endpoint, while Cursor and VS Code can use remote server configuration.

## Tools and capabilities

- Create chat completions with GPT, o-series, and other compatible chat models.
- Create Responses API requests, including supported dated variants and background-processing workflows.
- Generate and edit images with supported GPT Image, DALL-E, and nano-banana models.
- Poll or filter asynchronous image tasks.
- Create text embeddings for semantic search, similarity, clustering, and related vector workflows.
- Convert text to speech and transcribe audio from a URL.
- List general, chat, image, and embedding models.
- Retrieve realtime connection information and the built-in usage guide.

## Limitations and notes

Access depends on the AceDataCloud account, enabled services, permitted models, pricing, and regional availability. The model-list tools do not by themselves confirm that a model can be used for a particular account or operation. Image task polling waits about five seconds while a task is still running, and a completed task is identified by its `finished_at` value.

Image quality options vary by model: common GPT Image models support `auto`, `low`, `medium`, and `high`, while specific Flare and Sunburst variants add higher settings. DALL-E quality values also differ by model. Review current AceDataCloud pricing and returned usage data before relying on estimates for billing.

_Full upstream README: https://allmcps.com/mcp/mcp-openai/readme_

