Skip to content
LangChain

cob-rag-mcp for LangChain

io.github.callobuzz/cob-rag-mcp

Give any MCP client a business's own knowledge base from a self-hosted cob-rag-engine.

client:LangChain transport:stdio runtime:npm

Install cob-rag-mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cob-rag-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "cob-rag-mcp"],
        }
})

tools = await client.get_tools()

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

cob-rag-mcp in other clients