Installation guide
How to install Magento MCP Server (community)
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
This is a community-built, local MCP server. You clone the repository, build it with Node.js, and your MCP client launches it over stdio with `node`. It authenticates to Magento 2 or Adobe Commerce through an Integration (OAuth 1.0), using four credentials passed as environment variables. There is no hosted endpoint. It includes write tools, and it is not vendor-supported.
A developer with Magento Admin access to System > Integrations should do this, ideally with a staging copy of the store first. Read the source before running it, because it holds admin-level credentials. Create a dedicated integration with only the API resources you need, and start with read-only resources where Magento allows it.

Before you start
Node.js18 or later, plusgitandnpm- A Magento 2 or Adobe Commerce instance, preferably a staging copy, and its base URL for
MAGENTO_BASE_URL - Magento Admin access to create and activate an Integration under
System > Integrations - The four OAuth values from that integration: Consumer Key, Consumer Secret, Access Token and Access Token Secret
- Optional: a Fastly service ID and API token if you want targeted cache purge
- How it runs
- Local, runs on your machine
- Access
- Read and write
- Server address
- Copy it from the vendor documentation
Magento MCP Server (community) in Claude
- Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. Review the source first. - In Magento Admin, open
System > Integrations > Add New Integration, name it (for exampleMCP Server), and underAPIselect only the resources you need. Save and Activate it, then copy the four OAuth values. - Open
claude_desktop_config.jsonfor Claude Desktop (the docs name this file but not its location, so use the Claude Desktop developer settings to find it). - Add the
magento-mcpentry from the snippet. Setcommandtonode, pointargsto the absolute path ofdist/index.js, and fill in the five environment variables. - Fully restart Claude Desktop. The docs describe local config only, so the Claude.ai web connector by URL does not apply to this server.
- Start a chat and ask it to run
auth.loginfirst, thenauth.whoami.
{
"mcpServers": {
"magento-mcp": {
"command": "node",
"args": [
"/absolute/path/to/magento-mcp/dist/index.js"
],
"env": {
"MAGENTO_BASE_URL": "https://your-magento-instance.com",
"MAGENTO_OAUTH_CONSUMER_KEY": "<CONSUMER_KEY>",
"MAGENTO_OAUTH_CONSUMER_SECRET": "<CONSUMER_SECRET>",
"MAGENTO_OAUTH_TOKEN": "<ACCESS_TOKEN>",
"MAGENTO_OAUTH_TOKEN_SECRET": "<ACCESS_TOKEN_SECRET>"
}
}
}
}
Magento MCP Server (community) in ChatGPT
- The documentation does not cover ChatGPT. This server is local over stdio and has no public URL, and ChatGPT custom connectors in Developer mode expect a remote MCP server URL.
- To use it with ChatGPT you would need to expose the stdio server through a separate proxy or gateway. The docs do not describe this, so check the vendor repository and the ChatGPT documentation before trying it.
- Do not expose a server that holds admin-level Magento credentials on a public address without authentication.
- Until then, use a client with local stdio support, such as Claude Desktop, Cursor or Claude Code.
Magento MCP Server (community) in Gemini
- The documentation does not mention Gemini. Gemini CLI can run local servers through
mcpServersin its settings, which is the standard approach. - Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. - Create a limited Magento Integration under
System > Integrationsand copy the four OAuth values. - Add a
magento-mcpentry undermcpServersin the Gemini CLI settingsJSON, using the samecommand,argsandenvvalues as in the snippet. - Restart Gemini CLI, then ask it to run
auth.loginandauth.whoami. Gemini app extensions are not covered by the docs.
{
"mcpServers": {
"magento-mcp": {
"command": "node",
"args": [
"/absolute/path/to/magento-mcp/dist/index.js"
],
"env": {
"MAGENTO_BASE_URL": "https://your-magento-instance.com",
"MAGENTO_OAUTH_CONSUMER_KEY": "<CONSUMER_KEY>",
"MAGENTO_OAUTH_CONSUMER_SECRET": "<CONSUMER_SECRET>",
"MAGENTO_OAUTH_TOKEN": "<ACCESS_TOKEN>",
"MAGENTO_OAUTH_TOKEN_SECRET": "<ACCESS_TOKEN_SECRET>"
}
}
}
}
Magento MCP Server (community) in Microsoft Copilot
- The documentation does not cover Microsoft Copilot Studio or GitHub Copilot. For GitHub Copilot in VS Code, the standard way to add a local server is
.vscode/mcp.json. - Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. - Create a limited Magento Integration and copy the four OAuth values.
- In
.vscode/mcp.json, add amagento-mcpentry underserverswithcommandset tonodeandargspointing todist/index.js. Keep real secrets out of any file committed to version control. - Start the server from VS Code, then in Copilot Chat agent mode ask it to run
auth.loginandauth.whoami. - Copilot Studio expects a remote endpoint, which this local server does not provide.
{
"servers": {
"magento-mcp": {
"command": "node",
"args": [
"/absolute/path/to/magento-mcp/dist/index.js"
],
"env": {
"MAGENTO_BASE_URL": "https://your-magento-instance.com",
"MAGENTO_OAUTH_CONSUMER_KEY": "<CONSUMER_KEY>",
"MAGENTO_OAUTH_CONSUMER_SECRET": "<CONSUMER_SECRET>",
"MAGENTO_OAUTH_TOKEN": "<ACCESS_TOKEN>",
"MAGENTO_OAUTH_TOKEN_SECRET": "<ACCESS_TOKEN_SECRET>"
}
}
}
}
Magento MCP Server (community) in Perplexity
- The documentation does not mention Perplexity. Perplexity desktop connectors are added through the app's connector settings, and support for local commands depends on your app version.
- Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. - In the Perplexity desktop app, open the connectors or MCP settings and look for an option to add a local server by command.
- If it is offered, enter
nodeas the command, the absolute path todist/index.jsas the argument, and the five environment variables from the vendorREADME. - If only remote URLs are accepted, this server cannot be added directly. Use another client.
- After adding it, ask the assistant to run
auth.loginandauth.whoami.
Magento MCP Server (community) in Cursor
- Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. Review the source first. - Create a limited Magento Integration under
System > Integrations, activate it, and copy the four OAuth values. - Open Cursor MCP settings, or edit
.cursor/mcp.jsonin your project or~/.cursor/mcp.jsonglobally. TheREADMEnames Cursor as compatible but gives no Cursor-specific steps. - Add the
magento-mcpentry from the snippet with the absolute path todist/index.jsand the five environment variables. - Reload Cursor and confirm the server shows as enabled in MCP settings.
- In chat, ask it to run
auth.login, thenauth.whoami.
{
"mcpServers": {
"magento-mcp": {
"command": "node",
"args": [
"/absolute/path/to/magento-mcp/dist/index.js"
],
"env": {
"MAGENTO_BASE_URL": "https://your-magento-instance.com",
"MAGENTO_OAUTH_CONSUMER_KEY": "<CONSUMER_KEY>",
"MAGENTO_OAUTH_CONSUMER_SECRET": "<CONSUMER_SECRET>",
"MAGENTO_OAUTH_TOKEN": "<ACCESS_TOKEN>",
"MAGENTO_OAUTH_TOKEN_SECRET": "<ACCESS_TOKEN_SECRET>"
}
}
}
}
Magento MCP Server (community) in Claude Code
- Clone and build the server:
git clone https://github.com/thomastx05/magento-mcp.git, thencd magento-mcp,npm installandnpm run build. Review the source first. - Create a limited Magento Integration under
System > Integrations, activate it, and copy the four OAuth values. - Register the server with
claude mcp add, passing the five environment variables with-eand usingnodewith the absolute path todist/index.js, as in the snippet. The docs do not cover Claude Code, so this uses the standard local-server form. - Run
claude mcp listto confirmmagento-mcpis registered, then startclaude. - Ask it to run
auth.loginfirst, thenauth.whoami.
claude mcp add magento-mcp \
-e MAGENTO_BASE_URL=https://your-magento-instance.com \
-e MAGENTO_OAUTH_CONSUMER_KEY=<CONSUMER_KEY> \
-e MAGENTO_OAUTH_CONSUMER_SECRET=<CONSUMER_SECRET> \
-e MAGENTO_OAUTH_TOKEN=<ACCESS_TOKEN> \
-e MAGENTO_OAUTH_TOKEN_SECRET=<ACCESS_TOKEN_SECRET> \
-- node /absolute/path/to/magento-mcp/dist/index.jsCheck that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- Run `auth.login`, then `auth.whoami`, and tell me which authentication method and session the server reports.
- Use `scope.list_websites_stores` to list the websites and store views on this Magento instance.
- Use `catalog.search_products` to find five products by name and show their SKUs, without changing anything.
Troubleshooting
+The client does not list the server or shows it as failed. What should I check?
Confirm `npm run build` finished and that `dist/index.js` exists. Use an absolute path in `args`, since relative paths often fail. Check that Node.js is version 18 or later with `node --version`, and that the JSON is valid. Then fully restart the client, not just the chat window.
+auth.login fails or Magento returns authorization errors. What is wrong?
Check that `MAGENTO_BASE_URL` matches your store, with no typo or wrong scheme. Confirm the integration is activated and all four OAuth values are copied into the correct variables. If a tool returns permission denied, the integration probably lacks that API resource under `System > Integrations`, since Magento ACL applies.
+A bulk update or write tool did not apply my change. Why?
Bulk operations use two phases. A prepare call creates a plan for review, and a separate commit call applies it. Guardrails such as `maxSkusPerBulkCommit` (default 500) and the price change threshold can also block or warn. Limits are set in `src/config/index.ts`. Test on staging and review any changes there before use.
Written Nov 23, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers
Questions readers and searchers ask about installing Magento MCP Server (community), answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.