AI agentsPRO
Your AI agent can run the servers too.
A made-up session. The portroom calls are Portroom’s real tools; the file edit is the agent’s own.
- One command to connectThe same program for every tool: portroom mcp, inside Portroom.app.
- You see what it doesMCP lights up in the top bar while an agent is connected, with its last call.
- MCP can’t change what runsThrough MCP, folders, start commands and variables stay yours to change.
The agent asks. Portroom does it, and answers.
- 01Your agentRuns portroom mcp when it starts, as a small helper program on your Mac. Nothing to keep running yourself.
- 02portroom mcpPasses each call to the Portroom app over a local socket. Read-only calls work even while the app is closed.
- 03PortroomStarts, stops and reads servers exactly as its own window does, so you and the agent always see the same state.
No server in the cloud and no account: the agent and Portroom talk on this Mac. What the agent then does with a log is up to the agent and its settings.
Setup
Connect your
agent in one line.
portroom mcp inside Portroom.app. Only the way to add it differs. Settings ▸ MCP in the app has these commands with a copy button.Run this once in Terminal.
claude mcp add portroom --scope user -- /Applications/ Portroom.app/ Contents/ Resources/ portroom mcpWho’s connected
While an agent is connected, MCP lights up in Portroom’s top bar. Settings ▸ MCP names the agent and its last call, and turns MCP off.
Works with the agent you use
- Claude Code
- Cursor
- VS Code Copilot
- Windsurf
- Zed
- Codex
- Gemini CLI
- Cline
- JetBrains AI
Any tool that can run a local MCP server connects the same way.
Names and logos belong to their owners and only show what Portroom works with.
What an agent can call.
list_projects · project_statusEvery project with its status, port and URLs, running or not. One project with its PID and last error.
start_project · stop_project · restart_projectStarts a server and waits until it listens, or says why it didn’t: a taken port, a missing tool, a crash.
project_errorsThe run’s errors picked out of the log, with stack traces, 5xx responses and why it crashed.
project_logsThe last lines of a project’s log, up to 1000 of them, for anything the errors don’t explain.
add_projectAdds a project folder. Portroom picks the start command, as New project does, not the agent.
update_projectRenames a project, gives it a new slug or edits its notes. Not its folder, command or variables.
Boundaries
Through MCP, an agent starts and stops your servers.
What a project runs is decided by its folder, its start command and its variables. Those stay yours: through MCP an agent can start and stop a project, but not change what starting it does. These are the MCP tools’ limits. An agent you let run Terminal commands can also run the portroom command line, which can, like anything else you allow it in Terminal.
Through MCP
An agent can
- List projects, their ports and URLs
- Start, stop and restart them
- Read the errors and the log
- Add a folder; Portroom picks the command
- Rename a project, edit its notes
Through MCP
It can’t
- Change a folder, command or variables
- Choose the start command
- Remove a project
- Kill a stray process, or whatever holds a port
- Read a log outside Portroom’s folder
What a server prints reaches the agent marked as the server’s output, not as instructions. A project an agent added says so in its log and in a message in the window. Turn MCP off in Settings ▸ MCP, and every call gets an error instead.
What to ask it.
Why does harbor-hotel return 500 on /checkout?
- project_errors
The stack trace and the failing requests. The agent reads the code and fixes it.
Start the shop and the API, then open the shop.
- start_project
- start_project
- list_projects
Each start waits for its port; the pretty URL comes from the list.
I changed the env. Restart ledgerly and check it.
- restart_project
- project_status
Running, or the reason it isn’t.
Add the project in ~/Developer/atlas-docs.
- add_project
Portroom picks the command, and the window says the agent added it.
What’s running right now, and on which ports?
- list_projects
Every project with its status, its port and its URLs.
Blank page, no errors. What does the server say?
- project_errors
- project_logs
No errors this run, so it reads the last lines of the log.
Stop everything but the API, I need the memory.
- list_projects
- stop_project
It stops the others one by one. A stray server it can’t touch.
Rename summit-roofing, and note it needs Node 20.
- update_project
A new name and a note. Its command stays as it was.
The same from Terminal or a script.
portroom command lives inside the app. It asks the running app, so the window and the terminal always agree.$ portroom list- Every project and whether it runs
$ portroom status <slug>- One project as JSON: port, URLs, PID, last error
$ portroom start <slug>- Starts it and waits until it listens
$ portroom stop <slug>- Stops it, even while it’s still starting
$ portroom restart <slug>- Stops it and starts it again
$ portroom logs <slug> -n 50- The last lines of its log
$ portroom add <slug> <name> <folder> [cmd]- Adds a project; {port} in the command becomes its port
$ portroom edit <slug> --name …- Changes name, slug, notes, folder or command
$ portroom json- Everything as JSON, for scripts
Type just portroom
Link it into your PATH once. The setup offers to do it for you; uninstalling takes the link back.
ln -s /Applications/Portroom.app/ Contents/ Resources/ portroom /opt/ homebrew/ bin/ portroom
start, stop, restart, add and edit open Portroom in the background if it’s closed. list, json and status only look.


Settings ▸ MCP: the switch, who’s connected and their last call, and the command for each tool.
What to read next
Let your agent run the servers.
MCP and the command line are in Pro: 14 days to try, then $49 once.