OpenAI MCP Server

AIstdiov1.0.3
Репозиторий

Official OpenAI MCP server for integrating GPT models, DALL-E, and Whisper into agentic workflows. Provides tools for chat completion, image generation, audio transcription, and embeddings through the Model Context Protocol. Supports function calling, structured outputs, and streaming responses.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

{
  "mcpServers": {
    "openai": {
      "command": "npx",
      "args": [
        "-y",
        "@openai/mcp-server"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}

Инструменты (3)

chat_completion

Generate a chat completion using OpenAI models. Supports system messages, function calling, and structured outputs.

{
  "type": "object",
  "required": [
    "model",
    "messages"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "Model ID (e.g., gpt-5, gpt-5-4-mini)"
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        }
      },
      "description": "Conversation messages"
    },
    "max_tokens": {
      "type": "integer",
      "description": "Maximum tokens in response"
    },
    "temperature": {
      "type": "number",
      "description": "Sampling temperature (0-2)"
    }
  }
}

create_image

Generate an image using DALL-E from a text prompt.

{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "size": {
      "type": "string",
      "description": "Image size (1024x1024, 1792x1024, 1024x1792)"
    },
    "prompt": {
      "type": "string",
      "description": "Text description of the desired image"
    },
    "quality": {
      "type": "string",
      "description": "Quality level (standard, hd)"
    }
  }
}

create_embedding

Generate embeddings for input text using OpenAI embedding models.

{
  "type": "object",
  "required": [
    "input",
    "model"
  ],
  "properties": {
    "input": {
      "type": "string",
      "description": "Text to embed"
    },
    "model": {
      "type": "string",
      "description": "Embedding model ID"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
OpenAI (@openai)
Репозиторий
https://github.com/openai/openai-mcp-server
Лицензия
MIT
Версия
1.0.3
Звёзды
8,920
Последнее обновление
30 мая 2026 г.