Your coding agent knows your repo. It does not know your Mac. When it needs disk space it reaches for rm -rf. When you ask what is eating 80 GB it runs du and reads the output into the conversation, secrets included.
Room Service is an MCP server for Mac: built in, local, and off by default. Turn it on and your agent sees what Room Service sees, and acts only within the permissions you set.
What your agent can see and do
See what takes space, with risk labels. list_categories and get_category return the last scan with your excluded paths applied, each row marked safe, review, or risky.
Clean through the app, not the shell. clean_items runs scan paths through the Clean screen’s own selection rules. The default is Move to Trash, or Quarantine when you have it on. dry_run: true shows exactly what would go. It can also remove an agent worktree that is merged, clean, and idle for three days, one path at a time, and always asks for your Allow first.
Find and stop dev servers and stuck builds. list_ports, list_watchers, and list_processes show what is running. list_ports can also group servers by project. Each port carries agentOrigin when a coding agent such as Claude Code, Codex, Cursor’s agent, OpenCode, or Kilo Code started its process: the agent, whether it is still running, and when the process started, so an agent can tell which servers it left behind. stop_port, stop_watcher, and quit_process stop it the way the app’s Stop does. When the agent passes the PID it saw, stop_port checks the port’s owner again right before acting and stops nothing if a different process holds it now. With tree: true it stops the project’s whole server with everything it started, and never forces it.
See where a process came from. list_process_groups shows what runs by app or project, and process_details shows who started a process, its signature, and its ports and open files.
See your coding agent sessions. list_agent_sessions and get_agent_session list the agent sessions on your Mac and what each one started and left running, as the Agents screen shows them. ops_feed can show only what agents did.
See and stop containers. list_containers lists every local engine’s containers with their project, ports, and the agent session each was started during, and container_logs reads the last lines of one. stop_container, restart_container, start_container, and stop_compose_project sit under Quit processes, and compose_down under Permanent actions, which asks every time with every container and mount listed.
Read projects and Git state. get_project gives storage breakdowns, health findings, and live Git state. git_sweep reports uncommitted and unpushed work, and only reports.
How it works
Turn it on. Click Agent Access in the toolbar, or open Settings > Agents, and switch on “Allow agents to connect”. Until you do, agents get an error that says where to turn it on.
Add it to your agent. Settings > Agents writes the entry for Claude Code, Codex, or Cursor with one click. To add it by hand in Claude Code, run the command below. Any other agent can use
roomservice mcpas a stdio server.claude mcp add --scope user room-service -- roomservice mcpAllow the agent once. On its first tool call, Room Service shows the agent’s executable path and asks. Allowed agents sit in Settings > Agents, where you can remove one. When an allowed agent connects, you get a notification, which you can turn off there.
Ask your agent. “What is taking space on this Mac?” “Stop whatever is on port 3000.” “Dry-run a cleanup of Xcode build data.”
Step-by-step setup for each agent: Claude Code, Codex, and Cursor.
Safety: what it will and will not do
No network, and off until you turn it on. roomservice mcp relays between the agent and the app over an owner-only Unix socket at ~/.room-service-swift/mcp.sock. Every connection is checked against your user ID, and no TCP port is opened. While the app runs, the socket also lets the roomservice command ask you before a permanent action; with agents off, it answers nothing else.
Per-group permissions. Each group of tools has its own switch; off means those tools leave the agent’s list. When you turn the server on:
Every read group is on, except Sensitive project details.
Reversible actions are on and run when the agent asks: move to Trash or Quarantine, quit an app, stop a port or watcher, shut down a simulator.
Permanent actions are off: permanent delete, force quit, Docker prune.
Permanent actions ask you, and so does SIGTERM. Even when turned on, a permanent action opens a panel in Room Service naming the agent and what will happen, and runs only after you click Allow. It floats above other apps without taking focus, and Return never confirms it, so typing in the agent’s terminal cannot answer it. The agent waits up to two minutes; Deny or no answer means nothing happens. To skip repeat questions, you can allow that agent the same kind of action for 15 minutes, 1 hour, or this session. Docker prune, permanent recipes, and worktree removal always ask, every covered action is still logged, and Settings > Agents lets you revoke a grant. quit_process quits an app normally right away; any other process, a build, a server, a database, gets SIGTERM only after you allow it, because it cannot ask to save. That question lists what Room Service read about the process: its project, ports, memory, child processes, who is connected to it, and which agent session started it. Quitting a process that runs a coding agent session always asks, even while a grant is active. Deleting items that are already in the Trash needs the permanent actions group and your Allow too.
Agents are known by who signed them, not by name. Room Service remembers an allowed agent by the executable macOS reports and its code-signing Team ID, so another program cannot pass itself off as Claude Code by name or by path. For Node, Python, and other interpreters, the script is part of the identity too. After a Deny, the same agent is refused for five minutes.
Everything an agent changes is in the Ops Feed. Every action, and every Allow or Deny, is recorded under the name macOS reports for the agent, not a name it picks. Actions run through the same code as the app’s own buttons, with the same checks and history.
Developer Vault is never exposed, and project secrets are hidden by default. Vault has no scope, no tool reads, lists, or unlocks its items, health_check leaves it out, and no setting can change this. get_project and health_check also leave out credential file names (.env, signing keys), secret matches, and private key paths, and say how many were hidden, until you turn that group on in Settings > Agents.
Git Sweep is read-only, and some things never happen. There is no tool to commit, push, stash, or discard anything. An agent’s own processes are never quit. macOS components, Room Service itself, and Apple’s startup items are never touched.
Free vs Pro
Reading is free, as in the app, and that now includes the Projects tools, list_projects and get_project. Scans, simulators, recipe drafts, and every dry run are free too. Pro is needed for what needs Pro in the app: sensitive project details, real cleanup, quitting processes, uninstalling apps, running recipes, and every permanent action. Without Pro those tools are not offered to agents.
