# Plugin publishing requirements

Status: plugin publication pending. The authenticated MCP protocol is documented separately in [Authenticated MCP access](/docs/agents/mcp.md). ChatGPT acceptance, a genuine review recording and official directory approval remain outstanding. Package validation and server-side tests are not proof of a ChatGPT connection. These pending publishing requirements remain excluded from `llms-full.txt` and REST OpenAPI operations.

## OAuth metadata and registration

OAuth discovery publishes a stable HTTPS issuer and the actual authorization, token and supported grant information. Protected-resource metadata identifies the exact MCP resource and trusted authorization server. Metadata contains public protocol information only, never client secrets, keys with private material, access tokens or account data. Complete domain verification and register the exact publisher callback before attempting ChatGPT consent.

Use preregistered clients with approved redirect URIs. No open dynamic client registration is promised or assumed. Reject arbitrary redirect URIs and unregistered clients. The issuer in metadata, token validation and trusted server configuration must agree; do not derive a trusted issuer from an unvalidated request host.

## PKCE and resource audience

Interactive authorization-code integration requires PKCE with `S256`, exact redirect URI validation and transaction-bound state. Authenticate the user and require explicit consent to the actual scopes. Device flow and client credentials are distinct flows, not substitutes for authorization-code/PKCE compatibility.

Bind authorization and tokens to the intended resource using the OAuth `resource` parameter and validate the resulting token audience at the resource server. Reject tokens for another resource or issuer, even if the signature is otherwise valid. Do not pass PureStats tokens through to unrelated upstream services. Short token lifetimes, revocation, limited scopes and account/site authorization remain required.

The underlying protocol requirements are described in [authorization-server metadata, RFC 8414](https://www.rfc-editor.org/rfc/rfc8414), [protected-resource metadata, RFC 9728](https://www.rfc-editor.org/rfc/rfc9728), [PKCE, RFC 7636](https://www.rfc-editor.org/rfc/rfc7636) and [resource indicators, RFC 8707](https://www.rfc-editor.org/rfc/rfc8707.html). Platform-specific compatibility must be checked against the actual integration contract before release.
