mcp-chatgpt-responses

mcp-chatgpt-responses

5

The MCP ChatGPT Server allows users to access OpenAI's ChatGPT API directly from Claude Desktop, supporting long-running discussions and web search for real-time information. It utilizes the Responses API for maintaining conversation state, enhancing user experience with context tracking.

MCP ChatGPT Server

This MCP server allows you to access OpenAI's ChatGPT API directly from Claude Desktop.

Features

  • Call the ChatGPT API with customizable parameters
  • Engage in long-running discussions between Claude and ChatGPT
  • Configure model versions, temperature, and other parameters
  • Utilize web search for up-to-date internet information
  • Automatic conversation state management using OpenAI's Responses API
  • Use your own OpenAI API key

Setup Instructions

Prerequisites

  • Python 3.10 or higher
  • Claude Desktop application
  • OpenAI API key
  • uv for Python package management

Installation

  1. Clone the repository
  2. Set up a virtual environment and install dependencies

Using with Claude Desktop

  1. Configure Claude Desktop to use this MCP server
  2. Add necessary configuration to Claude Desktop config file
  3. Restart Claude Desktop

Available Tools

  1. ask_chatgpt - Send a prompt to ChatGPT and get a response
  2. ask_chatgpt_with_web_search - Send a prompt to ChatGPT with web search enabled