MCP and Connectors
In this guide, you'll learn how to view and manage the connectors that AI agents and other applications use to access your organization's environments through the Medusa MCP server.
What is a Connector?#
A connector is the access that you grant an AI agent or another application to your environments when you approve it on Cloud's OAuth consent page. For example, when you connect an AI tool like Claude, ChatGPT, or Cursor to the Medusa MCP server, Cloud creates a connector for that AI tool with the environments and access you selected.
A connector acts on your behalf with your role in each organization. For each environment, the connector has one of the following access levels:
- Read only: The connector can retrieve the environment's data.
- Read and write: The connector can also create, update, and delete the environment's commerce data.
From your organization's settings, you can view all of these connectors, change the environments each connector can access and their access levels, and revoke connectors that you no longer need.
View Connectors#
Requires one of the roles:AdminDeveloperTo view your organization's connectors:
- If you're in a different organization, switch to the organization whose connectors you want to view.
- Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
- Click MCP and Connectors in the sidebar.
The MCP and Connectors page shows a table of all the authorized connectors and the total number of connectors. If there are no connectors, the page shows an empty state instead.
The table has the following columns:
Column | Description |
|---|---|
Connector | The connected application's icon and name, along with the resource type or host that it connects to. For example, "Claude" with a "Medusa MCP" subtitle. |
Access | The connector's access level and the number of environments it can access. The access level is Read only, Read and write, or, when only some environments have write access, the number of environments with write access, for example, "Write in 1 of 3". |
Organizations | The number of organizations that the connector can access. |
Status | Shows Active for an active connector, or Expires Soon if the connector expires within 7 days. |
Last Used | How long ago the application last used the connector, or Never if it hasn't used it yet. |
Manage a Connector#
Requires one of the roles:AdminDeveloperYou can view a connector's details and change the environments that the application can access.
To manage a connector:
- Go to the MCP and Connectors page.
- Click the connector's row. Alternatively, click the icon at the end of the connector's row and choose Manage access.
This opens a side drawer with the connector's details.
Connector Details#
The Details section of the drawer shows the following information about the connector:
- Status: Whether the connector is active or expires soon.
- Connected: The date that you approved the connector.
- Last Used: How long ago the application last used the connector, or Never.
- Expires: The date that the connector expires. Connectors that go unused for 30 days are revoked automatically.
- Client ID: The OAuth client identifier of the application.
Change Environments and Access#
Requires one of the roles:AdminDeveloperThe Organizations and environments section of the drawer lists the environments that you can access, grouped by organization. Each environment has a Read and a Write checkbox, and the section's header shows how many environments are selected and how many of them have write access.
To change the environments that the application can access and their access levels:
- In the Organizations and environments section, expand an organization to view its environments.
- Check or clear the Read checkbox of an environment to give or remove access to it. Checking Read in an organization's row selects all its environments.
- Check the Write checkbox of an environment to let the application change its data, or clear it to make the environment read-only. Checking Write also selects the environment.
- Review the changes in the Unsaved changes section, which lists the environments you added or removed and the access levels you changed.
- Click Save.
Revoke a Connector#
Requires one of the roles:AdminDeveloperTo revoke a connector:
- Go to the MCP and Connectors page.
- Click the icon at the end of the connector's row.
- Choose Revoke from the dropdown.
- Confirm revoking the connector in the prompt. The prompt shows the application's name and the number of environments it can no longer access.