Skip to content
LangChain

Lacuna Music for LangChain

io.github.joylink-ltd/lacuna-mcp

Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.

client:LangChain transport:streamable-http runtime:npm tools:3

Install Lacuna Music in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "lacuna-mcp": {
            "transport": "streamable_http",
            "url": "https://www.lacuna.fm/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Lacuna Music in other clients