Description

MCP Server for ChatGPT enables AI assistants to interact with the ChatGPT macOS app through AppleScript automation. Developed by cdpath, this Python implementation provides a simple interface for sending prompts to ChatGPT via keyboard input simulation, making it compatible with tools like cursor and chatwise. The server handles permission errors gracefully with helpful troubleshooting messages and is particularly useful for users who want to leverage their existing ChatGPT app within an MCP workflow without switching interfaces.

Installation

npx -y mcp-server-chatgpt-app
npm install mcp-server-chatgpt-app
git clone https://github.com/cdpath/mcp-server-chatgpt-app

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "chatgpt-macos-app": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-chatgpt-app"
      ]
    }
  }
}