Skip to main content
Glama

Vendure MCP Server

Official

vendure_add

Extend Vendure projects by adding API extensions, entities, services, job queues, or custom plugins. Specify plugin, entity, or service details to integrate new features seamlessly into your e-commerce setup.

Instructions

Add features to your Vendure project.

IMPORTANT USAGE PATTERNS:

  • For API Extension: Requires apiExtension="plugin-name", plus queryName OR mutationName, plus selectedService
  • For Entity: Requires entity="EntityName" and selectedPlugin="plugin-name"
  • For Service: Requires service="ServiceName" and selectedPlugin="plugin-name"
  • For Job Queue: Requires jobQueue="plugin-name", name="queue-name", and selectedService="service-name"

EXAMPLES:

  • Add API extension: {apiExtension: "my-plugin", queryName: "customProducts", selectedService: "ProductService"}
  • Add entity: {entity: "CustomProduct", selectedPlugin: "my-plugin"}
  • Add service: {service: "CustomService", selectedPlugin: "my-plugin"}
  • Create new plugin: {plugin: "MyNewPlugin"}

Use list_plugins tool first to see available plugin names.

Input Schema

NameRequiredDescriptionDefault
apiExtensionNoAdd an API extension scaffold to the specified plugin. Provide the plugin name. Example: "my-plugin". Requires queryName or mutationName and selectedService.
codegenNoAdd GraphQL codegen configuration to the specified plugin. Provide the plugin name. Example: "my-plugin"
configNoSpecify the path to a custom Vendure config file. Example: "./custom-vendure-config.ts"
customFieldsNoAdd custom fields support to the entity (boolean flag)
entityNoAdd a new entity with the specified class name. Example: "Product" or "Customer". Requires selectedPlugin to be specified.
jobQueueNoAdd job-queue support to the specified plugin. Provide the plugin name. Example: "my-plugin"
mutationNameNoName for the GraphQL mutation (used with apiExtension). Example: "createCustomOrder" or "updateSpecialPrice"
nameNoName for the job queue (required with jobQueue). Example: "email-queue" or "product-import-queue"
pluginNoCreate a new plugin with the specified name. Example: "MyNewPlugin"
projectPathYesPath to the Vendure project directory (required)
queryNameNoName for the GraphQL query (used with apiExtension). Example: "customProducts" or "getSpecialOffers"
selectedEntityNoName of the entity for entity service (automatically sets type to entity). Example: "Product"
selectedPluginNoName of the plugin to add the entity/service/api-extension to. Must be an existing plugin name. Example: "my-plugin" or "test-plugin"
selectedServiceNoName of the service to add the job queue or API extension to. Must be an existing service. Example: "ProductService"
serviceNoAdd a new service with the specified class name. Example: "ProductService" or "OrderService". Requires selectedPlugin to be specified.
translatableNoMake the entity translatable (boolean flag)
typeNoType of service: "basic" or "entity" (default: basic). Use "entity" when working with database entities.
uiExtensionsNoAdd Admin UI extensions setup to the specified plugin. Provide the plugin name. Example: "my-plugin"

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "apiExtension": { "description": "Add an API extension scaffold to the specified plugin. Provide the plugin name. Example: \"my-plugin\". Requires queryName or mutationName and selectedService.", "type": "string" }, "codegen": { "description": "Add GraphQL codegen configuration to the specified plugin. Provide the plugin name. Example: \"my-plugin\"", "type": "string" }, "config": { "description": "Specify the path to a custom Vendure config file. Example: \"./custom-vendure-config.ts\"", "type": "string" }, "customFields": { "description": "Add custom fields support to the entity (boolean flag)", "type": "boolean" }, "entity": { "description": "Add a new entity with the specified class name. Example: \"Product\" or \"Customer\". Requires selectedPlugin to be specified.", "type": "string" }, "jobQueue": { "description": "Add job-queue support to the specified plugin. Provide the plugin name. Example: \"my-plugin\"", "type": "string" }, "mutationName": { "description": "Name for the GraphQL mutation (used with apiExtension). Example: \"createCustomOrder\" or \"updateSpecialPrice\"", "type": "string" }, "name": { "description": "Name for the job queue (required with jobQueue). Example: \"email-queue\" or \"product-import-queue\"", "type": "string" }, "plugin": { "description": "Create a new plugin with the specified name. Example: \"MyNewPlugin\"", "type": "string" }, "projectPath": { "description": "Path to the Vendure project directory (required)", "type": "string" }, "queryName": { "description": "Name for the GraphQL query (used with apiExtension). Example: \"customProducts\" or \"getSpecialOffers\"", "type": "string" }, "selectedEntity": { "description": "Name of the entity for entity service (automatically sets type to entity). Example: \"Product\"", "type": "string" }, "selectedPlugin": { "description": "Name of the plugin to add the entity/service/api-extension to. Must be an existing plugin name. Example: \"my-plugin\" or \"test-plugin\"", "type": "string" }, "selectedService": { "description": "Name of the service to add the job queue or API extension to. Must be an existing service. Example: \"ProductService\"", "type": "string" }, "service": { "description": "Add a new service with the specified class name. Example: \"ProductService\" or \"OrderService\". Requires selectedPlugin to be specified.", "type": "string" }, "translatable": { "description": "Make the entity translatable (boolean flag)", "type": "boolean" }, "type": { "description": "Type of service: \"basic\" or \"entity\" (default: basic). Use \"entity\" when working with database entities.", "type": "string" }, "uiExtensions": { "description": "Add Admin UI extensions setup to the specified plugin. Provide the plugin name. Example: \"my-plugin\"", "type": "string" } }, "required": [ "projectPath" ], "type": "object" }
Install Server

Other Tools from Vendure MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vendure-ecommerce/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server