Skip to content
LangChain

thth for LangChain

io.github.aokings/thth

Call before you post: ships a draft to Threads/Bluesky/Mastodon only after a person approved it.

client:LangChain transport:stdio runtime:pypi

Install thth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "thth": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["thth"],
        }
})

tools = await client.get_tools()

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

thth in other clients