
ChatGPT
STDIOMCP server enabling AI assistants to interact with ChatGPT desktop app on macOS
MCP server enabling AI assistants to interact with ChatGPT desktop app on macOS
A Model Context Protocol (MCP) server that enables AI assistants to interact with the ChatGPT desktop app on macOS.
https://github.com/user-attachments/assets/a30c9b34-cdbe-4c0e-a0b0-33eb5054db5c
Supported system languages for response detection:
If your macOS system language is not listed above, please follow these instructions:
show_all_button_names.applescript
and copy the output to create an issue for language support.Note: This server only supports English text input. Non-English characters may not work properly.
Simply run:
claude mcp add chatgpt-mcp uvx chatgpt-mcp
That's it! You can start using ChatGPT commands in Claude Code.
# Install with uv uv add chatgpt-mcp
# Clone the repository git clone https://github.com/xncbf/chatgpt-mcp cd chatgpt-mcp # Install dependencies with uv uv sync
If installed from PyPI, add to your MCP client configuration:
{ "mcpServers": { "chatgpt": { "command": "uvx", "args": ["chatgpt-mcp"] } } }
If manually installed, add to your MCP client configuration:
{ "mcpServers": { "chatgpt": { "command": "uv", "args": ["run", "chatgpt-mcp"], "cwd": "/path/to/chatgpt-mcp" } } }
The AI assistant will automatically use the appropriate MCP tools to interact with ChatGPT.
Send a prompt to ChatGPT and receive the response.
ask_chatgpt(prompt="Hello, ChatGPT!")
Get the latest response from ChatGPT after sending a message.
get_chatgpt_response()
MIT