MCP.so
登录

MCP ChatGPT Server

@billster45

基本信息

分类

AI 与智能体

传输方式

stdio

作者

billster45

关于 MCP ChatGPT Server

MCP server for access to OpenAI's ChatGPT API with Responses API for conversation management

MCP ChatGPT Server 配置

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

{
  "mcpServers": {
    "mcp-chatgpt-responses": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@billster45/mcp-chatgpt-responses",
        "--client",
        "claude"
      ]
    }
  }
}

MCP ChatGPT Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP ChatGPT Server?

It is an MCP server that enables Claude Desktop to access OpenAI’s ChatGPT API directly. It allows users to send prompts to ChatGPT, including with web search, and maintains conversation state automatically using OpenAI’s Responses API.

How to use MCP ChatGPT Server?

Install via Smithery or by cloning the repository, setting up a Python virtual environment with uv, and configuring Claude Desktop to run the server with your OpenAI API key. Then ask Claude to use the tools ask_chatgpt or ask_chatgpt_with_web_search to interact with ChatGPT.

Key features of MCP ChatGPT Server

  • Call ChatGPT API with customizable parameters (model, temperature, max tokens).
  • Maintain conversation state across messages using OpenAI’s Responses API.
  • Enable web search for up-to-date information from the internet.
  • Use your own OpenAI API key.
  • Let Claude and ChatGPT converse in a long-running discussion.
  • Provide two tools: ask_chatgpt and ask_chatgpt_with_web_search.

Use cases of MCP ChatGPT Server

  • Ask ChatGPT questions directly from Claude when Claude lacks information.
  • Have a turn-taking conversation between Claude and ChatGPT on any topic.
  • Get up-to-date information from the web through ChatGPT’s web search capability.
  • Plan activities based on current data (e.g., weather) by using web search in an agentic loop.

常见问题

1

How does this server maintain conversation state?

It uses OpenAI’s Responses API, which automatically manages conversation history on OpenAI’s servers, simplifying code and providing reliable context tracking.

2

What are the prerequisites for using this server?

Python 3.10 or higher, the Claude Desktop app, an OpenAI API key, and the `uv` package manager are required.

3

How do I configure the server with Claude Desktop?

Add the provided JSON configuration to your Claude Desktop config file, specifying the server command, directory, and environment variables (e.g., OPENAI_API_KEY, DEFAULT_MODEL, DEFAULT_TEMPERATURE, MAX_TOKENS), then restart Claude Desktop.

4

What tools does the server provide?

Two tools: `ask_chatgpt(prompt, model, temperature, max_output_tokens, response_id)` for standard prompts, and `ask_chatgpt_with_web_search(…)` for prompts that include web search to retrieve current information.

5

Where does conversation data live?

Conversation state is stored on OpenAI’s servers via the Responses API, not locally on the user’s machine.

评论

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