docs · mcp · alpha
Your AI assistant, on your speakers
Quak's MCP server lets an AI assistant make announcements on your Sonos. You ask in plain words, it plays a text, a sound or one of your clips. Every announcement costs credits like any other and shows up in your history.
Before you start
- A Quak account with Sonos connected in the web app.
- Credits in the workspace the assistant should play in.
https://api.quak.party/mcpConnect your assistant
The same address for every client. You sign in to Quak in the browser and pick the workspace; no key needed.
Open chatgpt.com/plugins and click “+”.
Choose “Add custom MCP server”.
Fill in:
NameQuakURLhttps://api.quak.party/mcpAuthenticationOAuthConfirm the warning with “I understand and want to continue”, then “Create as a plugin”.
Sign in to Quak in the window that opens and pick the workspace.
Which ChatGPT plans can add their own MCP servers is up to OpenAI.
Try it
Name one of your rooms instead of the kitchen.
Source: OpenAI: Connect from ChatGPT
In Claude.ai or Claude Desktop: Settings → Connectors → “Add custom connector”.
Enter the URL and click “Add”:
URLhttps://api.quak.party/mcpConnect it, sign in to Quak and pick the workspace.
In a chat, turn Quak on under “+”.
On a Team or Enterprise plan an owner adds the connector first, under Admin settings → Connectors.
Try it
Name one of your rooms instead of the kitchen.
Source: Claude: Custom connectors
Add the server in a terminal (--scope user: available in all your projects, not just this folder):
claude mcp add --scope user --transport http quak https://api.quak.party/mcpThen run this in Claude Code, pick quak and sign in to Quak in the browser:
Try it
Name one of your rooms instead of the kitchen.
Advanced: with an API key
Without a browser, with a key from Settings → API keys:
claude mcp add --scope user --transport http quak https://api.quak.party/mcp \
--header "Authorization: Bearer qk_key_…"Add the server and sign in, in a terminal:
codex mcp add quak --url https://api.quak.party/mcp
codex mcp login quakThe login opens the Quak sign-in in the browser. In the Codex app or the IDE extension, choose “Authenticate” after adding the server.
Try it
Name one of your rooms instead of the kitchen.
Advanced: with an API key
Without a browser, with a key from Settings → API keys in the environment variable QUAK_API_KEY:
codex mcp add quak --url https://api.quak.party/mcp --bearer-token-env-var QUAK_API_KEYSource: OpenAI: Codex and MCP
Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"quak": { "url": "https://api.quak.party/mcp" }
}
}Cursor opens the Quak sign-in in the browser when it connects.
Try it
Name one of your rooms instead of the kitchen.
Advanced: with an API key
Without a browser, with a key from Settings → API keys:
{
"mcpServers": {
"quak": {
"url": "https://api.quak.party/mcp",
"headers": { "Authorization": "Bearer qk_key_…" }
}
}
}Source: Cursor: MCP
Add the server in a terminal (-s user: for all your projects, not just this one):
gemini mcp add --transport http -s user quak https://api.quak.party/mcpIn Gemini CLI, run this and sign in to Quak in the browser; /mcp shows whether it's connected:
Try it
Name one of your rooms instead of the kitchen.
Advanced: with an API key
Without a browser, with a key from Settings → API keys:
gemini mcp add --transport http -s user quak https://api.quak.party/mcp \
--header "Authorization: Bearer qk_key_…"Source: Gemini CLI: MCP servers
Add a remote server:
TransportStreamable HTTPURLhttps://api.quak.party/mcpSign-in: OAuth 2.1. The client finds everything it needs from the server's 401 answer (protected resource metadata; a client ID metadata document or dynamic client registration).
Try it
Name one of your rooms instead of the kitchen.
Advanced: with an API key
Agents without a browser (OpenAI Responses API, Anthropic's MCP connector, n8n, CI) send a key from Settings → API keys instead:
Authorization: Bearer qk_key_…Access
An assistant you sign in with OAuth plays announcements and keeps clips (key level create). It can't change settings, people or keys. It works in the one workspace you picked when signing in; for another workspace, connect it once more.
You see and end these connections under Your profile → Logins.
A key from Settings → API keys (the advanced way) belongs to its workspace: play only plays, create also keeps clips. Make one key per assistant, so you can end it on its own.
Let your AI agent call you
One idea for people who work with coding agents: Claude Code, Codex or Cursor call you over your speakers when they're done with a longer task or need a decision. It's just one example, the MCP server makes any announcement your assistant is asked for.
The call can say a text, the nicest one, which says what it's about but costs the most and takes a moment to make. Or it plays one of your own clips, or a sound from the list: both start right away and cost less. Put a few lines like these in the agent's rules file:
- Claude Code:
~/.claude/CLAUDE.md - Codex and others:
AGENTS.md - Cursor: a rule under Cursor Settings → Rules
## Call me with Quak when you need me
When you finish a longer task or need a decision and I'm not in the chat, call me via
the Quak MCP (play_text). Not for every reply, at most one call per task.
1. Only when I'm at home: work out how to check on this computer whether it is on my
home network (for example by its router), ask me once to confirm what counts as home,
and remember it. If the check fails, don't call.
2. Short and speakable, project first: "my-app: the migration is done, I need a review."
3. First to: ["<room>"], volume: 20.
4. No reaction after about 3 minutes: replay it to ["<room>", "<room>"]. Then stop.
5. Never use ignoreQuietHours.With your own rooms, clips and sounds, ready to copy:
Log in to fill in your own rooms, clips and sounds.
This is an instruction to the agent, not a fixed hook: it decides when to call, and may forget. Every call costs credits like any other announcement, and quiet hours apply. The line about being at home needs an agent that can run commands (Claude Code, Codex, Cursor); in chat apps like ChatGPT or Claude.ai leave it out.
Tools
| Play | |
|---|---|
| play_text | Speak a text, with voice, voice effect, ambience, speakers and volume |
| play_sound | Play a built-in sound |
| play_clip | Play one of your clips |
| play_url | Play an audio URL |
| replay | Play an earlier announcement from the history again, also on other speakers |
| stop | Stop whatever plays, or with a play id just that one, also a scheduled one before it starts |
| Find and manage | |
| find_sounds | Find sounds by words: name, description, keywords, tags |
| list_speakers | Where it can play: all speakers, locations, groups, rooms |
| list_voices | Voices of a language, the fastest first |
| list_effects | Voice effects and ambiences, each with a short description |
| list_clips | Your own clips |
| list_plays | The latest plays, with the id for replay and save_clip |
| get_credits | Your credits: total, from the plan and one-time, and whether they run low |
| sync_speakers | Load speakers, rooms and groups again from Sonos |
| save_clip | Keep an earlier announcement as your own clip |
The tools call the same API as every client, with the same checks, credits and limits. Your default speakers and your plan's effects apply as always. Plays from an assistant show up in the history as sent via MCP.
The four play tools also take a voice effect and an ambience (only when you ask for one), an intro and outro (a sound, one of your clips or none), the volume and a start in up to 60 seconds. Sounds and clips play as they are; with an intro, outro, effect or ambience they are mixed, with just what you asked for. Quiet hours apply unless you ask the assistant to play anyway; replay takes the start and the quiet hours too.
A preview only makes the audio and gives a link to listen to it in the chat, nothing plays on the speakers. Handy to compare effects before the real thing: “Let me hear my clip front-door with the robot effect first.”