Documentation

MCP tools and permissions

Let your agents do in Rundesk what you do in the window, within the permissions you set.

View Markdown

Ask an agent to open a second agent to review its work, start the project's dev server or set up a schedule, and watch it happen in the window. Rundesk's own MCP (Model Context Protocol) server, rundesk-app, gives an agent the actions you have in the window, under the same rules, and what the agent does shows there at once. You choose what agents may do with it, with the switches in Settings › MCP; Claude Code and Codex don't ask you first, so those switches are your only limit.

Which agents get Rundesk's MCP server

Rundesk adds the server when it launches Claude Code, Codex or OpenCode: on the command line, or for OpenCode in a variable its CLI reads, so their own configuration is not changed. Connect in Settings › Agents adds rundesk-app entries to the configuration of the other built-in agents, and Disconnect removes them.

Agent CLIHow the server is added
Claude Code, Codex, OpenCodeadded when Rundesk launches it
Grok, Antigravity, Kimi Codefrom their own configuration, once you connect them in Settings › Agents
A custom agentfrom its CLI's own MCP servers, where you add the command its edit dialog shows

Every agent that starts the server receives Rundesk's short instructions: what Rundesk holds, the rules that always hold, and a guide tool that explains each part of Rundesk before the agent first works with it. Its pages topic, for one, tells an agent that the sheets in a project's pages folder are your own writing, never docs to cite or check.

What agents can do with Rundesk's tools

The rundesk-app server has 84 tools, grouped by the part of Rundesk they act on.

AreaActions
Workspaces and projectslist, create, edit and remove them
Commands and processeslist, start, stop and restart a project's commands, read their output, stop a process
Agents and sessionsopen, resume, rename, stop and close agents and terminals, and read their screens
Messagessend a message to another agent and wait for its answer
Notesread and update the agent's own note, ending each read with its open tasks, and a schedule's shared note
Saved terminalsread a saved terminal's notes, and type a line into one
Schedulescreate, change, run and delete schedules
Secretsask you for a key in Rundesk, and let an agent's scripts use one
Integrationsadd, test and sign in the MCP servers you connect
Skills and subagentswrite the skill and subagent library, add skills to a project, set them global
Docscheck a project's docs for uncited sentences, broken links and other problems
Pagesread your manuscript in its order, make a new sheet in it, move a sheet or folder within its folder, and check it for problems

Removing, deleting or closing something always takes an explicit confirmation in the call, and Rundesk's instructions tell agents to do it only when you asked.

Choose what agents may do

Claude Code and Codex don't ask you before they call Rundesk's tools, because Rundesk approves them in advance, so the switches in Settings › MCP are how you limit what agents may do. An agent's confirmation in a call is its own check, not your consent.

Three switches decide which agents get the server, and all three are on by default:

  • Rundesk MCP server switches the server on or off for every agent.
  • Agents outside Rundesk decides whether agents Rundesk did not launch may use it.
  • Use Rundesk MCP server switches the server for one agent, in the dialog that opens from Edit on its row in Settings › Agents.

Under What agents may do, each group has one switch per kind of action, such as Projects: Remove, Agents: Send messages or Saved terminals: Type commands.

When an agent tries something you switched off, it is refused with a message naming the switch, for example "Saved terminals: Type commands". Rundesk's instructions tell agents to name that switch to you, never to work around it.

A switch for one kind of action applies from an agent's next call. The server and per-agent switches apply only to agents started or resumed after the change.

A few tools need no switch, so an agent that may use the server can find its way even with every action switched off: whoami, guide, session_list and an agent's own notes.

Use Rundesk's tools from an agent outside Rundesk

You can give rundesk-app's tools to an agent you run outside Rundesk, such as Claude Code in another terminal app.

  1. Open Settings › MCP.
  2. Copy the command shown for Claude Code, or the program and argument shown for any other CLI.
  3. Add it to that agent's MCP servers, as its CLI describes.

Rundesk doesn't add this for you. A Grok, Antigravity or Kimi Code you connected already has it, so it gets the tools wherever you run it.

An agent outside Rundesk has no project of its own, so it names the project on each project tool. It cannot ask you for a secret, read one, or use integrations; those stay with agents Rundesk launched. Rundesk must be open for its calls to work.

To shut every outside agent out at once, switch off Agents outside Rundesk.