Skip to content
LangChain

Straitly for LangChain

io.github.straitly-ai/straitly-mcp

Search 100+ models, compare maker and Straitly prices, and run chat completions.

client:LangChain transport:stdio runtime:npm

Install Straitly in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Straitly in other clients