Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mcp-use.com/llms.txt

Use this file to discover all available pages before exploring further.

LangChain adapter for MCP tools. This module provides utilities to convert MCP tools to LangChain tools.

LangChainAdapter

from mcp_use.agents.adapters.langchain_adapter import LangChainAdapter

Attributes
framework
str
required
String value

method init

Initialize a new LangChain adapter.Parameters
disallowed_tools
list[str] | None
default:"None"
list of tool names that should not be available.
Signature
def __init__(disallowed_tools: list[str] | None = None):