# How does Irene connect to my apps, MCP servers and other tools?

**`equip` is how Irene reaches anything it doesn't carry. Through it, Irene reaches 20,000+ apps and MCP servers: your apps (about 1,600 ready-made app connectors through **Composio**), MCP servers people have published in the official **MCP registry**, or any MCP server you run or point it to (including ones that need sign-in), and add any toolkit on your computer to a chat. Connecting is permanent; attaching to a chat is per chat, and a big app is attached as a slice of just the tools the job needs. Your provider keys never touch your computer, and which apps you connect stays on it.**

---

## What makes it different

| what it does | the primitive behind it | what that buys you |
|---|---|---|
| **One way in for everything** | One tool with seven actions, across four kinds of source: Composio app connectors, servers from the official MCP registry, any MCP server, and toolkits already on your computer | Apps, servers and your own tools all arrive the same way, mid-chat |
| **Connect once, attach per chat** | A connection is saved for good; attaching puts its tools in one chat only | Your agents carry only what this job needs |
| **Big apps come as slices** | Over 15 tools, a whole app can't be attached; the agent names the few tools it needs | A 60-tool app doesn't flood a small, fast agent. GitHub alone has 874 actions |
| **Usable this turn** | An attached tool is live in the same turn when possible, and goes through the same approval gate as any other tool | Connect and use in one go, with no back door around approvals |
| **Keys stay off your computer** | Connector calls go through Irene's relay, which adds the provider key and meters the call. Errors are scrubbed of anything that looks like a credential | A leaked log or screen never shows your tokens |
| **Your connections stay private** | Which apps and servers you've connected is stored only in `~/.irene` | Irene's servers never learn which apps you use |
| **Any MCP server, directly** | Irene's own MCP client handles local servers, remote servers and their sign-in (OAuth), with no broker in between | Any standards-compliant MCP server works, including ones that need you to log in |

---

## How it works

### Three kinds of connection, plus your own toolkits

| kind | what it is | how it connects |
|---|---|---|
| **App connectors (Composio)** | about 1,600 ready-made connectors: Gmail, GitHub, Notion, Google Calendar, Slack, Reddit… | sign in once in your browser (OAuth); some need no sign-in |
| **MCP registry servers** | servers people have published in the official public registry. `hosted` ones have an address someone runs; `local` ones are a package Irene installs and runs on your computer | connect by the exact name `discovery` found. A `local` one shows you its launch command and where the package comes from before it installs |
| **Any MCP server** | one you run on your computer (`npx …`, `uvx …`, a config block) or one at a web address | Irene runs or reaches it directly, and handles its sign-in |
| **Toolkits on your computer** | built-in toolkits not loaded by default, and ones you built | attach by name |

