Spotify for LangChain
io.github.akutishevsky/spotify
Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.
client:LangChain
transport:streamable-http
Install Spotify in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"spotify": {
"transport": "streamable_http",
"url": "https://sptfy-mcp.online/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs