home / mcp / chatgpt mcp server

ChatGPT MCP Server

MCP server enabling interaction between macOS ChatGPT desktop app and MCP-compatible AI assistants.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "xncbf-chatgpt-mcp": {
      "command": "uvx",
      "args": [
        "chatgpt-mcp"
      ]
    }
  }
}

You can run a dedicated MCP server that lets any MCP-compatible AI assistant send prompts to the ChatGPT desktop app on macOS. This bridge makes it easy to issue messages to ChatGPT from your preferred assistant, and to retrieve responses for seamless workflows.

How to use

Open the ChatGPT desktop app and ensure it is running. In your MCP-enabled AI assistant, load the ChatGPT MCP server profile you configured. Use the assistant to send a message to ChatGPT, and then fetch the latest response to display it in your workflow. The server is designed to work with English input, and it handles prompts as plain text from your assistant.

How to install

Prerequisites you need before installation are macOS, the ChatGPT desktop app running, Python 3.10 or newer, and the uv package manager.

Option A: Install from PyPI (recommended) all at once.

Run the following to add the MCP server via the uvx flow.

uvx add chatgpt-mcp

Option B: Manual installation from source.

Clone the repository and synchronize dependencies with uv.

git clone https://github.com/xncbf/chatgpt-mcp
cd chatgpt-mcp
uv sync

Configure your MCP client with one of the following configurations depending on your installation method.

{
  "mcpServers": {
    "chatgpt_mcp": {
      "command": "uvx",
      "args": ["chatgpt-mcp"]
    }
  }
}

If you installed manually, use this configuration instead.

{
  "mcpServers": {
    "chatgpt_mcp": {
      "command": "uv",
      "args": ["run", "chatgpt-mcp"],
      "cwd": "/path/to/chatgpt-mcp"
    }
  }
}

Additional notes

The server supports English input and integrates with the ChatGPT desktop app on macOS. If you need language support for detection beyond English, consider submitting an issue with the output from the app to help expand language coverage.

Usage patterns and tips

- Use the ChatGPT MCP server to send prompts from your AI assistant with a simple command like sending a message to ChatGPT and retrieving the latest response to present in your workflow.

Available tools

ask_chatgpt

Send a prompt to ChatGPT and receive the response.

get_chatgpt_response

Get the latest response from ChatGPT after sending a message.

new_chatgpt_chat

Start a new chat conversation in ChatGPT.