MCP 动作适配器
一个将 MCP 服务器转换为兼容 GPT 动作 API 的简单适配器。
快速入门
安装
使用以下命令安装工具: uv tool install mcp-actions-adapter
使用步骤
- 按照示例文件
config.example.json
创建配置文件config.json
。 - 启动 Cloudflare 隧道: cloudflared tunnel --url http://localhost:8000
- 启动适配器: uv run mcp-actions-adapter -c config.json --url ${CF_TUNNEL_URL}
- 在自定义 GPT 构建器中复制 http://localhost:8000/openapi.json 到 Schema 框。
- 测试模型功能。
更多详情请参考 README。