sonora-mcp

sonora-mcp

MCP server that wraps the Multiroom Audio Hub v2 REST API, providing 24 tools to control multiroom audio systems. Enables AI assistants to manage inputs, outputs, groups, routes, playback, and master mute.

Category
Visit Server

README

sonora-mcp

MCP server that wraps the Multiroom Audio Hub v2 REST API as 24 MCP tools. Any AI assistant that supports MCP can connect to this server via a URL and control your multiroom audio system.

Architecture

AI Assistant (Copilot, Claude, etc.)
       │
       ▼  (MCP protocol over HTTP)
┌──────────────────────┐
│  sonora-mcp server   │  port 3001
│  (Node.js/TypeScript)│
└──────────┬───────────┘
           │  HTTP REST calls
           ▼
┌──────────────────────┐
│  multiroom-ai REST   │  port 8088
│  (Spring Boot)       │
└──────────────────────┘

Quick Start

Build

npm install
npm run build

Run

# Start the MCP server, pointing at your Multiroom API
node dist/server.js --multiroom-url http://localhost:8088

Development

npm run dev -- --multiroom-url http://localhost:8088

CLI Arguments

Argument Required Default Description
--multiroom-url <url> Yes Base URL of the Multiroom Audio REST API (e.g. http://localhost:8088)
--port <port> No 3001 Port for the MCP server
-h, --help No Show usage help

The server will not start without --multiroom-url. If you omit it, you'll see a usage message and exit.

Connecting AI Assistants

MCP Inspector (testing)

npx @modelcontextprotocol/inspector

Connect to: http://localhost:3001/mcp

GitHub Copilot (VS Code)

Add to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "sonora-mcp": {
        "type": "http",
        "url": "http://localhost:3001/mcp"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "sonora-mcp": {
      "type": "streamableHttp",
      "url": "http://localhost:3001/mcp"
    }
  }
}

Available Tools (24)

Inputs (5)

Tool Description
listInputs List all audio inputs
getInput Get a single input by ID
createInput Create a new ephemeral audio input
deleteInput Delete an ephemeral audio input
setInputEnabled Enable or disable an audio input

Outputs (5)

Tool Description
listOutputs List all audio outputs
getOutput Get a single output by ID
setOutputVolume Set output volume (0–100)
setOutputMute Mute or unmute an output
setOutputEnabled Enable or disable an output

Groups (5)

Tool Description
listGroups List all audio output groups
getGroup Get a single group by ID
setGroupVolume Set volume for all outputs in a group
setGroupMute Mute or unmute all outputs in a group
setGroupEnabled Enable or disable a group

Routes (6)

Tool Description
listRoutes List all active audio routes
getRoute Get a single route by ID
createRoute Create a new audio route (input → output/group)
deleteRoute Stop and delete a route
transferRoute Transfer a route to a new output/group
setRoutePause Pause or resume a route

Playback (1)

Tool Description
playback Play audio from a URI (auto-creates input + route)

Master Mute (2)

Tool Description
getMasterMute Get system-wide master mute state
setMasterMute Set system-wide master mute

Health Check

curl http://localhost:3001/health
# → {"status":"ok","server":"sonora-mcp","version":"1.0.0"}

Tech Stack

  • Runtime: Node.js 18+
  • Language: TypeScript
  • MCP SDK: @modelcontextprotocol/sdk (v1.30+)
  • Transport: Streamable HTTP (stateless)
  • HTTP: Express 5
  • Schema validation: Zod

License

AGPL-3.0

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured