Skip to content
LangChain

Surface AI for LangChain

io.surface-ai/surface

Test and personalize your site's pages from Claude Code or Codex, and check results. Key required.

client:LangChain transport:streamable-http

Install Surface AI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "surface": {
            "transport": "streamable_http",
            "url": "https://mcp.surface-ai.io/mcp/",
        }
})

tools = await client.get_tools()

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

Surface AI in other clients