Skip to content
LangChain

Bedrock Multi-Model for LangChain

io.github.sagargupta16/bedrock-multi-model-mcp

Ask, compare and judge 35 Bedrock text models, generate and edit images, plus video and embeddings.

client:LangChain transport:stdio runtime:npm

Install Bedrock Multi-Model in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Bedrock Multi-Model in other clients