Exposes Vendure's data and operations to AI agents via the Model Context Protocol.
Tools decorated with @McpTool are automatically discovered and registered at bootstrap.
Example
ResolvedMcpPluginOptionsThe plugin options with every default applied. init() sets this, so it holds no value
until the plugin is added to your Vendure config.
(consumer: MiddlewareConsumer) => void(options: McpPluginOptions = {}) => Type<McpPlugin>Sets the plugin options and returns the plugin class to add to your plugins array.
Any option you leave out falls back to its default.
() => voidBuilds the MCP message schemas up front, so the cost lands on startup rather than the first request, then checks the configured options for anything invalid or unsafe for a production server. Runs at startup, main server process only.
Architecture reviews, custom plugin work, migrations, ongoing support. Get a hand from the team that builds Vendure.