Back to Directory/Media & Images

io.github.AceDataCloud/mcp-openai

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

Media & ImagesPythonv2026.10.5.1

OpenAIMCP

A Model Context Protocol (MCP) server for OpenAI API access using AceDataCloud.

Interact with OpenAI models for chat completions, image generation, text embeddings, and more — directly from Claude, VS Code, or any MCP-compatible client.

The AceDataCloud distribution is mcp-openai-pro. The unrelated mcp-openai package on PyPI is not maintained by AceDataCloud. Update existing uvx configurations to the new package name; the hosted MCP URL is unchanged.

Features

  • Chat Completions — Access GPT-4, GPT-4o, GPT-5, o1, o3, o4-mini, and many more models
  • Responses API — Extended model variant support including dated releases and search-preview models
  • Image Generation — Create images with gpt-image-1, gpt-image-2, GPT Image 2.5 Flare/Sunburst standard or official variants, dall-e-3, and nano-banana models
  • Image Editing — Modify existing images with AI
  • Text Embeddings — Generate vector representations with text-embedding-3 models
  • Audio — Convert text to speech and transcribe audio with whisper-1 or gpt-transcribe

Quick Start

Prerequisites

Get an API token from AceDataCloud.

Installation

pip install mcp-openai-pro

Configuration

Set your API token:

export ACEDATACLOUD_API_TOKEN=your_api_token_here

Run

mcp-openai-pro

Available Tools

ToolDescription
openai_chat_completionCreate chat completions using OpenAI models
openai_create_responseCreate responses using the Responses API
openai_generate_imageGenerate images from text descriptions
openai_edit_imageEdit existing images with AI
openai_create_embeddingCreate text embedding vectors
openai_text_to_speechConvert text to spoken audio
openai_transcribe_audioTranscribe audio from a URL
openai_list_chat_modelsList available chat/completion models
openai_list_image_modelsList available image models
openai_list_embedding_modelsList available embedding models
openai_get_usage_guideGet comprehensive usage guide

Supported Models

Chat Completion Models

  • GPT-5 Series: gpt-5.5, gpt-5.5-pro, gpt-5.4, gpt-5.4-pro, gpt-5.2, gpt-5.1, gpt-5, gpt-5-mini, gpt-5-nano
  • GPT-4 Series: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-4o, gpt-4o-mini, gpt-4
  • Reasoning: o4-mini, o3, o3-mini, o3-pro, o1, o1-mini, o1-pro

Image Models

  • gpt-image-1, gpt-image-1.5, gpt-image-2, gpt-image-2:official, gpt-image-2.5-flare, gpt-image-2.5-flare:official, gpt-image-2.5-sunburst, gpt-image-2.5-sunburst:official, dall-e-3, dall-e-2, nano-banana, nano-banana-2, nano-banana-pro
  • GPT Image :official variants settle from actual text-input, image-input, and image-output tokens.

Embedding Models

  • text-embedding-3-small, text-embedding-3-large
  • text-embedding-ada-002 is retired. Re-embed documents and rebuild existing indexes when migrating; do not mix old-model vectors with text-embedding-3 vectors.

Audio Transcription Models

  • whisper-1, gpt-transcribe

Usage Examples

Chat Completion

openai_chat_completion(
    messages=[{"role": "user", "content": "Explain quantum computing in simple terms"}],
    model="gpt-4.1"
)

Image Generation

openai_generate_image(
    prompt="A serene Japanese garden with cherry blossoms at sunset, photorealistic",
    model="gpt-image-1",
    size="1024x1024"
)

Text Embeddings

openai_create_embedding(
    input="The quick brown fox jumps over the lazy dog",
    model="text-embedding-3-small"
)

Configuration

VariableDescriptionDefault
ACEDATACLOUD_API_TOKENAPI token (required)—
ACEDATACLOUD_API_BASE_URLAPI base URLhttps://api.acedata.cloud
OPENAI_REQUEST_TIMEOUTRequest timeout in seconds60
MCP_SERVER_NAMEMCP server nameopenai
LOG_LEVELLogging levelINFO

Development

# Install dependencies
pip install -e ".[dev,test]"

# Run tests
pytest

# Run linter
ruff check .

API Reference

Documentation

Documentation

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-openai-pro

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-acedatacloud-mcp-openai": {
      "command": "uvx",
      "args": [
        "mcp-openai-pro"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-openai-propypi

Compatible MCP Clients

io.github.AceDataCloud/mcp-openai works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More