Skip to main content
Glama
billster45

MCP ChatGPT Responses

by billster45

Servidor MCP ChatGPT

insignia de herrería

Este servidor MCP le permite acceder a la API ChatGPT de OpenAI directamente desde Claude Desktop.

📝 Lea sobre por qué construí este proyecto : Construí una IA que habla con otras IA: desmitificando el bombo publicitario de MCP

Características

  • Llamar a la API ChatGPT con parámetros personalizables

  • ¡Aks Claude y ChatGPT hablarán entre ellos en una discusión de larga duración!

  • Configurar versiones del modelo, temperatura y otros parámetros

  • Utilice la búsqueda web para obtener información actualizada de Internet.

  • Utiliza la API de respuestas de OpenAI para la gestión automática del estado de las conversaciones

  • Utilice su propia clave API de OpenAI

Related MCP server: OpenAI MCP Server

Instrucciones de configuración

Instalación mediante herrería

Para instalar ChatGPT Server para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @billster45/mcp-chatgpt-responses --client claude

Prerrequisitos

Instalación

  1. Clonar este repositorio:

    git clone https://github.com/billster45/mcp-chatgpt-responses.git
    cd mcp-chatgpt-responses
  2. Configure un entorno virtual e instale dependencias usando uv:

    uv venv
    .venv\\Scripts\\activate
    uv pip install -r requirements.txt

Uso con Claude Desktop

  1. Configure Claude Desktop para usar este servidor MCP siguiendo las instrucciones en: Guía de inicio rápido de MCP

  2. Agregue la siguiente configuración a su archivo de configuración de Claude Desktop (ajuste las rutas según sea necesario):

    {
      "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"
          }
        }
      }
    }
  3. Reinicie Claude Desktop.

  4. Ahora puedes usar la API de ChatGPT a través de Claude haciendo preguntas que mencionen ChatGPT o que Claude no pueda responder.

Herramientas disponibles

El servidor MCP proporciona las siguientes herramientas:

  1. ask_chatgpt(prompt, model, temperature, max_output_tokens, response_id) - Envía un mensaje a ChatGPT y obtén una respuesta

  2. ask_chatgpt_with_web_search(prompt, model, temperature, max_output_tokens, response_id) - Envía un mensaje a ChatGPT con la búsqueda web habilitada para obtener información actualizada

Ejemplo de uso

Uso básico de ChatGPT:

¡Dile a Claude que le haga una pregunta a ChatGPT!

Use the ask_chatgpt tool to answer: What is the best way to learn Python?

Dile a Claude que tenga una conversación con ChatGPT:

Use the ask_chatgpt tool to have a two way conversation between you and ChatGPT about the topic that is most important to you.

Observe cómo, en una conversación por turnos, el ID de respuesta permite a ChatGPT almacenar el historial de la conversación, de modo que se considere una conversación genuina y no solo una serie de llamadas a la API. Esto se denomina estado de la conversación .

Con búsqueda web:

Para preguntas que puedan beneficiarse de información actualizada:

Use the ask_chatgpt_with_web_search tool to answer: What are the latest developments in quantum computing?

¡Ahora prueba la búsqueda web de manera estratégica para planificar tu día perfecto en función del clima!

Use the ask_chatgpt_with_web_search tool to find the weather tomorrow in New York, then based on that weather and what it returns, keep using the tool to build up a great day out for someone who loves food and parks

Cómo funciona

Esta herramienta utiliza la API de Respuestas de OpenAI, que mantiene automáticamente el estado de las conversaciones en los servidores de OpenAI. Este enfoque:

  1. Simplifica el código al permitir que OpenAI gestione el historial de conversaciones

  2. Proporciona un seguimiento del contexto más confiable

  3. Mejora la experiencia del usuario al mantener el contexto en todos los mensajes.

  4. Permite acceder a la información más reciente de la web con la herramienta de búsqueda web

Licencia

Licencia MIT

Related MCP Connectors

  • Zapier MCP connects AI tools like Claude, ChatGPT, and Cursor to over 8,000 apps and 30,000+ actions, enabling AI to perform real-world tasks such as sending messages, searching data, scheduling events, and updating records. It acts as a translator between AI tools and apps, handling authentication, rate limits, and retries automatically, transforming AI from a conversational tool into a functional extension of your business stack.

  • Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.

  • The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.

  • Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Enables integration with OpenAI models through the MCP protocol, supporting concise and detailed responses for use with Claude Desktop.
    1
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables advanced OpenAI GPT model integration with Claude through 5 specialized tools including GPT-5 reasoning, token optimization, context management, batch processing, and model comparison. Features intelligent fallback mechanisms and task-specific system prompts for enhanced AI capabilities.
    99 npm
    MIT
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables Claude and other MCP-compatible tools to communicate with OpenAI's GPT models (GPT-5, GPT-5-mini, o3) with conversation history and session management. Features advanced controls like reasoning effort settings, token tracking, and parallel conversation sessions for efficient AI workflows.
    7 npm
    -
  • A
    license
    A
    quality
    C
    maintenance
    Provides access to OpenAI's ChatGPT API with web search capabilities for Claude and other MCP clients. Supports various GPT models with configurable parameters like reasoning effort, temperature, and streaming mode.
    1
    12 npm
    3
    MIT