# Integrations

Connect an outside service's MCP server once, and give it to the agents of the projects that need it, with its key sealed away from them.

An integration gives your agents a hosting service, a tracker or a database tool without handing them its key. You connect the service's MCP server, the program a service offers so an agent can use it, once, in **Settings › Integrations**, and the agents of each project that needs it can use it, with your instructions for how.

The key is sealed inside Rundesk and never reaches an agent.

## Add an integration

1. Open **Settings › Integrations** and choose **New integration**.
2. Give it a name: lowercase letters, digits and hyphens, starting with a letter and not ending with a hyphen, up to 40 characters. The name is how agents see the server.
3. Give either the server's URL, for a server on the network, or a command Rundesk runs on this computer, such as `npx -y …`.
4. Add its key, sign-in or variables, as below, and save.

A new integration starts switched on; the switch in its row turns it off and on.

> [!TIP]
> If the service gives you an `mcpServers` JSON snippet, paste it into the dialog to fill it in.

Once an integration is saved and switched on, Rundesk tries it straight away: it starts the browser sign-in when one is needed, or tests the connection. **Test connection** shows `Connected · N tools` when it works.

Two accounts of one service are two integrations, each with its own name.

## Sign in to the service

A server at a URL signs in with a key or through your browser. A command server takes environment variables.

| Sign-in method | Input |
|---|---|
| Key | the key, sent as the bearer token; optional, since a local server often needs none |
| Headers | any header the server asks for, one per line as `Name: value` |
| **Browser (OAuth)** | nothing to paste: saving opens the sign-in page in your browser |
| Variables | for a command server, one per line as `NAME=value` |

With a browser sign-in, the row shows **Connect** until it is signed in and **Reconnect** after. Finish signing in within five minutes, or choose **Cancel**. Rundesk stores the tokens and refreshes them as they expire.

A command can name a variable as `${NAME}`, filled in when the server starts, so a password the server takes as an argument stays out of the command.

Use `https://` for a server outside your computer and private network, and leave keys out of the address: the address is stored unsealed.

Changing an integration's address, command or way of signing in removes its stored secret, so a key is never sent somewhere you did not give it for.

Each row shows what is stored, such as **Key stored**, **Signed in** or **Not connected**, and its menu can remove it again.

## Give an integration to a project's agents

An agent gets an integration only through a skill linked to it, so every agent that can use the service also has your instructions for using it.

1. Link one or more skills to the integration. When you edit an integration, Rundesk offers a starter skill, `using-<name>`, to write those instructions in.
2. Add a linked skill to a project, or set it global, as [Skills](/docs/skills.md) describes.

The project's agents get the integration when one of its linked skills is in the project or set global, and the integration is switched on. A skill that gives an integration is marked `Integration: <name>` in **Settings › Skills**, and `MCP` in the project's Skills section.

The row warns you when it reaches no one yet: `No skill gives it yet`, or `Given by <skill>, which no project has yet`.

> [!NOTE]
> Claude Code, Codex and OpenCode take integrations; Grok, Antigravity and Kimi Code do not. Integrations also need skills switched on and the Rundesk MCP server on, as [MCP tools and permissions](/docs/mcp.md) describes.

Agents started after you link a skill get the integration; agents already running do not. Switching an integration off, unlinking its skill or deleting it takes it from running agents at once. Rundesk's own tools are approved in advance; an integration's tools are not, so the agent asks before it uses one whenever you set that agent to ask.

## Run a server on this computer

For an integration set up as a command, Rundesk runs the program itself, one copy for each agent using it, in that agent's project folder. Its variables reach the program, never the agent. Rundesk stops each one when its agent ends and when you quit.

If one does not start, **Test connection** shows why.

## The vault that seals every secret

Integrations are where you first meet the vault, but every secret Rundesk holds is sealed there: integration keys, sign-ins, headers and variables, GitHub tokens for private skill packages, and the keys your agents' scripts need. A secret is never logged, never shown again in the window, and never seen by an agent.

The vault key lives in your system's credential store: the Keychain on macOS, the Credential Manager on Windows. A backup file alone reveals nothing.

**Show recovery key**, in **Settings › Integrations**, shows the vault key as 64 hex digits. Save it somewhere safe: if you restore a backup on another computer, its secrets show as `Locked` until you choose **Unlock with a recovery key** and enter the old computer's recovery key.

When an agent needs a secret, it asks you in a panel beside its terminal, with **Save to vault** and **Decline**. Secrets stored for scripts are listed under **Secrets for scripts**, by name and project, each one to delete.

Deleting an integration deletes its key, headers, variables or sign-in too.

## Related pages

- [Skills](/docs/skills.md): write the skill that gives an integration, and add it to a project or set it global.
- [MCP tools and permissions](/docs/mcp.md): the server switches integrations depend on.
- [Privacy](/docs/privacy.md): what else Rundesk seals, and what leaves your computer.
