MCP.so
登录

MCP ChatGPT Server

@billster45

关于 MCP ChatGPT Server

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

基本信息

分类

AI 与智能体

运行时

python

传输方式

stdio

发布者

billster45

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from MCP ChatGPT Server

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.

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.

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.

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.

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 服务器