工具 API
add_ auth_ oauth_ provider
Adds a social login provider (Google, GitHub, Microsoft, Vercel, Apple) that users sign in with to the branch's Neon Auth integration. Takes the provider `id` and optionally `client_id`, `client_secret` and, for Microsoft, `microsoft_tenant_id`. Microsoft and Apple have no shared app, so they need your own credentials; for Apple, `client_id` is the Services ID, `client_secret` is the `.p8` private key, and `apple_team_id` and `apple_key_id` are required. This is not the OAuth Provider plugin that makes Neon Auth an OAuth 2.1 authorization server; for that use `get_auth_oauth_server` and `update_auth_oauth_server`. branch_id is a branch id (br-...), not a branch name. Call list_branches to resolve a name.
调用信息
- 工具标识
- mcp-server-neon.add_auth_oauth_provider
- 服务提供方
- Neon
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
project_idRequired for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
branch_id必填string
id必填string
client_idstring
client_secretstring
microsoft_tenant_idstring
apple_team_idstring
apple_key_idstring