[Home](/index.md) › [MCP servers](/mcp.md) › Medusa MCP server

# Medusa MCP server

MCP server

- 18 callable tools
- Read only
- 5 capabilities

[Installation guide](https://docs.medusajs.com/cloud/medusa-mcp)

## Overview

Medusa publishes this remote MCP server, which connects AI tools to Medusa applications deployed on Medusa Cloud. It gives access to store commerce data, custom API routes, and Cloud organizations, projects, deployments, logs and environment variables.

### Capabilities

- Query orders, products and customers in a Medusa store
- Read custom store data through custom GET API routes
- Inspect Cloud deployments and their build or runtime logs
- List environment variables without exposing secret values
- Check Cloud status and search the Medusa documentation

## Works with

The products your agent can work with through this server.

- [Medusa](/tools/medusa.md): Open-source agentic commerce

## Tools

The callable functions your agent uses to work with this server.

### `list_connected_environments`

Lists the environments that you connected to the AI tool.

### `find_commerce_api`

Searches a store's Admin and Store API routes, including its custom API routes, for routes that retrieve the requested data.

### `describe_commerce_api`

Retrieves the parameters and details of a store's API route.

### `read_admin_api`

Sends a GET request to a store's Admin API route as your admin user.

### `list_medusa_publishable_keys`

Lists a store's publishable API keys and their sales channels.

### `read_store_api`

Sends a GET request to a store's Store API route as a guest customer, scoped to a publishable API key's sales channels.

### `list_connected_organizations`

Lists the organizations that you connected to the AI tool.

### `get_connected_organization`

Retrieves an organization's details, including its members and subscription plan.

### `list_projects`

Lists the projects that you connected to the AI tool, with their connected environments.

### `get_project`

Retrieves a project's details, including its region, repository, environments, and domains.

### `list_medusa_deployments`

Lists an environment's deployments, newest first, with their backend and storefront statuses.

### `get_medusa_deployment`

Retrieves a deployment's details, including its commit, branch, statuses, timings, and Medusa and Node.js versions.

### `get_environment_logs`

Retrieves an environment's runtime or build logs for its backend or storefront.

### `list_environment_variables`

Lists an environment's backend or storefront environment variables.

### `get_environment_variable`

Retrieves an environment variable by its key or ID.

### `get_medusa_cloud_status`

Retrieves Cloud's current status from the Cloud status page.

### `ask_medusa_question`

Searches the Medusa documentation to answer a question.

### `submit_medusa_feedback`

Sends your feedback to the Medusa team.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Medusa MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http medusa https://cloud.medusajs.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Medusa MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=medusa&config=eyJ1cmwiOiJodHRwczovL2Nsb3VkLm1lZHVzYWpzLmNvbS9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "medusa": {
      "url": "https://cloud.medusajs.com/mcp"
    }
  }
}
```

### Add Medusa MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "medusa": {
      "type": "http",
      "url": "https://cloud.medusajs.com/mcp"
    }
  }
}
```

### Add Medusa MCP server to Codex

Run this in your terminal:

```sh
codex mcp add medusa --url https://cloud.medusajs.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.medusa]
url = "https://cloud.medusajs.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login medusa`.

### Add Medusa MCP server to Claude

Add it as a custom connector with this URL:

```
https://cloud.medusajs.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Medusa MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://cloud.medusajs.com/mcp
```

[Read the installation guide](https://docs.medusajs.com/cloud/medusa-mcp)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [docs.medusajs.com/cloud/medusa-mcp](https://docs.medusajs.com/cloud/medusa-mcp)
