Last.fm for VS Code
io.github.ndyakov/lastfm-mcp
Last.fm MCP server: scrobbles, charts, artist/album/track info and more
client:VS Code
transport:stdio
runtime:oci
Install Last.fm in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "lastfm-api-key",
"description": "LASTFM_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "lastfm-api-secret",
"description": "LASTFM_API_SECRET",
"password": true
},
{
"type": "promptString",
"id": "lastfm-enable-writes",
"description": "LASTFM_ENABLE_WRITES",
"password": true
}
],
"servers": {
"lastfm-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ndyakov/lastfm-mcp:0.1.0"
],
"env": {
"LASTFM_API_KEY": "${input:lastfm-api-key}",
"LASTFM_API_SECRET": "${input:lastfm-api-secret}",
"LASTFM_ENABLE_WRITES": "${input:lastfm-enable-writes}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs