Skip to content
LangChain

Inlay for LangChain

io.github.cartoonitunes/inlay

Make any website discoverable by AI agents via MCP, llms.txt, and structured data.

client:LangChain transport:streamable-http

Install Inlay in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "inlay": {
            "transport": "streamable_http",
            "url": "https://inlay.dev/api/mcp/{site_key}",
        }
})

tools = await client.get_tools()

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

Inlay in other clients