Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"sonos-mcp-server": {
"args": [
"-y",
"supergateway"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This project is a Sonos MCP (Model Context Protocol) server that allows you to control and interact with Sonos devices on your network. It provides various functionalities such as discovering devices, controlling playback, retrieving device states, and managing queues.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'supergateway' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked supergateway against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in entertainment
The official MCP Server for the Mux API
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, animation, MPPM multiplayer & more. Free & open source by AnkleBreaker Studio.
A Model Context Protocol (MCP) server that gives Claude direct control over Strudel.cc for AI-assisted music generation and live coding.
MCP Security Weekly
Get CVE alerts and security updates for Sonos Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
This project is a Sonos MCP (Model Context Protocol) server that allows you to control and interact with Sonos devices on your network. It provides various functionalities such as discovering devices, controlling playback, retrieving device states, and managing queues.
uv for managing Python projectsClone the repository:
git clone https://github.com/WinstonFassett/sonos-mcp-server.git
cd sonos-mcp-server
Install the required dependencies using uv:
uv sync
Run the server using stdio:
uv run mcp run server.py
Run the server with SSE using the supergateway tool:
npx -y supergateway --port 8000 --stdio "uv run mcp run server.py"
Alternatively, you can use the convenience script provided in the repository:
./npx-serve-sse-8000.sh
To run the server in "development" mode with the MCP Inspector:
uv run mcp dev server.py
This command hosts an MCP Inspector for testing and debugging purposes.
To run the server with SSE in development mode, use the SSE command for supergateway, and in a second terminal windor run:
npx @modelcontextprotocol/inspector
Use the exposed MCP tools to interact with Sonos devices. The available tools include:
get_all_device_states: Retrieve the state information for all discovered Sonos devices.now_playing: Retrieve information about currently playing tracks on all Sonos devices.get_device_state: Retrieve the state information for a specific Sonos device.pause, stop, play: Control playback on a Sonos device.next, previous: Skip tracks on a Sonos device.get_queue, get_queue_length: Manage the playback queue for a Sonos device.mode: Get or set the play mode of a Sonos device.partymode: Enable party mode on the current Sonos device.speaker_info: Retrieve speaker information for a Sonos device.get_current_track_info: Retrieve current track information for a Sonos device.volume: Get or set the volume of a Sonos device.skip, play_index, remove_index_from_queue: Manage tracks in the queue for a Sonos device.This project is licensed under the MIT License. See the LICENSE file for details.