MCP ChatGPT Server
@billster45
About MCP ChatGPT Server
MCP server for access to OpenAI's ChatGPT API with Responses API for conversation management
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-chatgpt-responses": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@billster45/mcp-chatgpt-responses",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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_chatgptandask_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.
Frequently asked questions
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.
Basic information
More AI & Agents MCP servers
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic

bsv.cx
Andy RoweTimestamp and verify evidence on-chain. Let your agent prove what it saw and when. bsv.cx gives an AI agent verifiable memory. Timestamp a hash of any output, archive a web page as it looked, or fetch a URL with a recei

Transform MCP
UnstructuredThe Unstructured Transform MCP Server connects your ADK agent to Unstructured, a document processing platform that turns raw files into structured, AI-ready data. This integration gives your agent the ability to parse PD
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources

Competitor Tracker & Co.
Competitor Tracker & Co.Competitor Tracker & Co. watches your competitors' websites and tells you what changed. Every week it crawls their pricing, product, messaging and corporate pages, detects the changes that matter, and files a tagged, ran
Comments