yera.apps.builtin.mcp_setup.interaction
Interactive MCP configuration for Yera's setup application.
Symbols
HeaderAuthEntry
yr.StructAuthenticate to an MCP server with static HTTP headers.
Fields
Headers sent with every request.
MCPHeaderEntry
yr.StructOne HTTP header sent with every request to an MCP server.
Fields
HTTP header name.
Secret header value, kept only in Yera's secret store.
MCPServerDisable
Request that an MCP server be disabled for one profile.
Fields
Name of the server to disable.
Methods
MCPServerDisable.__init__
__init__(
name: str,
) → NoneMCPServerEnable
Request that an existing MCP server be enabled for a profile.
Fields
Name of the globally configured MCP server to enable.
Methods
MCPServerEnable.__init__
__init__(
name: str,
) → NoneMCPServerEntry
yr.StructAn MCP server entered by hand during setup.
Fields
how you'll refer to it, e.g. github
the server's Streamable HTTP endpoint
How Yera authenticates to the server.
MCPServerRemoval
A confirmed request to delete one globally configured MCP server.
Fields
Name of the server to delete from every profile.
Methods
MCPServerRemoval.__init__
__init__(
name: str,
) → NoneNoAuthEntry
yr.StructConnect to an MCP server without authentication.
Fields
OAuthEntry
yr.StructAuthenticate to an MCP server by signing in through the browser.
Fields
present_mcp_device_authorization
present_mcp_device_authorization(
request: OAuthDeviceAuthorizationRequest,
) → NonePresent OAuth device-verification instructions in setup.
Parameters
Non-secret verification context from the provider.
process_mcp_servers
process_mcp_servers(
profile: Profile,
) → NonePrompt for MCP servers to enable in a profile.
Parameters
Profile being assembled by the setup application.
select_mcp_server
select_mcp_server(
profile: Profile,
) → MCPSetupResultAsk the user what MCP server operation to perform.
Parameters
Profile for which servers are being configured.
Returns
The selected operation or an explicit navigation result.
Raises
If a selected catalogue entry cannot be resolved.