Sonos MCP Server logo

Sonos MCP Server

by WinstonFassett

The Sonos MCP Server allows you to control and interact with Sonos devices on your network. It provides functionalities for device discovery, playback control, state retrieval, and queue management.

View on GitHub

Last updated: N/A

What is Sonos MCP Server?

This is a Sonos MCP (Model Context Protocol) server that enables control and interaction with Sonos devices. It exposes functionalities as MCP tools.

How to use Sonos MCP Server?

To use the server, first clone the repository and install the dependencies using uv. Then, run the server using either stdio or SSE with Supergateway. Interact with Sonos devices using the available MCP tools.

Key features of Sonos MCP Server

  • Discover Sonos devices on the network

  • Retrieve and control playback state for devices

  • Manage playback queues

  • Expose functionalities as MCP tools

Use cases of Sonos MCP Server

  • Controlling Sonos playback from a custom application

  • Integrating Sonos devices into a home automation system

  • Retrieving Sonos device states for monitoring

  • Managing Sonos queues programmatically

FAQ from Sonos MCP Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for interacting with devices.

What is uv?

uv is a tool for managing Python projects and dependencies.

How do I discover Sonos devices?

The server automatically discovers Sonos devices on the network.

What playback controls are available?

The server provides controls for pause, stop, play, next, and previous.

How can I manage the playback queue?

You can use the get_queue, get_queue_length, skip, play_index, and remove_index_from_queue tools to manage the queue.