OpenAI MCP Server
Provides tools for interacting with the OpenAI API, including chat completions, embeddings, content moderation, and file management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenAI MCP Servercreate a chat completion: 'explain quantum computing in simple terms'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenAI MCP Server
A Type 3 DAuth MCP server for OpenAI API. Provides chat completions, embeddings, moderation, and file management.
Features
List Models — View all available OpenAI models
Create Response — Chat completions with GPT models
Create Embedding — Text vectorization for semantic search
Moderate Text — Content safety checking
List Files — View uploaded files
Upload File — Upload files for fine-tuning or assistants
Related MCP server: OpenAI MCP Server
Authentication
This server uses Type 3 DAuth (Dedalus Auth) — your API key is encrypted client-side and decrypted in a secure Dedalus enclave.
Get Your OpenAI API Key
Create a new secret key
Copy the key
Installation
git clone https://github.com/dedalus-labs/openai-mcp.git
cd openai-mcp
pip install -e .
cp .env.example .env
# Edit .env and add OPENAI_API_KEYAvailable Tools
openai_list_models
List all available OpenAI models.
openai_list_models()openai_create_response
Create a chat completion.
openai_create_response(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello!"}],
temperature=0.7,
max_tokens=500,
)openai_create_embedding
Generate text embeddings.
openai_create_embedding(
input="The quick brown fox",
model="text-embedding-3-small",
)openai_moderate_text
Check content for harmful material.
openai_moderate_text(input="This is a test message")openai_list_files
List uploaded files.
openai_list_files(purpose="assistants", limit=50)openai_upload_file
Upload a file.
openai_upload_file(file_path="/path/to/file.jsonl", purpose="batch")Cost & Rate Limits
OpenAI uses pay-per-token pricing. Check https://openai.com/pricing for current rates.
Deploy to Dedalus
Push to GitHub (public repo)
Add Server → Connect GitHub repo
Set
OPENAI_API_KEYas Required CredentialDeploy
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
OpenAI-compatible LLM MCP (7 tools); chat via balance key or x402 USDC on Base
PDF, image, video, OCR, screenshot, SQL, QR and text tools for agents. No API key, no signup.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- -licenseCqualityNot gradedmaintenanceEnables interaction with OpenAI-compatible APIs (like Ollama) through MCP tools. Provides access to chat completions, model listings, and embeddings generation from local or remote OpenAI-style endpoints.3-
- AlicenseNot gradedqualityNot gradedmaintenanceProvides comprehensive access to OpenAI's API capabilities including chat completions, image generation, embeddings, text-to-speech, speech-to-text, vision analysis, and content moderation. Enables users to interact with GPT models, DALL-E, Whisper, and other OpenAI services through natural language commands.-
- FlicenseBqualityDmaintenanceEnables interaction with OpenAI's Chat Completion and Assistants APIs, supporting assistant management, file operations, and direct queries to GPT models through standardized MCP tools.92-
- FlicenseNot gradedqualityDmaintenanceProvides tools and integration for building OpenAI API agents, including function calling and fine-tuning data management.-