Skip to content
LangChain

Fairplug (sandbox) for LangChain

io.github.fairplughq/fairplug-mcp

Disclosure-first sponsored offers for AI assistants. Free read-only sandbox, fictional data.

client:LangChain transport:streamable-http tools:2

Install Fairplug (sandbox) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "fairplug-mcp": {
            "transport": "streamable_http",
            "url": "https://fairplug-mcp.fairplughq.workers.dev/sandbox/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

Fairplug (sandbox) in other clients