MCPs

An MCP is a service's own tool server. When a service you use offers one, you can connect it to a project and Avi can use that service's tools there, in chat and in automations.

An MCP is not an app. An app is built for Avi: it can have a panel, its own data and activity in your Updates. An MCP gives Avi tools and nothing else. It runs at the service, and Avi keeps no copy of what is stored there. MCPs have their own tab in a project's settings, beside Apps. In the Tools tab an MCP's tools sit with all the others, named after the MCP (vercel/add-route).

Connecting a listed MCP

Open a project's settings → MCPs → Discover. It lists MCPs for many services: Linear, Notion, Atlassian, Sentry, Stripe, Airtable, Canva, PostHog, Vercel, Supabase and dozens more.

Press Connect. One of two things happens:

  • The service asks you to sign in. You are sent to the service's own sign-in page, you approve what Avi may do, and you land back in Avi. Avi then acts at that service as the account that signed in.
  • Nothing is asked. A few MCPs, such as documentation search, need no account and connect at once.

Its tools are on from that moment, the way an app's are when you enable it.

Some services give every account its own MCP and sign in with a key instead: Freshdesk is one. Connect then asks for two things: your account (for Freshdesk, the first part of your address, like acme in acme.freshdesk.com) and the secret that holds your key. Add the key under the project's Secrets first. Avi can't tell a wrong key until the MCP's first tool is used, so if its tools answer that the key was refused, replace the key under Secrets.

X keeps one sign-in per X account for Avi. If you connect the same X account in a second project, X signs the first one out, and that project's X then asks you to reconnect.

A few services only sign in apps they already know or have approved (Figma is one). Those MCPs appear in Discover once Avi is set up with them. If you connect a service that turns Avi down, Avi says so and nothing is added.

You can also just ask Avi. If a job needs a listed MCP the project doesn't have, Avi shows a card in the conversation; approve it and Avi guides the sign-in. When one of Avi's own apps covers the same service, Avi proposes the app instead.

An MCP that isn't listed works the same way: give Avi its address (it starts with https://) and Avi shows a card with that address on it. If the MCP signs you in at its own page, you just approve and Avi walks you through the sign-in. If it uses a key, the card asks for it: type it there, never in the conversation; it is saved to Secrets. Check the address is the service's own before you approve.

You can also ask Avi to disconnect an MCP. Avi shows one button in the conversation; press it and the MCP is switched off: Avi stops using its tools and forgets its sign-in, so switching it back on means signing in again. Removing an MCP for good is still done on its page, under Remove.

Adding any other MCP

Press Add MCP at the top of the MCPs tab and paste the MCP's address (it starts with https://). Avi asks the server how it signs in:

  • A sign-in at the service. Nothing more to fill in. You are sent to the service to sign in.
  • A key. Add the key under the project's Secrets first, then choose that secret in the form. The key stays in Secrets; the MCP only remembers which secret to read. Change the key there at any time.
  • A client ID registered with the service. Some services want you to register Avi with them first and give you a client ID. Paste it, and choose the secret that holds its client secret if the service gave you one.

Give the MCP a name if you like. Left empty, it is named after its address.

Avi shows the service's icon, including on the card that asks you to approve it. It uses the icon the MCP's server offers when it has one, and otherwise the icon of the service's website. A service with neither is shown with the first letter of its name.

Keep keys out of the address itself. If a service's address must carry one, Avi hides everything after the ? when it shows the address back.

Its tools

The Connected list holds the MCPs this project has. Its Tools column shows how many of an MCP's tools Avi can use right now, such as "3 of 8". Click Name to turn the order around.

An MCP's tools work the way an app's do. Connecting an MCP switches all its tools on, and Avi keeps them current with the service on its own: nothing waits for an approval.

Open an MCP to see its tools, each with one line about what it does and an Enabled switch. The count beside Tools says how many are on.

  • Switch off the tools you don't want Avi to use. Click a tool to read everything Avi is told about it and what it takes. A tool you switched off stays off, whatever the service changes. To switch every tool back on at once, open the menu (⋮) at the top of the page and choose Turn on all tools.
  • New tools. When a service adds a tool, it is switched on.
  • Changed tools. When a service rewords a tool or changes what it takes, Avi uses the new version from then on.
  • Removed tools disappear, including from any automation that was given them.

Tool descriptions are written by the service, not by Avi. Avi is told to treat them, and everything a tool returns, as information and never as instructions.

An opened tool also shows what the service itself says about it, such as that it only reads or that it can delete. These are the service's own claims. To keep Avi from using a tool, switch it off.

When someone who manages the project opens the page, Avi checks for changes if it has not looked in the last few minutes. Check for changes, in the menu (⋮) at the top of the page, looks again right away.

The same switches are in the project's Tools tab, where an MCP's tools sit with all the others. Tools that delete or remove things are held back from automations unless you give them to one, the same as an app's.

When an MCP needs you

An MCP that Avi cannot use is marked beside its name in the Connected list: Sign in when its sign-in was never finished, Reconnect when it lost access. Press the mark to open the MCP. Its page says what it needs in a notice at the top, with the button that fixes it.

  • Lost access. The service stopped accepting Avi's sign-in: you signed Avi out there, or the access ran out. Open the MCP and press Reconnect. Until then, Avi tells you the MCP lost access instead of quietly failing.
  • Needs more access. A tool needed more than you approved. Reconnect to approve it.
  • Key refused. Replace the key under Secrets, then press Try again on the MCP's page.

If a service limits how often it can be called, Avi waits a few seconds and tries again. When the wait is longer, Avi tells you how long and stops calling until it has passed.

Who can do what

Anyone with access to a project can see its MCPs. Connecting, turning on tools, renaming and removing take the project's owner, or an admin of an agent.

An MCP is connected to one project. To use the same service in another project, connect it there too.

Switching an MCP off

Open the MCP and switch Connected off. Avi stops being offered its tools and forgets its sign-in: nothing of your account at the service is kept. The MCP's name, its tool list and each tool's switch stay. Switch Connected back on and you sign in again. An MCP that uses a key has no sign-in to forget; its key stays under Secrets until you delete it there. In the Connected list, an MCP that is switched off is marked Off.

Removing an MCP

Open the MCP, open the menu (⋮) at the top of the page and choose Remove. Avi stops using its tools everywhere in the project and forgets the sign-in. Nothing changes at the service itself. To take away Avi's access on the service's side as well, remove it in that service's own settings.

What an MCP does not do

  • No panel. You work with it by asking Avi.
  • No updates on its own. A service cannot tell Avi that something changed. To keep watch, add an automation that checks on a schedule.
  • No pictures in answers. When a tool answers with an image or a file, Avi is told one was returned but cannot see it yet.