MCP tool names to omit during conversion.
Creates a dispatcher for the entries loaded by this adapter.
A function that invokes tools, reads resources, or gets prompts.
Create prompts from MCP prompts in all provided connectors.
List of MCP connectors to create prompts from.
A promise that resolves with all converted prompts.
Create resources from MCP resources in all provided connectors.
List of MCP connectors to create resources from.
A promise that resolves with all converted resources.
Converts MCP tools from all connectors and resets the dispatch table.
Connected MCP connectors.
Provider-neutral tool entries.
Dynamically load prompts for a specific connector.
The connector to load prompts for.
The list of prompts that were loaded in the target framework's format.
Dynamically load resources for a specific connector.
The connector to load resources for.
The list of resources that were loaded in the target framework's format.
Dynamically load tools for a specific connector.
The connector to load tools for.
The list of tools that were loaded in the target framework's format.
Removes internal dispatch metadata from native tool entries.
Entries created by this adapter.
Provider-neutral definitions safe to send to an LLM provider.
StaticcreateCreate tools from an MCPClient instance.
This is the recommended way to create tools from an MCPClient, as it handles session creation and connector extraction automatically.
A promise that resolves with a list of converted tools.
Converts MCP tools, resources, and prompts into provider-neutral tools.
The adapter also creates a dispatcher that routes model tool calls back to the connector that supplied each tool.