PastML for LangChain
io.github.h4ck4life/pastml
Deploy HTML and Markdown as live URLs. Create, search, update, and manage pastes from any AI agent.
client:LangChain
transport:streamable-http
Install PastML in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"pastml": {
"transport": "streamable_http",
"url": "https://pastml.com/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs