MCP.so
Sign In

OpenAI MCP Server

@marchampson

About OpenAI MCP Server

An mcp-openai-server for connecting via Claude or similar

Basic information

Category

AI & Agents

Runtime

node

Transports

stdio

Publisher

marchampson

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-openai-server": {
      "command": "node",
      "args": [
        "client-example.js"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is OpenAI MCP Server?

The OpenAI MCP Server is a Model Context Protocol (MCP) server implementation for the OpenAI API. It provides a standardized interface between Augment and OpenAI’s language models using the official MCP SDK.

How to use OpenAI MCP Server?

Clone the repository, install dependencies with npm install, create a .env file with your OpenAI API key, and start the server with npm start. To use with Augment, add the server configuration to your Augment settings.json file, specifying the path to the server script and the API key.

Key features of OpenAI MCP Server

  • Uses the official MCP SDK for compatibility
  • Secure API key management
  • Support for chat completions
  • Model listing
  • Embedding generation
  • Proper error handling and logging

Use cases of OpenAI MCP Server

  • Integrate OpenAI’s language models into Augment via a standardized interface
  • Generate chat completions with configurable model, temperature, and max tokens
  • List all available OpenAI models
  • Create embeddings for text using OpenAI’s embedding API
  • Use as a universal adapter for LLM interaction in MCP-compatible applications

FAQ from OpenAI MCP Server

What is the OpenAI MCP Server?

The OpenAI MCP Server is an MCP server implementation that provides a standardized interface between Augment and OpenAI’s language models using the official MCP SDK.

What are the prerequisites?

You need Node.js v16 or higher, npm or yarn, and an OpenAI API key.

How do I install the OpenAI MCP Server?

Clone the repository, copy the files to your project directory, run npm install, create a .env file from .env.example, and add your OpenAI API key.

How do I run the OpenAI MCP Server?

Start the server with npm start. For development with auto-restart, use npm run dev.

How do I use the OpenAI MCP Server with Augment?

Add the server configuration to your Augment settings.json file under augment.advanced.mcpServers, specifying the command (node), the path to the server script, and the environment variable OPENAI_API_KEY.

Comments

More AI & Agents MCP servers