OpenAI MCP Server
@pierrebrunelle
关于 OpenAI MCP Server
Query OpenAI models directly from Claude using MCP protocol.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is OpenAI MCP Server?
OpenAI MCP Server is a lightweight bridge that lets Claude (or any MCP client) send prompts to OpenAI models and receive responses, using the Model Context Protocol. It is intended for developers who want to combine Claude’s interface with OpenAI’s language models.
How to use OpenAI MCP Server?
Add the server configuration to your claude_desktop_config.json file, specifying the Python command, the module path, and the environment variable OPENAI_API_KEY. Then launch Claude Desktop, and the server will be available as an MCP tool. Development and testing require cloning the repository and installing the package with pip install -e ..
Key features of OpenAI MCP Server
- Directly queries OpenAI models from Claude
- Simple setup via
claude_desktop_config.json - Runs as a standard Python MCP server
- Tested with
pytest -v test_openai.py -s - Open source under the MIT license
Use cases of OpenAI MCP Server
- Enabling Claude to answer questions using OpenAI’s GPT models
- Comparing outputs from OpenAI models side‑by‑side in Claude
- Using Claude’s interface to access OpenAI for specialized tasks
- Rapid prototyping of multi‑model workflows without leaving the chat
FAQ from OpenAI MCP Server
What runtime does OpenAI MCP Server require?
Python 3 must be installed on your system. The server is invoked with python -m src.mcp_server_openai.server.
How do I configure the server?
Edit claude_desktop_config.json to include the server entry, set the PYTHONPATH to the server directory, and provide your OPENAI_API_KEY environment variable.
How can I test that the server works?
From the project root, run pytest -v test_openai.py -s. A successful test prints an OpenAI response and passes all checks.
What OpenAI models are supported?
The server works with any OpenAI model accessible via the standard API—no model‑specific restrictions are mentioned in the README.
Does the server support streaming or advanced features?
The README does not describe streaming, function calling, or other advanced OpenAI API features. It only covers sending a prompt and receiving a reply.
AI 与智能体 分类下的更多 MCP 服务器
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
评论