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 とエージェント」の他のコンテンツ