Skip to content
LangChain

customjs mcp for LangChain

space.customjs/customjs-mcp

Host static HTML pages, generate PDFs, screenshots, scrape JS sites, run sandboxed JavaScript.

client:LangChain transport:streamable-http

Install customjs mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "customjs-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.customjs.space/customjs/mcp",
        }
})

tools = await client.get_tools()

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

customjs mcp in other clients