Sonos Mcp

by castbreeze

266 downloads
Not rated
GitHub

About

MCP server for controlling Sonos speakers and playing audio streams.

Details

Author
castbreeze
Downloads
266
Categories
Other

- Controls Sonos speakers via MCP
- Plays audio streams on Sonos devices

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Sonos Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

start_login

Start OAuth login flow. Opens browser for user to authorize. IMPORTANT: After calling this tool, you MUST wait for the user to complete authorization in their browser. The user will provide you with an authorization code, which you must then use with the finish_login tool.

finish_login

Complete OAuth login by exchanging authorization code for access tokens. IMPORTANT: Only call this tool after the user has completed authorization in their browser and provided you with the authorization code from the callback page.

get_groups

Get all speaker groups and players. Requires authentication.

play_default_chime

Play default chime sound. Requires authentication.

play_audio_clip

Play an audio clip on a Sonos player using the extended audioClip endpoint. Supports MP3 and WAV files from a URL or local file path. The file parameter accepts both URLs and local file paths. Requires authentication.

play_radio

Plays a URI on repeat. Requires authentication.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sonos mcp": {
            "castbreeze-sonos": {
                "command": "npx",
                "args": [
                    "-y",
                    "@castbreeze/sonos-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "castbreeze-sonos": {
        "command": "npx",
        "args": [
            "-y",
            "@castbreeze/sonos-mcp"
        ]
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.