Skip to content
LangChain

Shape for LangChain

com.shapefs/shape

Find, read, save and organize files in your Shape workspace, with revocable OAuth access.

client:LangChain transport:streamable-http

Install Shape in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "shape": {
            "transport": "streamable_http",
            "url": "https://shapefs.app/mcp",
        }
})

tools = await client.get_tools()

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

Shape in other clients