aion.langgraph.authoring.mcp, or directly from
aion.langgraph.authoring.
They are thin framework bindings over the shared aion.mcp endpoint helpers. The control-plane
addressing models they take live in aion.api.
Install
langchain-mcp-adapters when actually loading MCP tools or constructing a
MultiServerMCPClient.
Exports
AionLangGraphMcpResolver
Reusable resolver for building LangChain MCP server config, constructing a client, or loading tools.
Methods
Runtime references require a context. If a runtime reference is configured and no context is supplied,
the helper raises
ValueError.
aion_langgraph_mcp_server_config
Builds the dictionary expected by langchain_mcp_adapters.client.MultiServerMCPClient.
transport, url, and headers.
For remote Aion MCP endpoints, transport is http.
load_aion_mcp_tools
Loads tools directly from the resolved endpoints.
aion_langgraph_mcp_client
Creates a MultiServerMCPClient using synchronous endpoint construction.
Runtime context source
The LangGraph helpers do not read from global or thread-local state. Pass the currentAionRuntimeContext explicitly, usually from LangGraph’s Runtime[AionRuntimeContext] object.