Last.fm for Gemini CLI
io.github.ndyakov/lastfm-mcp
Last.fm MCP server: scrobbles, charts, artist/album/track info and more
client:Gemini CLI
transport:stdio
runtime:oci
Install Last.fm in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"lastfm-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ndyakov/lastfm-mcp:0.1.0"
],
"env": {
"LASTFM_API_KEY": "<LASTFM_API_KEY>",
"LASTFM_API_SECRET": "<LASTFM_API_SECRET>",
"LASTFM_ENABLE_WRITES": "<LASTFM_ENABLE_WRITES>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs