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.

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 & Setup

Step 1: Install ChatGPT Desktop App

Make sure you have the ChatGPT desktop app installed and running on your macOS.

Step 2: Install this MCP Server

# Clone the repository
git clone https://github.com/xncbf/chatgpt-mcp
cd chatgpt-mcp

# Install dependencies with uv
uv sync

Step 3: Configure MCP Client

For Claude Code:

# Add MCP server to Claude Code
claude mcp add chatgpt-mcp uv run /path/to/chatgpt-mcp

For other MCP clients:

Add to your MCP client configuration:

{
  "mcpServers": {
    "chatgpt": {
      "command": "uv",
      "args": ["run", "chatgpt-mcp"],
      "cwd": "/path/to/chatgpt-mcp"
    }
  }
}

Step 4: Start Using

  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"
    • "Create a new ChatGPT conversation"
    • "Get my ChatGPT conversations"

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()

Requirements

  • macOS
  • ChatGPT desktop app installed
  • Python 3.10+
  • uv package manager

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.0.0.tar.gz (5.6 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.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chatgpt_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ebd58b24709830c1c44168ef823c2f365cedb0caf014b8d24a8763a6b4eaaa0d
MD5 fbf62827372e05b7c69adf35d424a847
BLAKE2b-256 52de93e4b774b7a2eeeb3f57ab7b91e2436e6d2f803ba0dadf270fe449507dba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chatgpt_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4dae2155e7def07574cf402f3d88939cc37346da4b1cb05e8962102dee4e7a32
MD5 398a160a531a5c7de2db6c472d58c71f
BLAKE2b-256 cc6541570900f27e639410e1c9642514e0fc4f959c21b1b94f47d8928d5cd7b7

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