Skip to content
LangChain

affset for LangChain

io.github.affset/mcp

Run affset from chat: stats, campaigns, zones, payouts, targeting, and team.

client:LangChain transport:streamable-http runtime:npm

Install affset in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

affset in other clients