A registry mapping server names to their respective configurations. This is used as the main parameter to convertMcpToLangchainTools().
const serverRegistry: McpServersConfig = { "filesystem": { command: "npx", args: ["@modelcontextprotocol/server-filesystem", "."] }, "fetch": { command: "uvx", args: ["mcp-server-fetch"] }};@public Copy
const serverRegistry: McpServersConfig = { "filesystem": { command: "npx", args: ["@modelcontextprotocol/server-filesystem", "."] }, "fetch": { command: "uvx", args: ["mcp-server-fetch"] }};@public
A registry mapping server names to their respective configurations. This is used as the main parameter to convertMcpToLangchainTools().
Example