Skip to main content
Glama

OpenAI MCP Server

OpenAI MCP Server

Query OpenAI models directly from Claude using MCP protocol.

preview

Setup

Add to claude_desktop_config.json:

{ "mcpServers": { "openai-server": { "command": "python", "args": ["-m", "src.mcp_server_openai.server"], "env": { "PYTHONPATH": "C:/path/to/your/mcp-server-openai", "OPENAI_API_KEY": "your-key-here" } } } }

Development

git clone https://github.com/pierrebrunelle/mcp-server-openai cd mcp-server-openai pip install -e .

Testing

# Run tests from project root pytest -v test_openai.py -s # Sample test output: Testing OpenAI API call... OpenAI Response: Hello! I'm doing well, thank you for asking... PASSED

License

MIT License

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Query OpenAI models directly from Claude using MCP protocol.

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol (MCP) server that lets you seamlessly use OpenAI's models right from Claude.
    Last updated -
    1
    528
    54
    JavaScript
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    Enables integration with OpenAI models through the MCP protocol, supporting concise and detailed responses for use with Claude Desktop.
    Last updated -
    1
    2
    Python
    MIT License
    • Apple
    • Linux
  • -
    security
    A
    license
    -
    quality
    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.
    Last updated -
    11
    Python
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that enables Claude users to access specialized OpenAI agents (web search, file search, computer actions) and a multi-agent orchestrator through the MCP protocol.
    Last updated -
    9
    Python
    • Linux
    • Apple

View all related MCP servers

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/pierrebrunelle/mcp-server-openai'

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