Skip to content
LangChain

Component Code for LangChain

cv.fabio/component-code

Code with live parameters that you can change and see the component update.

client:LangChain transport:streamable-http runtime:npm tools:2

Install Component Code in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "component-code": {
            "transport": "streamable_http",
            "url": "https://mcp.fabio.cv/component-code/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

Component Code in other clients