Home / MCP / Claude ChatGPT MCP Server

Claude ChatGPT MCP Server

Provides a local MCP server to integrate Claude with the ChatGPT desktop app on macOS for seamless question-asking and conversation control.

typescript
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "chatgpt_mcp": {
            "command": "npx",
            "args": [
                "claude-chatgpt-mcp"
            ]
        }
    }
}

This MCP server enables Claude to talk to the ChatGPT desktop app on macOS, letting you ask questions, view conversation history, and continue existing chats directly from Claude. It simplifies running ChatGPT alongside Claude and keeps your workflow seamless.

How to use

You can use the ChatGPT MCP tool from Claude by running the MCP server locally and selecting it as a tool in Claude. Once running, you can ask Claude to prompt ChatGPT, fetch your recent conversations, or have Claude continue a current chat. No low-level protocol details are needed; simply invoke the tool from Claude and follow the prompts to interact with ChatGPT.

How to install

npx claude-chatgpt-mcp

Configure the Claude Desktop integration to point at the MCP tool. Use the following JSON snippet in your Claude desktop configuration to register the NPX-based tool.

"chatgpt-mcp": {
  "command": "npx",
  "args": ["claude-chatgpt-mcp"]
}

Manual installation steps

If you prefer not to use NPX, you can install the tool manually and run it via Bun. Follow these steps exactly as written to ensure proper setup.

git clone https://github.com/syedazharmbnr1/claude-chatgpt-mcp.git
cd claude-chatgpt-mcp
bun install
chmod +x index.ts

Configure Claude Desktop for Bun-based run

Edit your Claude Desktop configuration to add a local Bun-based run command. Use the placeholder for your user path and the index entry path you cloned.

"chatgpt-mcp": {
  "command": "/Users/YOURUSERNAME/.bun/bin/bun",
  "args": ["run", "/path/to/claude-chatgpt-mcp/index.ts"]
}

Start and permissions

After configuring, restart the Claude Desktop app. Then grant accessibility permissions so the tool can control the ChatGPT app when needed.

- Restart Claude Desktop
- Open System Preferences > Privacy & Security > Privacy
- Add Terminal (or iTerm) to Accessibility

Available tools

tools

This MCP describes integration features such as prompting ChatGPT, viewing conversation history, and continuing conversations directly from Claude. These are user-facing capabilities that trigger ChatGPT actions from within the Claude interface.