Skip to content
LangChain

AiLinkAny for LangChain

io.github.zhangduochuan/ailinkany

Control your authorized Windows computers via OAuth: files, shell, apps, and task status.

client:LangChain transport:streamable-http

Install AiLinkAny in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

AiLinkAny in other clients