Skip to main content

A Model Context Protocol server for interacting with ChatGPT on macOS with Korean support

Project description

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:

  1. Make sure ChatGPT desktop app is running
  2. Run show_all_button_names.applescript and 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

  1. Open ChatGPT desktop app and make sure it's running
  2. Open your MCP client (Claude Code, etc.)
  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatgpt_mcp-1.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatgpt_mcp-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: chatgpt_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for chatgpt_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 383d4e45b5ab7b44ee076252fc5c20bde2a480b2292578b5947cb76dc5103b53
MD5 a2886e67d0f228b35785d40cee18f2e7
BLAKE2b-256 5f06f35b6110f81c2374251696ee3063b94e690a30ed031e1d7c3bafff89afed

See more details on using hashes here.

File details

Details for the file chatgpt_mcp-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chatgpt_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ffef786bf4e094a9d48084f8e18003c77efc662f411e2be7540cfa03f7d1f8
MD5 5cf49324f18de4f13ace1dcde8ae04f3
BLAKE2b-256 4d85c681ea2177dc6989cbe473b3f08ba2b5d5e5bf4acf6cbdc2f2e164c8cc03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page