关于 gency-mcp
Gency AI 产品图片生成 - 适用于 Claude、Codex、Cursor、VS Code 的 MCP 服务
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
mcp.json · 通用配置
启动命令
npx -y @gency-ai/gency-mcp需要配置的环境变量
GENCY_API_URLGency API base URLGENCY_OAUTH_CLIENT_ID密钥OAuth client ID override. Defaults to the built-in official client, so most users never set this.GENCY_OAUTH_CLIENT_SECRET密钥OAuth client secret, only needed for confidential clients.GENCY_OAUTH_API_BASE密钥OAuth provider base URL. Defaults to GENCY_API_URL.GENCY_OAUTH_SCOPE密钥Space-separated OAuth scopes.GENCY_MCP_ALLOWED_CLIENT_IDSserve-http only: OAuth client IDs whose tokens this server accepts (space or comma separated). Empty accepts any client.GENCY_MCP_UPLOAD_SECRET密钥serve-http only: HMAC key for signed upload handles. Only needed when running more than one instance, so a handle issued by one verifies on another.GENCY_MCP_OAUTH_RESOURCE密钥RFC 8707 resource indicator to send on authorize/token/refresh requests. Opt-in until the Gency authorization server is confirmed to accept it.本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。
工具
21收录的工具列表 · 更新于 1 周前
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| port | integer | 否 | 固定的回环端口。默认值:53682(必须将 http://localhost:53682/callback 加入 OAuth 客户端的重定向 URI 白名单)。 |
| scope | string | 否 | 以空格分隔的作用域。默认值为 product:read product:write team:read team:write user:read。 |
| api_base | string | 否 | OAuth 提供方基础 URL。默认使用 GENCY_OAUTH_API_BASE/GENCY_API_URL。 |
| client_id | string | 否 | OAuth client_id。默认使用 GENCY_OAUTH_CLIENT_ID 环境变量。 |
| client_secret | string | 否 | OAuth client_secret(仅机密客户端需要)。默认使用 GENCY_OAUTH_CLIENT_SECRET 环境变量。 |
| timeout_seconds | integer | 否 | 登录超时时间。默认值:300。 |
详细介绍
维护者还没有提供详细介绍,可以先查看代码仓库中的 README。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。