MCP.so
登录

OpenAI MCP Server

@marchampson

关于 OpenAI MCP Server

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

基本信息

分类

AI 与智能体

运行时

node

传输方式

stdio

发布者

marchampson

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

AI 与智能体 分类下的更多 MCP 服务器