smartscale for LangChain
io.github.jdhart81/smartscale
Deterministic CR80 pixel-geometry scaler. Callers supply the card and object pixel geometry; this MC
client:LangChain
transport:streamable-http
tools:4
Install smartscale in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"smartscale": {
"transport": "streamable_http",
"url": "https://mcp.viridisconservation.com/smartscale/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs