Skip to content
LangChain

modrinth mcp for LangChain

io.github.mrfentmen/modrinth-mcp

Use this MCP server to Modrinth, search Minecraft mods, filter by loader and game version,...

client:LangChain transport:stdio runtime:npm

Install modrinth mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

modrinth mcp in other clients