Manage connectors over the REST API and MCP
AddedEverything you do on a site's Connectors pages is now available outside the dashboard: listing connectors, installing one, changing its address, headers or settings, switching its tools on or off, refreshing its tools, checking it and removing it. The same rules apply: the connection is tested before an install unless you install anyway, a site keeps one connector of each native type (custom connectors excepted), and installs, changes and removals show in Admin activity with the source api or mcp.
- REST API: a site's connectors are at
/api/v1/sites/{siteId}/connectors, and each connector at/api/v1/connectors/{connectorId}, withdisabled-toolsandrefresh-toolsunder it. You can send a token and secret header values. They are never returned: a connector only says whether each one is set. - MCP: the new tools
list_connectors,install_connectors,update_connectorsandrefresh_connector_tools, anddelete_objectwith the typeconnector. No tool takes or returns a secret. When a connector still needs one, the answer gives the link to its page in the dashboard, where you enter it yourself.
A connector installed over the REST API or MCP can be left with its commercetools token or a secret header value to set later. Until you set it, the agent sends nothing for it.
The dashboard's install form is unchanged.
The MCP server also gets update_site, which changes a site's name, address, platform, site information, tone of voice and vertical, for up to 50 sites in one call.