Skip to content

MCP Overview

MZAP includes a built-in Model Context Protocol (MCP) server that enables AI assistants to control audio playback, routing, and system configuration via natural language.

MCP is an open protocol that allows AI models to interact with external tools and data sources. MZAP implements an MCP server with a Streamable HTTP transport, accessible at the /mcp endpoint.

The MCP server exposes 11 tool groups:

Tool GroupDescription
PlaybackPlay, pause, stop, seek, load tracks
VolumeAdjust player and zone volumes
RoutingAttach/detach players to zones
SystemInitialize devices, health check
Player ManagementCreate/remove players
PlaylistsList, create, modify playlists
DSPAdjust EQ and compressor settings
WorkspacesSave, load, list workspaces
JinglesPlay jingles with ducking
LibrarySearch media library
RadioLoad internet radio streams

MCP access is gated by a license feature flag (Bit 0). It can be bypassed for development using the --enable-mcp CLI flag.

Connect any MCP-compatible AI client to:

http://localhost:5000/mcp

The server uses Streamable HTTP transport and supports session tracking for concurrent connections.