1. 安装插件
- 安装插件链接:
https://chromewebstore.google.com/detail/mcp-superassistant/kngiafgkdnlkgmefdafaibkibegkcaef?hl=en - 点击“Add to Chrome”,确认安装.(我这里已经安装好了)。
2. 配置 json 文件
新建一个mcp配置的 config.json 文件,以下为一个示例:
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "@suekou/mcp-notion-server"],
"env": {
"NOTION_API_TOKEN": "<your_notion_token_here>"
}
},
"gmail": {
"url": "https://mcp.composio.dev/gmail/xxxx"
},
"youtube-subtitle-downloader": {
"command": "bun",
"args": [
"run",
"/path/to/mcp-youtube/src/index.ts"
]
},
"desktop-commander": {
"command": "npx",
"args": ["-y", "@wonderwhy-er/desktop-commander"]
},
"iterm-mcp": {
"command": "npx",
"args": ["-y", "iterm-mcp"]
}
}
}
3. 连接到本地代理服务器
-
假设刚才保存的 config.json 文件在E盘;通过 npx 运行 MCP SuperAssistant 代理,在终端输入:
npx -y @srbhptl39/mcp-superassistant-proxy@latest --config E:\config.json
-
出现以下界面则运行成功:
4. 在Chatgpt中使用MCP
- 若插件安装成功以及json文件配置无误,chatgpt界面会出现“MCP”按钮,点击并启用,右侧会出现MCP的相关信息,包括配置成功后可用的MCP:
- 尝试使用MCP,我这里简单配置了一个notion的mcp进行测试:
- 输入需要获取页面的链接;
- chatgpt根据页面ID获取页面内容;
- 点击 “Run”;
- 此处出现error是因为我提供的链接是私人的,我也没有配置API token,但是可以看到MCP是有运行的;
- 可以根据此方法使用其他MCP。