datarobot_genai.drmcpbase.oauth_protected_resource_metadata.entities
entities
CrossApplicationAccessMetadata
dataclass
Bases: BaseDataClass
Cross-Application Access parameters for the hybrid RFC 8693 / RFC 7523 flow.
Mirrors dragent.cross_app_access_config.CrossApplicationAccessConfig so an
agent can either declare the block itself or read this one off the MCP
server's protected resource metadata document.
Source code in datarobot_genai/drmcpbase/oauth_protected_resource_metadata/entities.py
MCPOAuthProtectedResourceMetadataConfig
dataclass
Bases: BaseDataClass
User-authored config (dr_mcp/oauth-config.yaml / MCP_OAUTH_METADATA).
Every field is optional: resource, authorization_servers and
scopes_supported are published verbatim but nothing enforces them yet, so
a config that only declares cross_application_access is valid. Unknown
keys are ignored, so a config still using the pre-rename xaa_metadata
block silently publishes no Cross-Application Access metadata.
Source code in datarobot_genai/drmcpbase/oauth_protected_resource_metadata/entities.py
MCPOAuthProtectedResourceMetadata
dataclass
Bases: BaseDataClass
The document served at /.well-known/oauth-protected-resource.
Registered RFC 9728 parameters keep their standard names, and DataRobot
additions are x_-prefixed — except cross_application_access, which is
published unprefixed so it matches the agent-side config block name. Unset
fields are dropped by to_dict_without_null_attribute, so a config that
only declares cross_application_access yields just that block plus
bearer_methods_supported.