yr.mcp
MCP servers and tools selected by the active profile.
The namespace is loaded lazily on first access. Its first level contains configured server names, with nested attributes following each tool's dotted path. Attribute components containing hyphens are exposed with underscores.
Run yera setup mcp to add servers and enable them for the active profile.
Configuration and profile errors may surface when the namespace is first
loaded. Accessing a server or tool that is not present raises
AttributeError. A remote tool call may also raise an MCP connection,
authentication, validation, or tool call error.
The resolved namespace is retained for the current process. Restart the process after changing MCP configuration so subsequent access observes the new active profile and server catalogue.
Examples
Call a configured GitHub tool through its dynamic attribute path:
import yera as yr
created = yr.mcp.github.create_issue( # pyright: ignore[reportAttributeAccessIssue]
owner="octocat",
repo="hello-world",
title="Document the release process",
body="Add the missing release checklist.",
)