Vendure MCP Server logo

Vendure MCP Server

Organization
vendurehq

The official Vendure MCP

Publishervendurehq
Repositorymcp
LanguageTypeScript
Forks
5
Stars
12
Available tools
0
Transport typestdio, streamable-http
Categories
Links
  • Connect tools to AI workflows

    Vendure MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    12 stars and 5 forks from the linked repository.

[!Caution] This MCP is outdated and not maintained anymore. DO NOT USE IT ANYMORE. Let your agents interact with the Vendure CLI directly.

Features

  • Project Integration: Operates directly within your Vendure project, providing context-aware tooling.
  • CLI Integration: Direct access to Vendure CLI add and migrate commands.
  • Project Analysis: Analyze project structure, list plugins, entities, and services.
  • Dual Transport Support: Connect via standard I/O (STDIO) for local clients like Cursor or via HTTP for networked clients.
  • Environment Check: Verify Vendure installation and dependencies within the project.
  • Access to Docs: The MCP can fetch the official Vendure docs to use as context whenever it needs to.
  • Real-time: Works with any local Vendure project without modification.

Dynamic CLI Integration

The server dynamically generates MCP tools from your project's installed Vendure CLI command definitions. This ensures:

  • Single Source of Truth: CLI changes automatically reflect in MCP tools.
  • Future-proof: New CLI commands and options become available automatically.
  • No Hallucinations: The code generated by the tools will always be correct, as it's based on the actual CLI definitions in your project.

Installation and Setup Workflow

[!WARNING] To use the CLI command orchestration capabilities of the MCP. The target project should be running a version of the @vendure/cli package that is > 3.4.0 or later. Currently, this would be in our minor branch.

To change the version of your package, open the package.json of your project and change the "@vendure/cli" version to "minor", then delete your package-lock.json file and node_modules folder and run npm install.

The server is designed to be installed and run directly from your Vendure project. This ensures it always has access to the correct dependencies and project context.

Configure Your MCP Client (e.g., Cursor)

Create or update the mcp.json file used by your MCP client. This file is typically located at .cursor/mcp.json inside your project's root folder.

Below are configurations for both STDIO and HTTP connections.

[!IMPORTANT] You must restart your MCP client, e.g., Cursor IDE or Claude Code, to apply the changes.

Option 1: STDIO Connection (Recommended for Local Clients)

This is the simplest and most direct way to connect.

json
{
    "mcpServers": {
        "vendure-local-mcp": {
            "command": "npx",
            "args": ["@vendure/mcp-server@latest", "--projectPath", "/path/to/your/vendure-project"]
        }
    }
}

[!IMPORTANT] You must replace /path/to/your/vendure-project with the absolute path to your Vendure project's root directory. The same path as your vendure-config.ts.

Option 2: HTTP Connection

If your client does not support STDIO or you need to connect over a network, you can run the server in HTTP mode.

First, start the server from your terminal in your Vendure project's root directory:

bash
npx @vendure/mcp-server@latest --transport http --projectPath .

This will start the server on the default port (8000), you can explicitly define the port by using the --port <0000> flag.

Then, configure your mcp.json to connect to the running server's URL:

json
{
    "mcpServers": {
        "vendure": {
            "url": "http://localhost:8000/mcp"
        }
    }
}

Option 3: Docker

This will start a Docker container and the server will run through in stdio mode. Refer to the Docker Guide for more information about running with Docker.

json
{
    "mcpServers": {
        "vendure-mcp-docker": {
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "--env",
                "PROJECT_PATH=/workspace",
                "--volume",
                "/absolute/path/to-your-vendure-project:/workspace",
                "vendure/mcp:latest",
                "--projectPath",
                "/workspace"
            ]
        }
    }
}

[!IMPORTANT] You must replace /path/to/your/vendure-project with the absolute path to your Vendure project's root directory. The same path as your vendure-config.ts.

Development

If you are contributing to the Vendure MCP server itself, you'll want to run it from the source code.

Build from Source

bash
git clone https://github.com/vendure-ecommerce/mcp.git
cd vendure-mcp-server # Or the correct directory name
npm install
npm run build

Development Mode

To connect an MCP client to your local development server, use the npm run dev script and point it to a test Vendure project. You can run it in either STDIO or HTTP mode.

  • STDIO Mode: npm run dev -- --projectPath /path/to/your/test-vendure-project
  • HTTP Mode: npm run dev:http -- --projectPath /path/to/your/test-vendure-project

Configure your mcp.json as described in the setup section to connect to your development server. The -- is required to pass arguments to the npm script correctly.

Trouble-shooting and issue reporting

If you run into problems while using/running the MCP, we would appreciate any issue with information that would help us reproduce your issue.

[!TIP] you can provide us with MCP Logs created by your MCP-Client. In Cursor, you could find them by looking for Developer: Open Log File... > MCP Logs in your command palette (Shift+Cmd/Ctrl/Super+P) by default.

Links

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "vendure-ecommerce-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vendure/mcp-server"
      ]
    }
  }
}

Use Vendure MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Vendure MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Vendure MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Vendure MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "vendure-ecommerce-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vendure/mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Vendure MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Vendure MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Vendure MCP Server to help me with this task?
Vendure MCP Server
Sure. I read it.
Here is what I found using Vendure MCP Server.

Option 2: Add an MCP server URL

Use this when Vendure MCP Server is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Vendure MCP Server.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Vendure MCP Server connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Vendure MCP Server tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Vendure MCP Server tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Vendure MCP Server to help me with this task?
Vendure MCP Server
Sure. I read it.
Here is what I found using Vendure MCP Server.

Frequently asked questions

What is the Vendure MCP Server MCP server used for?

Vendure MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Vendure MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Vendure MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Vendure MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Vendure MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Vendure MCP Server MCP to TypingMind?

Vendure MCP Server can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Vendure MCP Server MCP provide in TypingMind?

Vendure MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Vendure MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Vendure MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