Skip to content
LangChain

distill mcp for LangChain

io.github.bytestay/distill-mcp

Web pages to clean Markdown for AI agents, honouring robots.txt and AI opt-outs.

client:LangChain transport:stdio runtime:pypi

Install distill mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "distill-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["bytestay-distill-mcp"],
        }
})

tools = await client.get_tools()

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

distill mcp in other clients