facadec for LangChain
io.github.l00plegend/facadec
Compile fat MCP tool catalogs into search_tools, describe_tool, and call_tool.
client:LangChain
transport:stdio
runtime:npm
Install facadec in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"facadec": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "facadec"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs