Skip to content
LangChain

PasteMD for LangChain

io.github.jini-tw/pastemd

Instant markdown sharing. Create, manage, and share documents with password protection.

client:LangChain transport:streamable-http

Install PasteMD in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "pastemd": {
            "transport": "streamable_http",
            "url": "https://api.pastemd.io/mcp",
        }
})

tools = await client.get_tools()

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

PasteMD in other clients