GetMCPProfileServerAuthHeader
GET/v1/customers/:customer_id/projects/:project_id/users/:user_id/mcp-profiles/:profile_id/servers/:server_id/auth-header
GetMCPProfileServerAuthHeader returns the header a call to an attached server sends with the per-server credential stored on the attachment (an API key or bearer token): the header named when the server was attached (default Authorization), with "Bearer " before a bearer token. An attachment with no stored credential returns an empty header, not an error. OAuth servers send the caller's OAuth token instead, through McpOAuthTokensService. Only a signed-in session acting for itself may call it, for its own profile. Internal: the Developer Console's Playground tool calls.
Request
Responses
- 200
Success