Back to MCP ToolsAI/MLOfficial
OpenAI MCP Server logo

OpenAI MCP Server

Official

Official OpenAI MCP server for GPT models integration with advanced context management and multi-model support.

Provider:OpenAI
Category:AI/ML

Installation

Command Line
npm install -g @openai/mcp-server

Configuration

Add this configuration to your MCP settings file (usually mcp.json or your IDE's MCP configuration):

JSON Configuration
{
  "mcpServers": {
    "openai": {
      "command": "npx", 
      "args": [
        "@openai/mcp-server"
      ],
      "env": {
        "OPENAI_API_KEY": "<your-api-key>",
        "OPENAI_ORG_ID": "<your-org-id>"
      }
    }
  }
}