Skip to content
LangChain

Hive Flag for LangChain

io.github.srotzin/hive-mcp-flag

Feature flag service for safe rollouts across the Hive agent fleet

client:LangChain transport:streamable-http

Install Hive Flag in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hive-mcp-flag": {
            "transport": "streamable_http",
            "url": "https://hive-mcp-flag.onrender.com/mcp",
        }
})

tools = await client.get_tools()

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

Hive Flag in other clients