# auth.md

Resonami offers an MCP service for agents at https://resonami.com/mcp. Public title search and recommendation tools do not require registration or a credential. Account connection is available only through the approved ChatGPT OAuth client; Resonami does not offer general agent self-registration, anonymous credential issuance, verified-email assertion registration, or ID-JAG registration.

## Discover

1. Read the site metadata at https://resonami.com/.well-known/oauth-protected-resource (resource https://resonami.com). For the MCP resource, read https://resonami.com/.well-known/oauth-protected-resource/mcp (resource https://resonami.com/mcp). Use the MCP resource identifier when connecting ChatGPT. Both documents advertise https://resonami.com as the authorization server and the `resonami.profile` scope.
2. Read the authorization server metadata at https://resonami.com/.well-known/oauth-authorization-server. Check that its `issuer` is https://resonami.com and use its listed authorization, token, and revocation endpoints.
3. Read https://resonami.com/api-docs for the available MCP tools. The four public discovery tools need no account; `get_resonami_profile` is the only account-connected tool.

## Supported account connection

The supported method is user-authorized OAuth Authorization Code with PKCE S256 through ChatGPT's Resonami connection. ChatGPT is the only accepted OAuth client (`https://chatgpt.com/oauth/client.json`) and uses the registered redirect URI `https://chatgpt.com/connector_platform_oauth_redirect`. Other clients cannot register at this service. There is no `/agent/auth` registration endpoint; do not send credentials or identity assertions to one.

ChatGPT initiates the authorization request at https://resonami.com/oauth/authorize with its registered client ID, redirect URI, PKCE challenge, the `resonami.profile` scope, and the MCP resource. The person completes sign-in or account creation on Resonami and approves the connection there. Account creation for people is available at https://resonami.com/join; verification codes remain on Resonami and must never be requested in chat. ChatGPT exchanges the authorization code at https://resonami.com/oauth/token and can refresh or revoke its tokens through the metadata endpoints.

## Use the credential

For `get_resonami_profile`, send the access token in the HTTP header `Authorization: Bearer <access_token>` to https://resonami.com/mcp. The scope grants only the connected account's opaque ID and optional display name; it does not grant access to email, ratings, saved lists, or viewing history. Treat a 401 or an MCP authentication challenge as a signal to reconnect through the supported OAuth flow. Keep access and refresh tokens private and revoke a connection when it is no longer needed.

See https://resonami.com/privacy and https://resonami.com/terms for service policies.
