Skip to content
LangChain

crates io mcp for LangChain

io.github.mrfentmen/crates-io-mcp

Look up Rust crates, versions, and downloads from crates.io. No key required.

client:LangChain transport:stdio runtime:npm

Install crates io mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

crates io mcp in other clients