
一个MCP服务器,允许你使用ChatGPT的macOS应用。
概览
这是一个MCP服务器,允许你通过MCP使用ChatGPT macOS应用。最初版本用Python编写,名为mcp-server-chatgpt-app,本项目是其TypeScript实现。 - ChatGPT macOS 应用 - 安装“在 Mac 上问 ChatGPT”快捷方式 - Node.js MCP服务器可以通过npx使用,你可以选择在macOS系统上全局使用,或者在任何本地项目中使用它。 如果你想全局使用,可以在你的 CLI 里执行以下命令。 如果你想在任何本地目录中使用它,请在.mcp.json中添加以下内容。 为了验证MCP服务器已被添加,请执行以下命令: 如果输出看起来像这样,说明一切都设置正确。 如果你想在本地改进这个项目,
概述(AI 翻译)
这是一个MCP服务器,允许你通过MCP使用ChatGPT的macOS应用。 最初版本用 Python 编写,代码为 mcp-server-chatgpt-app, 而本项目是该项目的TypeScript实现。
先决条件
- ChatGPT macOS 应用
- 安装“在Mac上问ChatGPT”快捷方式
- Node.js
使用 NPX
MCP服务器可以通过npx使用, 你可以选择在MacOS系统上全局使用,也可以在任何本地项目中使用。
全球使用
如果你想全局使用,可以在你的 CLI 里执行以下命令。
本地项目使用
如果你想在任何本地目录中使用它,
在你的.mcp.json后加上以下内容。
如何检查MCP服务器是否已被添加
为了验证MCP服务器已被添加,请执行以下命令:
如果输出看起来像这样,说明一切都设置正确。
地方发展
如果你想在本地改进这个项目,
建造
本页由 AI 翻译,技术细节请以原文为准。
README
mcp-server-chatgpt-mac-app
This is an MCP server that allows you to use the ChatGPT macOS app via MCP. The original version was written in Python as mcp-server-chatgpt-app, and this project is a TypeScript implementation of it.
Prerequisite
Using npx
The MCP server can be used via npx, and you can choose to use it either globally on your macOS system or within any local project.
Global Usage
If you want to use it globally, run the following command in your CLI.
claude mcp add chatGPTOnMac -s user \
-- npx mcp-server-chatgpt-mac-app
Local Project Usage
If you want to use it in any local directory,
add the following to your .mcp.json.
{
"mcpServers": {
"chatGPTOnMac": {
"command": "npx",
"args": ["mcp-server-chatgpt-mac-app"],
"cwd": ".",
"env": {}
}
}
}
How to check if the MCP server has been added
To verify that the MCP server has been added, run the following command:
claude mcp list
If the output looks like the following, everything is set up correctly.
$ claude mcp list
chatGPTOnMac: npx mcp-server-chatgpt-mac-app
Local Development
If you want to improve this project locally.
build
git clone https://github.com/yimajo/mcp-server-chatgpt-mac-app.git
cd mcp-server-chatgpt-mac-app
pnpm install
pnpm build
安装
npx mcp-server-chatgpt-mac-app配置
{
"mcpServers": {
"chatGPTOnMac": {
"command": "npx",
"args": ["mcp-server-chatgpt-mac-app"],
"cwd": ".",
"env": {}
}
}
}