Mantis Immersive Commerce MCP
Generates Mantis SDK installation and integration code for vanilla JavaScript projects.
Generates Mantis SDK integration code, event handlers, cart integration, and analytics tracking for Next.js projects.
Generates Mantis SDK integration code, event handlers, cart integration, and analytics tracking for React projects.
Allows importing product catalogs from Shopify and generating Mantis SDK integration code for Shopify-based commerce projects.
Mantis MCP Server
AI assistant tools for building high-converting immersive commerce showrooms from your existing e-commerce catalog. Built on Mantis's production immersive-commerce platform, used by Fortune 500 brands including New Balance, with deployments spanning the Paris 2024 Olympics, MLB, NHL, and the Premier League.
Part of Mantis's vision for agent-invoked immersive commerce infrastructure. Learn more at mantisxr.com.
Quick Start
npx mantis-mcpOr install globally:
npm install -g mantis-mcpThen configure in Claude Desktop, Cursor, or any MCP-compatible client (see Configuration below).
Related MCP server: ecommerce-3d-mcp
Status
The Mantis showroom platform this MCP connects to is live in production, used by Fortune 500 brands including New Balance, with deployments including the Paris 2024 Olympics, Chicago Cubs (MLB), St. Louis Blues (NHL), and Burnley FC and other Premier League clubs. This MCP server is how that platform gets exposed to AI agents, and it's actively in development. Some tools are fully wired to the real platform API today; others are simulated while backend endpoints are being built out. See the tool status below for exactly what's real versus in progress.
Setup
Environment Variables (Optional)
Configure these to connect to the real Mantis API:
MANTIS_API_URL=https://your-mantis-instance.com
MANTIS_AUTH_TOKEN=your_token_hereMantis users receive their API URL and auth token during account setup. Without these, tools work with simulated data for code generation and planning.
Configuration
Claude Desktop:
Open Settings → Developer → Edit Config
Add:
{
"mcpServers": {
"mantis-mcp": {
"command": "npx",
"args": ["mantis-mcp"]
}
}
}Cursor:
Settings → MCP Servers → Add new server
Configure with
npx mantis-mcp
Other MCP clients: Use npx mantis-mcp or node /path/to/dist/index.js
Tools
✅ Fully Working (no API required)
installMantisSDK Generates installation commands and .npmrc setup for integrating Mantis SDK into React, Vue, Next.js, Shopify, or vanilla JavaScript projects.
createMantisIntegration Generates complete, framework-specific integration code with event handlers, cart integration, and analytics tracking.
generateEventHandler Creates event handler code for Mantis SDK events (cart-opened, model-click, variant-changed, etc.).
analyzeConsoleErrors Pattern-matches common errors (SDK not loaded, postMessage blocked, WebGL issues) and provides fixes with code examples.
checkBrowserCompatibility Checks browser compatibility for WebGL, postMessage, fullscreen, and other immersive features with polyfill recommendations.
🟡 Partially Working (uses real API when configured)
validateSetup
Validates Mantis SDK installation. Calls real showrooms.getShowroom API if MANTIS_API_URL is configured, otherwise returns sample validation checks.
importCatalog Imports product catalogs from Shopify (real API), CSV, or manual input. Data parsed successfully; backend storage endpoints pending.
createStore
Creates an immersive showroom. Attempts real showrooms.createShowroom API call if configured, falls back to mock response with guidance.
publishStore
Publishes showroom live. Attempts real showrooms.updateShowroom API if configured, otherwise simulates status change to active.
🔴 Mocked (simulated data, backend endpoints pending)
debugPostMessage Simulates postMessage debugging scenarios with realistic message timelines, origin checks, and error patterns.
testMantisEvent Simulates SDK event testing (model-loaded, add-to-cart, etc.) with validation and performance timing.
simulateUserFlow Simulates multi-step user interaction flows (load → click → add-to-cart) with realistic delays and error scenarios.
getPerformanceMetrics Generates simulated performance data (FPS, load times, memory, GPU) based on requested metrics.
analyzeEventFlow Simulates event flow analysis with conversion funnels, dropoff points, and user behavior patterns.
What This MCP Does Not Do
Immersive Asset Generation: Mantis does not provide automated conversion of product photos into immersive-ready assets. Merchants must provide immersive-ready assets (.glb/.gltf files) when creating products. This is an intentional scope decision: automated asset generation is a commoditizing service layer that multiple companies have attempted without building sustainable businesses. Mantis's value is the immersive showroom platform, merchandising intelligence, and agent-invokable commerce infrastructure—not asset generation.
Development
# Clone and install
git clone https://github.com/kahlilashanti/mantis-mcp.git
cd mantis-mcp
npm install
# Build
npm run build
# Run locally
npm startLicense
MIT
Links
Available Tools
14 toolsanalyzeConsoleErrorsC
Analyze console errors and suggest fixes
Inputs: errors (required), browserInfo.
analyzeEventFlowC
Analyze event flow and user behavior
Inputs: timeRange, sessionData.
checkBrowserCompatibilityC
Check browser compatibility issues
Inputs: features (required), userAgent.
createMantisIntegrationC
Generate Mantis integration code for your framework
Inputs: features (required), framework (required), storeType, responseMode.
createStoreB
Create a 3D commerce showroom that converts better than traditional e-commerce. Use this after importing products to build a store that drives sales.
Inputs: name (required), config, products, description, +1 more.
debugPostMessageC
Debug postMessage communication issues
Inputs: url, captureTime, filterOrigin.
generateEventHandlerC
Generate event handler code for Mantis SDK events
Inputs: event (required), action (required), framework (required).
getPerformanceMetricsC
Get performance metrics for 3D experience
Inputs: metrics (required), url, duration.
importCatalogB
Import product catalog from Shopify, CSV, or manual input to build a high-converting 3D commerce store. Use this when a merchant wants to create or improve an e-commerce store.
Inputs: source (required), csvData, products, shopifyStore, +1 more.
installMantisSDKC
Install and configure Mantis SDK with proper .npmrc setup
Inputs: framework (required), authToken, projectPath.
publishStoreA
Publish the 3D showroom live so customers can start shopping and converting. Final step to launch a high-converting store.
Inputs: domain, showroomId, showroomAlias.
simulateUserFlowC
Simulate user interactions with Mantis experience
Inputs: flow (required), timing.
testMantisEventC
Test Mantis SDK events and responses
Inputs: event (required), data, expectedResponse.
validateSetupC
Validate Mantis SDK installation and configuration
Inputs: checkAuth, projectPath, checkOrigins.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
The set mixes distinct integration steps with several diagnostic and analysis tools that occupy overlapping territory. Tools like debugPostMessage, analyzeConsoleErrors, analyzeEventFlow, testMantisEvent, and simulateUserFlow all relate to observing or testing behavior, so an agent could easily select the wrong one despite individual descriptions.
Every tool follows a clear verb + noun camelCase convention, such as checkBrowserCompatibility, installMantisSDK, createStore, and publishStore. There are no mixed naming conventions, vague names, or inconsistent casing across the set.
14 tools is on the higher end but acceptable for a server spanning SDK setup, debugging, performance analysis, and store publishing. The count is not bloated enough to feel unfocused, though a few diagnostic tools could potentially be consolidated.
The core workflow is well covered: install/validate the SDK, generate integration and event code, debug/test events, import a catalog, create a store, and publish it. Missing lifecycle management, such as updating or deleting stores or managing an imported catalog, is a minor gap given the apparent one-time setup and launch focus.
Related MCP Connectors
Turn product photos into true-scale 3D models and AR pages, then publish, embed and catalog them.
Try-on widgets for online stores: rugs, flooring, wall art, AI try-on and AR on product pages.
Build and run AI product photography workflows: on-model shots, catalog images, prints and edits.
Virtual try-on and on-model AI fashion photography: catalog search, try-on grids, HD delivery.
Related MCP Servers
- AlicenseAqualityDmaintenanceKlarna-style product discovery for AI shopping agents. Makes product catalogs machine-readable so AI agents can search, compare, and purchase products programmatically.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to generate 3D product viewers, AR try-on experiences, Shopify integrations, and SEO metadata for e-commerce stores.30 npmMIT
- AlicenseNot gradedqualityDmaintenanceAI-native corporate gifting and event infrastructure for Fortune 500, enabling search of a 70,000+ SKU catalog, event program generation with live P&L, and wholesale quotes.MIT
- AlicenseBqualityCmaintenanceEnables AI agents to generate studio-grade fashion photography and 4K motion-captured video, perform garment try-ons and background edits, and export creative assets to commerce, productivity, and social platforms.28MIT