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
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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

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
Orders of Magnitude — x402 API Catalog
OrdersOfMagnitudeLLC1000+ pay-per-call API endpoints across finance, weather, geography, economic data, agent infrastructure (memory, coordination, secrets, simulation, verification), and NS compute. Payments via x402 protocol on Base/USDC.
UnificAlly MCP
unifically-devUnificAlly MCP server. One API for 100+ AI video, image, music and speech models. https://mcp.unifically.com/mcp
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Comments