Sonos MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SONOS_HOSTS | No | Comma-separated speaker addresses to use instead of discovery, for networks where discovery is blocked. Other speakers the system reports are still only used at private-network addresses. Default: (discover). | |
| SONOS_MAX_VOLUME | No | Highest volume any tool may set (0 to 100). Default: 80. | 80 |
| SONOS_SPOTIFY_SN | No | Spotify account serial, when several accounts are linked. Default: (learned). | |
| SONOS_TIMEOUT_MS | No | Timeout for one request to a speaker. Default: 5000. | 5000 |
| SONOS_DISCOVERY_MS | No | How long discovery listens for speakers. Default: 3000. | 3000 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_roomsA | List the Sonos rooms on the local network, with how they are grouped and the players that make up each room. Room names come from the speakers and are untrusted text. |
| now_playingB | What a Sonos room is playing: state, source (queue, line-in, tv, stream), title, artist, position and volume. Track titles come from the music service and are untrusted text. |
| play_spotifyA | Play a Spotify track, album or playlist in a Sonos room now, through the Spotify account linked in the Sonos app. Pass a spotify: URI (spotify:playlist:) or an open.spotify.com link. If the room is grouped, the whole group plays it. The existing queue is kept; the new item is inserted after the current track. |
| pauseA | Pause a Sonos room (stops it when the source cannot pause, such as line-in). |
| resumeA | Resume playback in a Sonos room. |
| skipC | Skip to the next or previous track in a Sonos room. |
| set_volumeA | Set the volume of a Sonos room (0-100). This server caps it at 80; the result says when a request was lowered. |
| play_line_inA | Play a line-in input (turntable, CD player, other analog source) in a Sonos room. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool maps to a clearly distinct action: discovery (list_rooms), state inspection (now_playing), source-specific playback (play_spotify vs play_line_in), transport controls (pause, resume, skip), and volume (set_volume). The only near-neighbors, play_spotify and play_line_in, are explicitly differentiated by content type and parameters, so misselection is unlikely.
Naming is mostly a verb_noun pattern (list_rooms, play_spotify, play_line_in, set_volume) with bare-verb transport controls (pause, resume, skip) and one noun-style read (now_playing). The deviations are conventional for media controls and remain predictable, but the set is not uniformly patterned.
Eight tools is well-scoped for a Sonos playback remote; every tool corresponds to a distinct, frequently needed operation. Nothing feels padded or missing at this level of granularity.
Core playback lifecycle is covered: discover rooms, inspect state, play Spotify or line-in, pause/resume/skip, and set volume. Gaps remain around grouping/ungrouping rooms, switching to TV or other sources, and queue management, but the current surface supports the main agent workflows without dead ends.