Community MCP server providing access to OpenAI APIs.
Automated score · from 3 of 5 checks · v1.1-github-security · 1d ago
npx -y @mcp-community/server-openai
{
"mcpServers": {
"openai": {
"env": {
"OPENAI_API_KEY": "sk-xxx"
},
"args": [
"-y",
"@mcp-community/server-openai"
],
"command": "npx"
}
}
}[](https://agentforge.community/server/openai?ref=badge)
<a href="https://agentforge.community/server/openai?ref=badge"><img src="https://agentforge.community/api/badge/openai" alt="Elenkat fuq AgentForge" /></a>
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
}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.
Generate images with DALL-E
{
"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.
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.