OpenAI MCP Server

AIstdiov1.0.3
Repositorio

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.

Conectar

Añade esta configuración a .claude/mcp.json

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

Herramientas (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"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
OpenAI (@openai)
Repositorio
https://github.com/openai/openai-mcp-server
Licencia
MIT
Versión
1.0.3
Estrellas
8,920
Última actualización
30 de mayo de 2026