Skip to content
juan-cinto-infracommerce avatar

Magento Cloud MCP Server

juan-cinto-infracommerce/mcp-magento-cloud

Read and write access to Adobe Commerce Cloud projects: environments, logs, databases, and config.

CCM score
47 of 100
tools
15
transport
STDIO
last updated
Jun 23, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads data with list_projects, list_environments, get_environment_logs, and execute_sql, where SQL is limited to SELECT, SHOW, DESCRIBE, and EXPLAIN
  • Writes changes with set_cloud_config, create_branch, and push_branch; set_cloud_config is blocked on the production environment
  • Authenticates by browser OAuth2 login or an API token, and uses SSH with temporary Ed25519 certificates
  • Designed for developers and agencies inspecting Magento Cloud environments and making non-production config changes

Tools

15 tools

Public tool metadata for what this MCP can expose to an agent.

list_projectsList all projects available to the current user

List all projects available to the current user

No parameter schema in public metadata yet.

list_environmentsList all environments for a project

List all environments for a project

No parameter schema in public metadata yet.

get_environment_infoGet detailed info about an environment

Get detailed info about an environment

No parameter schema in public metadata yet.

get_environment_urlsGet the public URLs of an environment

Get the public URLs of an environment

No parameter schema in public metadata yet.

list_activitiesList recent activities with filters

List recent activities with filters

No parameter schema in public metadata yet.

get_activity_logDisplay the full log for an activity

Display the full log for an activity

No parameter schema in public metadata yet.

list_variablesList project or environment variables

List project or environment variables

No parameter schema in public metadata yet.

list_servicesList services with versions and disk allocation

List services with versions and disk allocation

No parameter schema in public metadata yet.

execute_sqlExecute a read-only SQL query on the remote database

Execute a read-only SQL query on the remote database

No parameter schema in public metadata yet.

get_environment_logsRead server logs (deploy, error, cron, etc.)

Read server logs (deploy, error, cron, etc.)

No parameter schema in public metadata yet.

get_environment_relationshipsGet service connection details (host, port, credentials)

Get service connection details (host, port, credentials)

No parameter schema in public metadata yet.

list_log_typesList available log types

List available log types

No parameter schema in public metadata yet.

set_cloud_configSet a Magento config value via bin/magento config:set over SSH (supports scope/scope_code and encrypted values). Blocked on the production environment.

Set a Magento config value via bin/magento config:set over SSH (supports scope/scope_code and encrypted values). Blocked on the production environment.

No parameter schema in public metadata yet.

create_branchCreate a new environment branch cloned from integration

Create a new environment branch cloned from integration

No parameter schema in public metadata yet.

push_branchPush a local git branch to the project using SSH certificate auth

Push a local git branch to the project using SSH certificate auth

No parameter schema in public metadata yet.

Readme

mcp-magento-cloud

MCP (Model Context Protocol) server for Adobe Commerce Cloud. Allows AI agents to interact with Magento Cloud projects — query databases, read logs, list environments, inspect activities, and more.

No PHP CLI required — uses the REST API and SSH directly.

Versions

VersionDescriptionRequirements
v2.x (latest)REST API + SSH directly. Browser login or API token.Node.js 20+, ssh binary
v1.xWraps the magento-cloud PHP CLI.Node.js 20+, magento-cloud CLI installed

Using a specific version

# Latest (v2.x)
npx -y mcp-magento-cloud

# v1.x (requires magento-cloud CLI)
npx -y mcp-magento-cloud@1.0.1

Prerequisites (v2.x)

  • Node.js 20+
  • ssh binary — Available by default on Linux/macOS

Quick Start

Authentication

Automatic browser login (recommended)

No setup required. The first time you use any tool, a browser window will open automatically for OAuth2 login via your Adobe/Magento account. Credentials are stored locally in ~/.config/mcp-magento-cloud/credentials.json and refreshed automatically.

You can also login manually:


View the full README on GitHub

Details

Repository
github.com/juan-cinto-infracommerce/mcp-magento-cloud
Categories
DevOps & Cloud, E-commerce
Package
mcp-magento-cloud
Transport
STDIO
Registry
MCP registry, active

Questions

What can an AI agent do with the Magento Cloud MCP server?

It lets an agent list Adobe Commerce Cloud projects, environments, activities, variables and services through the REST API. It can also run read-only SQL queries on the remote database, read deploy, error and cron logs over SSH, and create or push environment branches.

Which tools does the Magento Cloud MCP server provide?

It provides 15 tools, including list_projects, get_environment_info, list_activities and get_activity_log for REST API reads. SSH tools cover execute_sql, get_environment_logs and get_environment_relationships, and write tools cover set_cloud_config, create_branch and push_branch. The set_cloud_config tool is blocked on the production environment.

Does the Magento Cloud MCP server need an API token to run?

No, it can use browser login, which opens an OAuth2 window on first tool use and stores credentials locally. An API token is an alternative, set through the MAGENTO_CLOUD_CLI_TOKEN environment variable, and it skips the browser login when present.

What does the Magento Cloud MCP server require to run?

It requires Node.js 20 or newer and the ssh binary, which is available by default on Linux and macOS. The v2 version uses the REST API and SSH directly, so it does not need the magento-cloud PHP CLI.

How do I connect the Magento Cloud MCP server to Claude Desktop?

Add an entry named magento-cloud to claude_desktop_config.json with command npx and args -y and mcp-magento-cloud. The server then starts over stdio the first time an agent calls one of its tools.

Similar to Magento Cloud MCP Server

More DevOps & Cloud