Skip to content
LangChain

affectUI for LangChain

io.github.flohoeller/affectui

Search, read and install agent-ready React components, screens and blocks for AI products.

client:LangChain transport:streamable-http tools:4

Install affectUI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

What LangChain can do once it is connected

affectUI in other clients