mcp-remote, Claude Code) that has registered to use Well’s OAuth proxy for a specific MCP provider slug. It is written exclusively by the POST /v1/mcps/:slug/oauth/register DCR endpoint and subsequently looked up at authorize time. The entity has no workspace association, no soft-delete, and no relationships declared — it is a global, append-only registry of DCR client identities scoped to a provider slug.
Internal object. Not currently exposed on the public REST API. The operations below describe the intended contract.
API operations
Data model
Attributes
System-computed
- client_id — generated by gen_random_uuid() at INSERT time; unique across the table
- created_at — set by the database default (now()) and the MikroORM onCreate hook; never updated after creation
- No updated_at column — the entity is immutable after creation; there is no soft-delete (no deleted_at column)
- No workspace association — global registry shared across all tenants, scoped only by slug
- slug — derived from the :slug URL route parameter at DCR time; not user-supplied in the request body
Example
apps/api/src/database/entities/McpOAuthClient.ts · domain: platform · tier: Platform