Last.fm Taste MCP
by sptmru
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address inside the container | 0.0.0.0 |
| MCP_PORT | No | Port inside the container | 3000 |
| LASTFM_API_KEY | Yes | Last.fm API key | |
| HISTORY_DB_PATH | No | SQLite database path | /app/data/lastfm.sqlite |
| LASTFM_USERNAME | Yes | Fixed user whose data is exposed by the MCP server | |
| MCP_PUBLIC_PORT | No | Published host port | 3000 |
| MCP_BIND_ADDRESS | No | Host address used to publish the Compose port | 127.0.0.1 |
| LASTFM_TIMEOUT_MS | No | Timeout for one API request | 10000 |
| MCP_ALLOWED_HOSTS | Yes | Host and Origin allowlist for DNS rebinding protection | |
| LASTFM_MAX_RETRIES | No | Retry count for temporary and rate-limit errors | 3 |
| LASTFM_API_BASE_URL | No | Primarily useful for tests | official endpoint |
| MCP_ENABLE_MUTATIONS | No | Enable sync, feedback, exclusions, and recommendation recording only behind trusted access control | false |
| MUSICBRAINZ_BASE_URL | No | Primarily useful for tests | official endpoint |
| MUSICBRAINZ_TIMEOUT_MS | No | Timeout for one MusicBrainz request | 10000 |
| MUSICBRAINZ_USER_AGENT | Yes | Required MusicBrainz application identity/contact | |
| HISTORY_LIVE_SCAN_LIMIT | No | Maximum live scan size when no index exists | 5000 |
| HISTORY_MAX_SYNC_TRACKS | No | Safety cap for one resumable sync call | 250000 |
| MUSICBRAINZ_MAX_RETRIES | No | Retry count for temporary MusicBrainz errors | 2 |
| LASTFM_CACHE_TTL_SECONDS | No | In-memory cache duration for chart and info calls | 300 |
| LASTFM_MIN_REQUEST_INTERVAL_MS | No | Minimum delay between Last.fm requests, approximately four requests per second | 250 |
| MUSICBRAINZ_MIN_REQUEST_INTERVAL_MS | No | Serialized MusicBrainz request interval | 1100 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sptmru/lastfm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server