Skip to content
LangChain

iShortn for LangChain

ink.ishortn/mcp

Create, edit and delete short links, read click analytics and make QR codes in iShortn.

client:LangChain transport:streamable-http

Install iShortn in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

iShortn in other clients