Skip to content
LangChain

PubNio for LangChain

com.pubnio/pubnio

Publish and schedule social posts across connected social accounts.

client:LangChain transport:streamable-http

Install PubNio in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

PubNio in other clients