yera.config.schema.mcp
MCP server configuration schemas.
Symbols
MCPConfig
BaseModelConfigured MCP server connections available for profile selection.
MCPNoAuth
BaseModelDeclare that an MCP server requires no authentication.
MCPOAuthAuth
BaseModelReference a stored OAuth authorization for an MCP server.
Attributes
Discriminator identifying OAuth authentication.
Stable identity of the stored authorization.
Optional predefined OAuth client configuration.
MCPSecretHeadersAuth
BaseModelSend HTTP headers whose values the connection keeps in the secret store.
Attributes
Discriminator identifying connection-owned header authentication.
Owner of the header values in Yera's secret store.
Names of the headers sent with every request.
MCPServerConfig
BaseModelConfiguration required to connect to one MCP server.
Attributes
Streamable HTTP endpoint exposed by the MCP server.
Whether this server is available to Yera.
Authentication policy used for this server.
Methods
MCPServerConfig.validate_http_url
validate_http_url(
value: str,
) → strRequire a complete HTTP endpoint for streamable MCP transport.
MCPStaticHeadersAuth
BaseModelReference credentials supplied as static HTTP headers.
Attributes
Discriminator identifying static-header authentication.
Mapping of HTTP header names to credential keys.
require_http_url
require_http_url(
value: str,
) → strRequire a complete HTTP endpoint for streamable MCP transport.
Parameters
The endpoint to check.
Returns
The endpoint, unchanged.
Raises
If the endpoint is not an absolute HTTP or HTTPS URL.