Skip to content
LangChain

SMS4You for LangChain

org.sms4you/mcp

Virtual phone numbers and temporary inboxes your AI assistant buys to receive verification codes.

client:LangChain transport:streamable-http

Install SMS4You in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.sms4you.org/mcp",
        }
})

tools = await client.get_tools()

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

SMS4You in other clients