Labsco
billster45 logo

ChatGPT

β˜… 17

from billster45

An MCP server to interact with OpenAI's ChatGPT API for conversational AI and text generation.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

MseeP.ai Security Assessment Badge

MCP ChatGPT Server

smithery badge

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

πŸ“ Read about why I built this project: I Built an AI That Talks to Other AIs: Demystifying the MCP Hype

Features

  • Call the ChatGPT API with customisable parameters
  • Aks Claude and ChatGPT to talk to each other in a long running discussion!
  • Configure model versions, temperature, and other parameters
  • Use web search to get up-to-date information from the internet
  • Uses OpenAI's Responses API for automatic conversation state management
  • Use your own OpenAI API key

Available Tools

The MCP server provides the following tools:

  1. ask_chatgpt(prompt, model, temperature, max_output_tokens, response_id) - Send a prompt to ChatGPT and get a response

  2. ask_chatgpt_with_web_search(prompt, model, temperature, max_output_tokens, response_id) - Send a prompt to ChatGPT with web search enabled to get up-to-date information

How It Works

This tool utilizes OpenAI's Responses API, which automatically maintains conversation state on OpenAI's servers. This approach:

  1. Simplifies code by letting OpenAI handle the conversation history
  2. Provides more reliable context tracking
  3. Improves the user experience by maintaining context across messages
  4. Allows access to the latest information from the web with the web search tool