Spotify MCP for LangChain
io.github.novalux12/spotify-mcp-server
The most complete Spotify MCP: playback, library, playlists, search, podcasts and audiobooks.
client:LangChain
transport:stdio
runtime:npm
Install Spotify MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"spotify-mcp-server": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@novalux12/spotify-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs