Skip to content
LangChain

Pastebin.ca for LangChain

io.github.slepp/pastebin

Create, read, and manage text and code pastes.

client:LangChain transport:streamable-http

Install Pastebin.ca in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Pastebin.ca in other clients