Skip to content
LangChain

keen for LangChain

io.github.telcharfromnogrod/keen

AI image upscaling — upscale any image to 2x or 4x resolution with x402 payments

client:LangChain transport:stdio runtime:npm

Install keen in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

keen in other clients