Skip to content
LangChain

cacheport for LangChain

io.github.cloudcorprecords/cacheport

Key-value cache over Redis: set, get, delete and list keys.

client:LangChain transport:stdio runtime:npm

Install cacheport in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cacheport": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/cacheport"],
        }
})

tools = await client.get_tools()

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

cacheport in other clients