aion-authoring-adk package and are imported from
aion.adk.authoring.
They are thin framework bindings over the shared aion-mcp endpoint helpers. The package does not
own Aion control-plane addressing models; those live in aion-api-client.
Install
McpToolset instances and a context-aware ADK BaseToolset.
Exports
aion_adk_mcp_toolset
Creates a context-aware ADK BaseToolset. ADK calls get_tools(readonly_context) at runtime, and
the Aion toolset resolves MCP endpoints from that request context.
| Parameter | Purpose |
|---|---|
capability_references | Explicit subject-kind-key references, including the global control plane. |
runtime_capability_references | Templates resolved from ADK’s per-request context. |
principal_selector | Optional explicit principal selector for all endpoints. |
jwt_manager | Optional async token manager. |
base_url | Optional Aion API base URL override. |
context_provider | Optional function that extracts AionRuntimeContext from ADK context. |
tool_filter | Optional filter forwarded to ADK McpToolset. |
tool_name_prefix | Optional prefix forwarded to ADK McpToolset. |
require_confirmation | Confirmation policy forwarded to ADK McpToolset. |
Runtime context extraction
By default,default_adk_runtime_context checks these locations on the ADK readonly context:
context_provider if your ADK runtime stores the Aion context somewhere else.
aion_adk_mcp_toolsets_sync
Creates direct ADK McpToolset instances when the AionRuntimeContext is already known.
McpToolset instances instead of a dynamic BaseToolset.