Skip to content
LangChain

Modrinth MCP for LangChain

io.github.arthurofox/modrinth-mcp

Modrinth search, crash/Spark diagnostics, modpack migration, .mrpack & O(log n) bisection

client:LangChain transport:stdio runtime:pypi

Install Modrinth MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "modrinth-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["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