ChatGPT MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with the ChatGPT desktop app on macOS.
Language Support
Supported system languages for response detection:
- Korean
- English
If your macOS system language is not listed above, please follow these instructions:
- Make sure ChatGPT desktop app is running
- Run
show_all_button_names.applescriptand copy the output to create an issue for language support.
Features
- Send prompts to ChatGPT from any MCP-compatible AI assistant
- Built with Python and FastMCP
Note: This server only supports English text input. Non-English characters may not work properly.
Installation
Prerequisites
- macOS
- ChatGPT desktop app installed and running
- Python 3.10+
- uv package manager
For Claude Code Users
Simply run:
claude mcp add chatgpt-mcp uvx chatgpt-mcp
That's it! You can start using ChatGPT commands in Claude Code.
For Other MCP Clients
Step 1: Install the MCP Server
Option A: Install from PyPI (Recommended)
# Install with uv
uv add chatgpt-mcp
Option B: Manual Installation
# Clone the repository
git clone https://github.com/xncbf/chatgpt-mcp
cd chatgpt-mcp
# Install dependencies with uv
uv sync
Step 2: Configure Your MCP Client
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"
}
}
}
Usage
- Open ChatGPT desktop app and make sure it's running
- Open your MCP client (Claude Code, etc.)
- Use ChatGPT commands in your AI assistant:
- "Send a message to ChatGPT"
The AI assistant will automatically use the appropriate MCP tools to interact with ChatGPT.
Available Tools
ask_chatgpt
Send a prompt to ChatGPT and receive the response.
ask_chatgpt(prompt="Hello, ChatGPT!")
get_chatgpt_response
Get the latest response from ChatGPT after sending a message.
get_chatgpt_response()
License
MIT
Metadata
Release files for chatgpt-mcp 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| chatgpt_mcp-1.1.1.tar.gz | 7.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatgpt_mcp-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / chatgpt_mcp-1.1.1.tar.gz
| Download URL | chatgpt_mcp-1.1.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c72377a631d68cdce854db4554aa042e80f2509bdfda14b6bb5649c9b8919fb
|
|
BLAKE2b-256 checksum How to use checksums |
c7876910cea5c76dd405bb77e438c4fbf68899544075633dd878221c150925d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Release files / chatgpt_mcp-1.1.1-py3-none-any.whl
| Download URL | chatgpt_mcp-1.1.1-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f8e561b27b3d1f031059828b4167fcea65daffa1bc38c8512e5f8722517c387
|
|
BLAKE2b-256 checksum How to use checksums |
f1d8b258b2e858aa17b7f5f4da830cd9f607956c523c5e0e98195bcb85c487ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Security for chatgpt-mcp 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.