Community MCP server providing access to OpenAI APIs.
npx -y @mcp-community/server-openai
{
"mcpServers": {
"openai": {
"env": {
"OPENAI_API_KEY": "sk-xxx"
},
"args": [
"-y",
"@mcp-community/server-openai"
],
"command": "npx"
}
}
}Generate text with GPT models
{
"type": "object",
"required": [
"model",
"messages"
],
"properties": {
"model": {
"type": "string"
},
"messages": {
"type": "array"
},
"temperature": {
"type": "number"
}
}
}// Input
{
"model": "gpt-4o",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}// Output
{
"usage": {
"total_tokens": 25
},
"content": "Hello! How can I help?"
}Generate embeddings for text
{
"type": "object",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"model": {
"type": "string"
}
}
}// Input
{
"input": "MCP marketplace",
"model": "text-embedding-3-small"
}// Output
{
"embedding": [
0.1,
0.2,
0.3
],
"dimensions": 1536
}Generate images with DALL-E
Community MCP server providing access to OpenAI APIs.
OpenAI provides 4 tools including chat_completion, create_embedding, generate_image, and 1 more.
OpenAI offers a free tier with 100 calls per month. For higher usage, paid plans start at €0/month.
You can install OpenAI using the following command: npx -y @mcp-community/server-openai. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"size": {
"type": "string"
},
"prompt": {
"type": "string"
}
}
}// Input
{
"size": "1024x1024",
"prompt": "A robot marketplace"
}// Output
{
"url": "https://oaidalleapiprodscus.blob.core.windows.net/..."
}Transcribe audio with Whisper
{
"type": "object",
"required": [
"audio_url"
],
"properties": {
"language": {
"type": "string"
},
"audio_url": {
"type": "string"
}
}
}// Input
{
"audio_url": "https://example.com/audio.mp3"
}// Output
{
"text": "Hello world",
"duration": 2.5
}OpenAI is listed under the AI & Machine Learning category in the AgentForge MCP registry.
OpenAI has a current uptime of 99.85% with an average response time of 1200ms.
To connect OpenAI, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of OpenAI's tools via the Model Context Protocol.