Metadata-Version: 2.4
Name: mcp-server-chatgpt-app
Version: 0.1.0
Summary: MCP Server for ChatGPT via AppleScript
Project-URL: Homepage, https://github.com/cdpath/mcp-server-chatgpt-app
Project-URL: Repository, https://github.com/cdpath/mcp-server-chatgpt-app.git
Project-URL: Issues, https://github.com/cdpath/mcp-server-chatgpt-app/issues
Author-email: cdpath <cdpath@outlook.com>
License-Expression: MIT
License-File: LICENSE
Keywords: AppleScript,ChatGPT,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Requires-Dist: mcp>=1.6.0
Description-Content-Type: text/markdown

# mcp-server-chatgpt-app

## Prerequisite

- [ChatGPT macOS app](https://openai.com/chatgpt/download/)
- [uv](https://docs.astral.sh/uv/getting-started/installation/)

## Required Permissions

Before using the server, you need to grant the following permissions:

1. Open System Settings > Privacy & Security > Accessibility
2. Click the "+" button and add your mcp client (cursor, chatwise, etc.)
3. Make sure the checkbox next to your mcp client app is checked


## Usage

### cursor

update `.mcp.json` to add the following:

```
{
    "mcpServers": {
      "chatgpt": {
        "command": "uvx",
        "args": ["mcp-server-chatgpt-app"],
        "env": {},
        "disabled": false,
        "autoApprove": []
      }
    }
}
```

### chatwise

Go to Settings -> Tools -> Add and use the following config:

```
Type: stdio
ID: ChatGPT
Command: uvx mcp-server-chatgpt-app
```

## local development

```
uv --directory $HOME/Developer/mcp-server-chatgpt-app/src/mcp_server_chatgpt run server.py
```