Skip to content

Connectors ​

A connector links the host to an outside service. Each one is made from an adapter that a plugin registers, and holds that adapter's settings and secrets. This page lists them, shows what each can do, and makes, changes and deletes them.

Where it is ​

Connectors has the 🔌 icon in the activity bar. It shows while a host lists connectors to you, which takes the connector:list grant on ahpd. The sidebar lists the connectors; a connector opens as a page in the main area.

From the Command palette: Show connectors and New connector.

shots/connectors-list The connectors list in the sidebar, grouped by adapter

The list ​

Each row shows a state dot, the title, and a line with its id (when the title differs), its adapter and its owner. With several hosts, the row also names the host. Type in Filter connectors to narrow the list.

The section header has New connector (+), Reload, Group and Hosts. Group sorts the list By adapter (the default), By owner or By state.

A connector is:

State
ReadyIt is open.
InvalidIts settings do not fit its adapter, or the adapter refused to open it. Change its settings to open it again.
UnavailableNo plugin registers its adapter now. Enable the plugin that offers it to open it again.

Right-click a row for Open and Delete. Delete asks first: the host closes the connector and forgets its secrets, and you cannot undo it.

The page ​

The head shows the adapter's icon, the title and the state, with Delete. A connector that is not ready says why. The page has the tabs Overview and Settings, and Models for a ready connector whose adapter serves models.

shots/connectors-page A connector page with its capabilities

Overview ​

The adapter's description comes first. The facts list the Id, State, Adapter, Owner, and the Plugin that offers the adapter, which opens it in Plugins. Once the host has checked the connector, Last check says what it found and when, and Last failure shows the last call that failed.

Capabilities lists what the adapter declares, grouped as Receives, Commands, Actions, Interfaces and Models. Click one to open it: its description, the URL that outside calls go to with a Copy button (for one that receives), and the values it takes, with the required ones marked.

Models ​

The models the connector serves, as the host last read them from the provider. Each row has the name you send as model to the host's model proxy, with a copy button, the provider's name for it, its context and its price in dollars per million tokens, prompt / answer. A model you may not call is dimmed. Search models narrows the list by id or name, and Refresh asks the host again.

Settings ​

The same form as a new connector, with the adapter and id fixed. Save sends your changes, Reset goes back to what the host holds. A secret the host already holds reads "Saved. Type a new value to replace it."

Make one ​

New connector opens a form.

Field
AdapterSearch the adapters, grouped by the plugin that registers them, and pick one. Change picks another; it clears the adapter's settings.
TitleWhat the list shows. Empty, it shows the id.
IdA slug, made from the title until you change it. It cannot change later.
OwnerMe, The host, or a team or user you may name.

Below come the adapter's own settings. Create makes the connector and opens its page.

An adapter that signs in with a provider shows a button under its settings, named by the host. The button opens the provider's page in a new tab. Sign in there, paste the code it shows, and Finish makes the connector with the token the host gets. Cancel ends the step. You can still type the key in its field instead. In the settings of a made connector, the step then says it is signed in and the connector's state, with Sign in again. A new connector opens its page, where Last check shows the sign-in worked.

If the host lists no adapters to you, or you do not hold the connector:put grant, the form says so.