Controls Sonos devices over a local network, including playback, groups, queues, libraries, alarms, and real-time state events.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Sonos Ts MCP.
sonos_agentAI-powered natural language control. Give instructions like "Play jazz in the living room" and the agent autonomously handles device discovery, tool selection, and execution. Only available when `OPENAI_API_KEY` or `GOOGLE_GENERATIVE_AI_API_KEY` is configured. See [Agent Tool Documentation](./docs/โฆ
sonos_discoverDiscover Sonos devices on the network using SSDP multicast
sonos_add_deviceManually add a Sonos device by IP address (useful when SSDP discovery fails)
sonos_list_devicesList all discovered/registered devices
sonos_playStart playback
sonos_pausePause playback
The Tommertom/sonos-ts-mcp MCP server gives MCP-compatible clients access to Sonos systems on a local network. It is implemented in TypeScript and communicates directly with Sonos devices through UPnP and SOAP rather than depending on an external Sonos library.
Its tools cover the main operational areas of a Sonos installation:
The repository also describes support for alarms, sleep timers, audio and EQ controls, snapshots and restoration, fuzzy library search, and real-time notifications for playback, volume, queue, and topology changes.
The server runs locally and uses standard MCP stdio transport. Sonos devices are located through SSDP multicast, with manual IP registration available as a fallback. Device topology is persisted to disk and loaded when the process starts; discovery also runs automatically at startup and periodically afterward.
Tools can resolve devices by friendly names such as a room name instead of requiring a UUID. UPnP GENA event subscriptions provide updates when supported Sonos state changes occur. The server exposes MCP prompts as well as tools for clients that support them.
The optional sonos_agent tool accepts natural-language requests, selects the relevant Sonos operations, and executes them. That tool is enabled only when OPENAI_API_KEY or GOOGLE_GENERATIVE_AI_API_KEY is configured, so ordinary device-control tools do not require those provider credentials.
Install the Tommertom/sonos-ts-mcp MCP server through npm and register it as a stdio server in the MCP client. The repository provides configurations for Claude Desktop, Cline, Cursor, Windsurf, and Visual Studio Code Copilot. The core configuration uses npx -y sonos-ts-mcp@latest.
The client process must be able to reach the Sonos speakers on the same local network or on a network that permits the required discovery and device traffic. If multicast discovery is unavailable, use the manual device-add tool with a speaker IP address.
The natural-language agent has separate model configuration. OPENAI_API_KEY enables OpenAI models, GOOGLE_GENERATIVE_AI_API_KEY enables Gemini models, and SONOS_AGENT_MODEL can select a default model. These settings apply to the agent feature, not to basic Sonos controls.
The published tool set includes more than 50 operations. Representative groups include:
sonos_discover, sonos_add_device, and sonos_list_devices.sonos_agent natural-language tool.These capabilities fit room-based playback automation, multi-room synchronization, queue workflows, and assistant-driven audio status checks.
The server depends on local network access to Sonos devices and on UPnP/SOAP communication. SSDP discovery may fail on networks that block multicast; manual IP registration is provided for that case.
Music-service integrations such as Spotify and Apple Music are listed as planned work rather than current functionality. Advanced group features, audio diagnostics, and MCP event-tool integration are also listed for later phases. The natural-language agent additionally depends on a supported external AI provider key, while direct Sonos tools do not.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tommertom-sonos-ts-mcp)<a href="https://allmcps.com/mcp/tommertom-sonos-ts-mcp"><img src="https://allmcps.com/api/badge/tommertom-sonos-ts-mcp?style=directory" alt="Sonos Ts MCP on AllMCPs" /></a>