Skip to content
LangChain

Example App for LangChain

io.github.mctx-ai/example-app

Build complete Apps with our framework — study or fork this reference implementation. Covers all @mc

client:LangChain transport:sse

Install Example App in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "example-app": {
            "transport": "streamable_http",
            "url": "https://example-app.mctx.ai/v1.3.4",
        }
})

tools = await client.get_tools()

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

Example App in other clients