mcp for LangChain
com.gitbuyer/mcp
Find the repo to build from: search 100k+ repos by base-fitness, clone free or buy over x402.
client:LangChain
transport:streamable-http
tools:16
Install mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp": {
"transport": "streamable_http",
"url": "https://gitbuyer.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs