lautfm-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lautfm-mcp list all my stations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lautfm-mcp
An MCP server that provides access to the laut.fm Radioadmin API.
Requirements
Node.js 18 or later
A valid laut.fm Radioadmin API token
Related MCP server: ukraine.com.ua MCP
Setup
1. Install dependencies
npm install2. Build
npm run build3. Configure your MCP client
Add the server to your MCP client configuration (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"lautfm": {
"command": "node",
"args": ["/absolute/path/to/lautfm-mcp/dist/index.js"],
"env": {
"LAUTFM_TOKEN": "your-radioadmin-api-token-here"
}
}
}
}Generate a token by calling https://radioadmin.laut.fm/login?callback_url=LautfmMCP
Environment Variables
Variable | Required | Description |
| ✅ Yes | Your laut.fm Radioadmin API bearer token. The server will exit immediately if this is not set. |
Authentication & Origin
Every request to the Radioadmin API is sent with:
Authorization: Bearer <LAUTFM_TOKEN>Origin: LautfmMCP
Available Tools
General
Tool | Description |
| Check the laut.fm Radioadmin API server status |
Station
Tool | Description |
| List all stations accessible with the current token |
| Get detailed information about a specific station |
| Update station information (description, format, djs, location, website, social links, genres) |
| Check if a station is active and playing on a streaming server |
| Activate a station — triggers a playlist export and starts streaming |
| Get the currently playing playlist and its tracks |
| Get listener statistics (current listeners, position, switchons log, TLH log) |
Users
Tool | Description |
| List all users of a station |
| Add a user with a given role to a station (sends an invitation) |
| Change the role of a user on a station |
| Remove a user from a station |
Playlists
Tool | Description |
| List all playlists for a station |
| Add a new playlist to a station |
| Get information for a single playlist including its entries |
| Modify an existing playlist |
| Delete a playlist (the rotation playlist cannot be deleted) |
| Append a single track to a playlist |
| Get all tracks for a playlist |
| Delete all occurrences of a track from a playlist |
Schedule
Tool | Description |
| Get the schedule for a station |
| Modify the schedule for a station |
Tracks
Tool | Description |
| Search tracks using various filters (deprecated endpoint) |
| Get track information for one or more track IDs |
| Update metadata for a track |
| Delete an own track from a station |
| Get current day track statistics |
| Get track statistics for a specific period ( |
| Get tags for one or more specific tracks |
| Add tags to one or more tracks |
| Remove tags from one or more tracks |
| Get all tags used across all tracks for a station |
| Get tracks with incomplete uploads |
| Get tracks queued for processing |
Live
Tool | Description |
| Get live streaming connection information (server, port, mountpoint, bitrate, etc.) |
| Get the live streaming password for a station |
Automation Algorithms
Tool | Description |
| View the definition of a specific automation algorithm |
| Create a new automation algorithm for shuffling tracks |
| Update the function used by an existing automation algorithm |
| Delete an automation algorithm |
Excluded Endpoints
The following API endpoints are not exposed as MCP tools because they involve binary data transfer which is not suitable for the MCP text protocol:
POST /stations/{station_id}/tracks— MP3 file uploadPUT /stations/{station_id}/images/{image_type}— Image upload (logo, website, background)GET /stations/{station_id}/tracks/{track_id}/prelisten— Returns audio/mpeg binary stream
Additionally, all App-tagged endpoints (which use Firebase JWT authentication) are excluded as they serve a different use case.
Development
# Watch mode (recompiles on change)
npm run dev
# Build once
npm run build
# Run directly (requires LAUTFM_TOKEN to be set)
LAUTFM_TOKEN=your-token node dist/index.jsProject Structure
src/
├── index.ts # MCP server entry point
├── client.ts # HTTP client with auth + Origin header
└── tools/
├── general.ts # General tools (server status)
├── stations.ts # Station tools
├── users.ts # User management tools
├── playlists.ts # Playlist tools
├── schedule.ts # Schedule tools
├── tracks.ts # Track tools
├── live.ts # Live streaming tools
└── automation.ts # Automation algorithm toolsAvailable Tools
40 toolsactivate_stationA
Activate a station — triggers a playlist export and starts the station on a streaming server if assigned and not running
Inputs: station_id (required).
add_playlistC
Add a new playlist to a station. Requires at minimum a title and color (full 6-digit hex, e.g. #ff0000)
Inputs: color (required), title (required), station_id (required), shuffled, +2 more.
add_station_userA
Add a user with a given role to a station (sends an invitation)
Inputs: role (required), email (required), station_id (required).
add_track_tagsC
Add tags to one or more tracks
Inputs: tags (required), track_ids (required), station_id (required).
add_track_to_playlistB
Append a single track to a playlist. The track must not already be in the playlist.
Inputs: track_id (required), station_id (required), playlist_id (required).
create_automation_algorithmC
Create a new automation algorithm for shuffling tracks
Inputs: body (required), name (required).
delete_automation_algorithmC
Delete an automation algorithm
Inputs: name (required).
delete_playlistA
Delete a single playlist for a station. The rotation playlist cannot be deleted.
Inputs: station_id (required), playlist_id (required).
delete_trackC
Delete an own track from a station
Inputs: track_id (required), station_id (required).
delete_track_from_playlistB
Delete all occurrences of a track from a playlist
Inputs: track_id (required), station_id (required), playlist_id (required).
get_all_track_tagsA
Get all tags used across all tracks for a station
Inputs: station_id (required).
get_automation_algorithmB
View the definition of a specific automation algorithm
Inputs: name (required).
get_current_playlistA
Get the currently playing playlist and its tracks for a station
Inputs: station_id (required).
get_incomplete_tracksC
Get tracks with incomplete uploads for a station
Inputs: station_id (required).
get_listener_statsB
Get listener statistics for a station (current listeners, position, switchons log, TLH log)
Inputs: station_id (required).
get_live_connection_infoC
Get live streaming connection information for a station (server, port, mountpoint, bitrate, samplerate, format, etc.)
Inputs: station_id (required).
get_live_passwordB
Get the live streaming password for a station
Inputs: station_id (required).
get_playlistC
Get information for a single playlist including its entries
Inputs: station_id (required), playlist_id (required).
get_playlistsB
List all playlists for a station
Inputs: station_id (required).
get_playlist_tracksB
Get all tracks for a playlist (tracks are unique and not necessarily in playlist order)
Inputs: station_id (required), playlist_id (required).
get_queued_tracksC
Get tracks that are queued for processing for a station
Inputs: station_id (required).
get_scheduleC
Get the schedule for a station
Inputs: station_id (required).
get_server_statusA
Check the laut.fm Radioadmin API server status
Inputs: no named parameters.
get_stationB
Get detailed information about a specific station
Inputs: station_id (required).
get_station_stateB
Check if a station is active and playing on a streaming server
Inputs: station_id (required).
get_station_usersC
List all users of a station
Inputs: station_id (required).
get_tracks_by_idsC
Get track information for one or more track IDs (comma-separated list)
Inputs: track_ids (required), station_id (required).
get_track_statsC
Get current day track statistics (play time, listener count, live flag) for a station
Inputs: station_id (required).
get_track_stats_periodC
Get track statistics for a specific period. Use '24h' for the last 24 hours or a date in 'yyyy-mm-dd' format.
Inputs: period (required), station_id (required).
get_track_tags_for_idsC
Get tags for one or more specific tracks
Inputs: track_ids (required), station_id (required).
list_stationsA
List all stations accessible with the current token
Inputs: no named parameters.
remove_station_userC
Remove a user from a station
Inputs: user_id (required), station_id (required).
remove_track_tagsC
Remove tags from one or more tracks
Inputs: tags (required), track_ids (required), station_id (required).
search_tracksC
Search tracks for a station using various filters. Note: this endpoint is deprecated and will be replaced in a future version.
Inputs: station_id (required), own, type, album, +15 more.
update_automation_algorithmC
Update the function used by an existing automation algorithm
Inputs: body (required), name (required).
update_playlistC
Modify an existing playlist for a station
Inputs: station_id (required), playlist_id (required), color, title, +3 more.
update_scheduleA
Modify the schedule for a station. You cannot add an entry for the Base Playlist into entries. If you change the base_playlist_id, any entries containing that ID will be deleted.
Inputs: station_id (required), entries, base_playlist_id.
update_stationC
Update station information (description, format, djs, location, website, twitter_name, facebook_page, instagram_name, genres)
Inputs: station_id (required), djs, format, genres, +6 more.
update_station_user_roleC
Change the role of a user on a station
Inputs: role (required), user_id (required), station_id (required).
update_trackC
Update metadata for a track
Inputs: track_id (required), station_id (required), type, album, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
The tools are largely distinct, with clear resource+action separation across playlists, tracks, schedules, users, automation, and live info. A few pairs like get_track_stats/get_track_stats_period and get_all_track_tags/get_track_tags_for_ids could momentarily confuse, but descriptions disambiguate.
All names use snake_case with a verb_noun structure, which is highly predictable. Minor inconsistencies exist in verb choice: creation uses both add_ (add_playlist) and create_ (create_automation_algorithm), and deletion uses both remove_ (remove_station_user) and delete_ (delete_playlist).
With 40 tools, the surface is well beyond the recommended 3-15 range and likely increases cognitive load and misselection risk. Although the domain is broad, this count feels excessive for an MCP server.
The surface covers CRUD for playlists, tracks, automation, users, and schedules, plus live info and stats. Missing track creation/upload and station creation/deletion are notable gaps for full lifecycle coverage, though they may be outside the API scope.
Maintenance
Related MCP Connectors
The official MCP Server for the Mux API
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
MCP server for Producer/Riffusion AI music generation
MCP server for the Seline Analytics API
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for the Last.fm API that enables LLM agents to access music data including user profiles, listening history, top charts, search, and artist/album/track metadata.16MIT
- AlicenseBqualityDmaintenanceMCP server for the adm.tools / ukraine.com.ua hosting API, providing tools to manage hosting services, accounts, sites, and web apps.51MIT
- FlicenseAqualityDmaintenanceMCP server for KaboomKartell radio, enabling AI assistants to query live tracks, vote for songs, and access radio stats and schedule.15-
- AlicenseNot gradedqualityCmaintenanceMCP server that wraps the Radio Browser API to search radio stations, list countries, and discover genres. Enables AI agents to find and browse radio stations without authentication.284 npmMIT