OpenAIMCP

OpenAIMCP

A Model Context Protocol server for OpenAI API access via AceDataCloud, enabling chat completions, image generation, text embeddings, and more from MCP-compatible clients.

Category
Visit Server

README

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.

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, dall-e-3, and nano-banana models
  • Image Editing — Modify existing images with AI
  • Text Embeddings — Generate vector representations with text-embedding-3 models

Quick Start

Prerequisites

Get an API token from AceDataCloud.

Installation

pip install mcp-openai

Configuration

Set your API token:

export ACEDATACLOUD_API_TOKEN=your_api_token_here

Run

mcp-openai

Available Tools

Tool Description
openai_chat_completion Create chat completions using OpenAI models
openai_create_response Create responses using the Responses API
openai_generate_image Generate images from text descriptions
openai_edit_image Edit existing images with AI
openai_create_embedding Create text embedding vectors
openai_list_chat_models List available chat/completion models
openai_list_image_models List available image models
openai_list_embedding_models List available embedding models
openai_get_usage_guide Get 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, dall-e-3, dall-e-2, nano-banana, nano-banana-2, nano-banana-pro

Embedding Models

  • text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002

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

Variable Description Default
ACEDATACLOUD_API_TOKEN API token (required) —
ACEDATACLOUD_API_BASE_URL API base URL https://api.acedata.cloud
OPENAI_REQUEST_TIMEOUT Request timeout in seconds 60
MCP_SERVER_NAME MCP server name openai
LOG_LEVEL Logging level INFO

Development

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

# Run tests
pytest

# Run linter
ruff check .

API Reference

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured