Skip to content
LangChain

teztun for LangChain

io.github.asadullokhn/teztun

Manage TezTun tunnels, subdomains, and service tokens from any MCP-compatible AI client.

client:LangChain transport:stdio runtime:npm

Install teztun in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

teztun in other clients