Skip to main content
Glama
mzxrai

MCP OpenAI Server

by mzxrai

MCP OpenAIサーバー

Claude から OpenAI のモデルをシームレスに使用できるようにするモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • OpenAIのチャットモデルとの直接統合

  • 以下を含む複数のモデルのサポート:

    • gpt-4o

    • gpt-4o-ミニ

    • o1プレビュー

    • o1-ミニ

  • シンプルなメッセージパッシングインターフェース

  • 基本的なエラー処理

Related MCP server: OpenAI Agents MCP Server

前提条件

インストール

まず、 Claude デスクトップ アプリがインストールされていること、およびOpenAI API キーがリクエストされていることを確認します。

次のエントリをclaude_desktop_config.jsonに追加します (Mac では~/Library/Application\ Support/Claude/claude_desktop_config.jsonにあります)。

{
  "mcpServers": {
    "mcp-openai": {
      "command": "npx",
      "args": ["-y", "@mzxrai/mcp-openai@latest"],
      "env": {
        "OPENAI_API_KEY": "your-api-key-here (get one from https://platform.openai.com/api-keys)"
      }
    }
  }
}

この設定により、Claude Desktop は必要なときにいつでも OpenAI MCP サーバーを起動できます。

使用法

Claude とチャットを開始し、OpenAI のモデルを使用したい場合は、Claude に使用するように依頼してください。

例えば、

Can you ask o1 what it thinks about this problem?

または、

What does gpt-4o think about this?

サーバーは現在、次のモデルをサポートしています。

  • gpt-4o (デフォルト)

  • gpt-4o-ミニ

  • o1プレビュー

  • o1-ミニ

ツール

  1. openai_chat

    • OpenAIのチャット完了APIにメッセージを送信します

    • 引数:

      • messages : メッセージの配列(必須)

      • model : 使用するモデル(オプション、デフォルトは gpt-4o)

問題

これはアルファ版ソフトウェアのため、バグが含まれている可能性があります。問題が発生した場合は、Claude Desktop の MCP ログを確認してください。

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

発達

# Install dependencies
pnpm install

# Build the project
pnpm build

# Watch for changes
pnpm watch

# Run in development mode
pnpm dev

要件

  • Node.js >= 18

  • OpenAI APIキー

検証済みプラットフォーム

  • [x] macOS

  • [ ] リナックス

ライセンス

マサチューセッツ工科大学

著者

mzxrai

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A lightweight bridge that wraps OpenAI's built-in tools (like web search and code interpreter) as Model Context Protocol servers, enabling their use with Claude and other MCP-compatible models.
    4
    12
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A universal server that enables MCP-compatible clients (like Claude Desktop, Cursor, VS Code) to access OpenAI's APIs for chat completions, image generation, embeddings, and model listing through a standardized interface.
    15
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • MCP (Model Context Protocol) server for Appwrite

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mzxrai/mcp-openai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server