Skip to content
LangChain

Rule MCP by usefulapi for LangChain

io.usefulapi/rule-io

Read subscribers, tags, templates and suppressions; create subscribers and add tags in Rule.

client:LangChain transport:streamable-http tools:18

Install Rule MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "rule-io": {
            "transport": "streamable_http",
            "url": "https://rule-io.usefulapi.io/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

Rule MCP by usefulapi in other clients