Skip to content
LangChain

Base de Conhecimento for LangChain

io.github.mcp-dir/kb-mcp

Your private knowledge base: upload documents (.md, .txt, .docx, PDF, images), the platform indexes

client:LangChain transport:streamable-http tools:13

Install Base de Conhecimento in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "kb-mcp": {
            "transport": "streamable_http",
            "url": "https://api.mcp.ai/p_kb",
        }
})

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

Base de Conhecimento in other clients