**Plugins are different:** a plugin is a bundle (skills, commands, hooks, agents, servers) installed as a whole. → [Plugins](https://mycelen.com/manual/reference/toolkits/plugin)

**Why the app catalogue is a local copy:** see [Discovery](https://mycelen.com/manual/reference/toolkits/discovery). Irene keeps its own copy, refreshed on the first search of a session, and ranks it itself.

### Connect vs attach

- **Connect** is permanent. It saves the connection (and signs in if needed). A newly connected app shows as **waiting** until you finish signing in, and Irene checks again rather than asking you to reconnect.
- **Attach** adds a connected app's tools, or any toolkit, **to this chat only**. Detach removes them from the chat and keeps the connection.

**Why separate:** every tool an agent holds is described to the model on every turn, used or not. Connecting everything you use and attaching only what a job needs keeps every turn cheap.

### Slices

- An app or toolkit with **more than 15 tools** can't be attached whole. The agent names a slice: `gmail:gmail_send_email,gmail_fetch_emails`. Several at once use `;` between them.
- The refusal lists every tool name, so the next step is right there.
- Attaching is all or nothing: the whole request is checked first, so the agent always knows exactly what it holds.
- A second slice adds to the first; it doesn't replace it.

**Why 15:** under 15, most normal apps load whole. Above it (Gmail, Apple Notes), dumping every tool in front of a small agent undoes the point of loading tools on demand. The limit was raised from 8 because refusing a 10-tool app was just friction.

### Two searches

- **`equip search`** finds a tool **inside what you've already connected**.
- **[`discovery`](https://mycelen.com/manual/reference/toolkits/discovery)** finds what you **don't have yet**.

**Why two:** when they were one, the agent could see that a connected app had 36 tools but couldn't learn their names, and went looking outside Irene. Now `list` with an app name returns every tool and what it does.

### MCP servers in detail

- **Local servers** run from runtimes that ship with Irene (Node, `npx`, `uvx`), so you don't install anything. They start on first use and close after **10 minutes idle**.
- **Remote servers** connect over the web. If the server requires sign-in, Irene handles it (OAuth) and stores the token in `~/.irene/auth/`.
- **Paste anything:** a full config block, a launch line like `npx @scope/server`, or a web address.
- **Their tools are remembered,** so they're available the moment Irene starts, before any server is running.
- **Servers with their own interface:** if a tool returns an interactive view, it's shown right in the chat card.
- **On deployed agents,** each person using the agent can connect their own account, with their own keys. These **replace** the owner's keys and are never mixed with them. Up to 24 such connections at once, released after 15 minutes idle.

**Why replace, never merge:** merging left any key a person didn't fill in at the owner's value, quietly running their requests on the owner's account.

---

## Its tools

| tool | actions |
|---|---|
| `equip` | `list` (what's connected, or one app's tools) · `search` (a tool inside what's connected) · `check` (is it connected) · `connect` · `attach` · `detach` · `disconnect` |

Inputs: `action`, `provider` (app connector, registry server, MCP, or toolkit), `target`.

**Every connected app becomes its own toolkit,** with one tool per action and inputs taken from the app's own definitions. Results come back as structured data, so a reflex can read them directly.

**Why one tool:** fifteen older tools did the same few things once per provider. One tool with seven actions does all of it, and its description costs about 450 tokens.

---

## How agents are told to use it

1. **Drive the real thing first.** Connect or attach only when the job needs a tool Irene doesn't carry.
2. **Search inside first** (`equip search`), then look further with `discovery`.
3. **Copy the name from the discovery result.** A registry server is connected by the exact name discovery gave. Some names are both an app connector and a registry server ("reddit"); then Irene asks which one rather than guessing.
4. **Attach a slice,** not a whole big app.

---

## Approvals

- **`list`, `search` and `check` never ask.** **Why:** they can't change anything, and four approval cards in twenty-seven seconds for read-only checks was what forced the split.
- **Connect, attach, detach and disconnect always ask**, whatever you've trusted. Connecting hands an outside service your account, so it always shows: "hands an outside service your account".
- **Auto mode can't connect or disconnect** on its own. Unattended runs list it under **Irene needs you**.

---

## Where you see it

- **Capabilities → Connections:** search every app and server (the same engine as discovery), see what's connected, and connect. Each result is labelled **app**, **hosted** or **local**: apps and `hosted` servers have **Connect**, `local` servers have **Install**, and the screen reminds you: keys stay off-device, and which apps you connect stays local.
- **Connect something:** an app you already use, a server someone published, or one you run yourself.
- **`/connector`** and **`/mcp`** open the connect panel from the chat.
- **`@kit` in the chat box** attaches a connected app or toolkit to the chat.

---

## What it costs

- **App connector calls** go through Irene's relay and are metered as usage. Each call takes about 2 seconds round trip.
- **MCP servers (from the registry or your own) and your toolkits** cost nothing per call beyond the model's usage: your computer talks to them directly.
- **Attached tools** add their descriptions to every turn of that chat, which is why they're attached per chat and sliced.
- **Connecting needs you signed in.** There's no plan gate on connectors.

---

## Limits

- **15 tools per whole attach;** above that, slice.
- **Attachments are per chat.** A new chat starts clean (connections stay).
- **Local MCP servers** stop after 10 minutes idle and restart on the next use.
- **The MCP registry** is searched live, per query; Irene doesn't keep a copy.
- **A registry server Irene can't run safely** is shown with the reason instead of a button, for example one that asks Docker for access to your whole computer.
- Smithery's hosting shut down on Oct 31, 2026; servers you connected through it show as stopped in Tools.
- **Signing in to an app** happens in your browser. Irene shows the app as **waiting** until you finish.

---

## Related

- [Discovery](https://mycelen.com/manual/reference/toolkits/discovery) · [Plugins](https://mycelen.com/manual/reference/toolkits/plugin) · [Build, host & share your own toolkit](https://mycelen.com/manual/reference/toolkits/build-your-own-toolkit) · [Tool UI](https://mycelen.com/manual/reference/toolkits/tool-ui)
- [Main agent](https://mycelen.com/manual/reference/agents/main) · [Approvals & auto mode](https://mycelen.com/manual/how-it-works/approvals-and-auto-mode)

[Ask Irene about this]
