Skip to main content
Glama
sptmru
by sptmru

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address inside the container0.0.0.0
MCP_PORTNoPort inside the container3000
LASTFM_API_KEYYesLast.fm API key
HISTORY_DB_PATHNoSQLite database path/app/data/lastfm.sqlite
LASTFM_USERNAMEYesFixed user whose data is exposed by the MCP server
MCP_PUBLIC_PORTNoPublished host port3000
MCP_BIND_ADDRESSNoHost address used to publish the Compose port127.0.0.1
LASTFM_TIMEOUT_MSNoTimeout for one API request10000
MCP_ALLOWED_HOSTSYesHost and Origin allowlist for DNS rebinding protection
LASTFM_MAX_RETRIESNoRetry count for temporary and rate-limit errors3
LASTFM_API_BASE_URLNoPrimarily useful for testsofficial endpoint
MCP_ENABLE_MUTATIONSNoEnable sync, feedback, exclusions, and recommendation recording only behind trusted access controlfalse
MUSICBRAINZ_BASE_URLNoPrimarily useful for testsofficial endpoint
MUSICBRAINZ_TIMEOUT_MSNoTimeout for one MusicBrainz request10000
MUSICBRAINZ_USER_AGENTYesRequired MusicBrainz application identity/contact
HISTORY_LIVE_SCAN_LIMITNoMaximum live scan size when no index exists5000
HISTORY_MAX_SYNC_TRACKSNoSafety cap for one resumable sync call250000
MUSICBRAINZ_MAX_RETRIESNoRetry count for temporary MusicBrainz errors2
LASTFM_CACHE_TTL_SECONDSNoIn-memory cache duration for chart and info calls300
LASTFM_MIN_REQUEST_INTERVAL_MSNoMinimum delay between Last.fm requests, approximately four requests per second250
MUSICBRAINZ_MIN_REQUEST_INTERVAL_MSNoSerialized MusicBrainz request interval1100

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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