Loading...

This MCP server provides access to OpenAI's ChatGPT API, enabling conversational AI capabilities within Claude Desktop with web search and conversation state management.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This MCP server provides access to OpenAI's ChatGPT API, enabling conversational AI capabilities within Claude Desktop with web search and conversation state management.
This MCP server is relatively safe for general use, but the risk of compromised API keys and the potential for misuse through the ask_chatgpt_with_web_search tool should be considered. It is safe when used with appropriate rate limiting and monitoring of API usage. It is risky if the OpenAI API key is exposed or if the web search tool is used without proper safeguards.
Performance depends on the OpenAI API's response time and the complexity of the prompt. Web search can add significant latency.
Costs are primarily driven by OpenAI API usage, which is based on token consumption. Web search can increase costs due to additional API calls.
npx -y @smithery/cli install @billster45/mcp-chatgpt-responses --client claude{
"mcpServers": {
"chatgpt": {
"command": "uv",
"args": [
"--directory",
"\\path\\to\\mcp-chatgpt-responses",
"run",
"chatgpt_server.py"
],
"env": {
"OPENAI_API_KEY": "your-api-key-here",
"DEFAULT_MODEL": "gpt-4o",
"DEFAULT_TEMPERATURE": "0.7",
"MAX_TOKENS": "1000"
}
}
}
}OPENAI_API_KEYask_chatgpt(prompt, model, temperature, max_output_tokens, response_id)Sends a prompt to ChatGPT and returns the response.
Allows arbitrary prompt execution, which could lead to unintended actions or information disclosure.
ask_chatgpt_with_web_search(prompt, model, temperature, max_output_tokens, response_id)Sends a prompt to ChatGPT with web search enabled and returns the response.
Combines arbitrary prompt execution with external web access, increasing the risk of accessing malicious content.
API Key
cloud
This MCP server is relatively safe for general use, but the risk of compromised API keys and the potential for misuse through the `ask_chatgpt_with_web_search` tool should be considered. It is safe when used with appropriate rate limiting and monitoring of API usage. It is risky if the OpenAI API key is exposed or if the web search tool is used without proper safeguards.
Autonomy is limited by the capabilities of the ChatGPT API and the configured parameters. The server relies on OpenAI's sandboxing and security measures.
Production Tip
Implement rate limiting and monitoring to prevent excessive API usage and unexpected costs.
The `response_id` parameter is used to maintain conversation state with the OpenAI Responses API, allowing ChatGPT to remember previous interactions.
You can configure the model, temperature, and max_tokens parameters in the Claude Desktop config file or by setting environment variables.
The web search tool is limited by the capabilities of the underlying search engine and the accuracy of the information retrieved. It may also be subject to rate limits and usage restrictions.
You can monitor API usage and costs through the OpenAI platform's dashboard.
If the OpenAI API key is compromised, unauthorized users may be able to access the ChatGPT API and incur costs. It is important to protect the API key and monitor usage for any suspicious activity.
This server is primarily intended for prototyping and experimentation. For production use, consider implementing additional security measures, monitoring, and error handling.
While primarily designed for Claude Desktop, it may be compatible with other MCP clients, but this is untested and not officially supported.