Skip to content
LangChain

surfbird mcp for LangChain

io.github.terry2010/surfbird-mcp

Self-hosted Kitesurf headless browser: markdown, screenshots, PDF, evaluate, batch.

client:LangChain transport:stdio runtime:npm

Install surfbird mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "surfbird-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "surfbird-mcp"],
        }
})

tools = await client.get_tools()

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

surfbird mcp in other clients