Skip to content
LangChain

GrapeCity SpreadJS for LangChain

cn.com.grapecity/spreadjs

GrapeCity Software MCP for SpreadJS docs, examples, and product assistance.

client:LangChain transport:streamable-http

Install GrapeCity SpreadJS in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "spreadjs": {
            "transport": "streamable_http",
            "url": "https://mcp.grapecity.com.cn/mcp/spreadjs",
        }
})

tools = await client.get_tools()

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

GrapeCity SpreadJS in other clients