Skip to main content
Glama
Mantis Immersive Commerce MCP

Mantis Immersive Commerce MCP

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-mcp

Or install globally:

npm install -g mantis-mcp

Then 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_here

Mantis 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:

  1. Open Settings → Developer → Edit Config

  2. Add:

{
  "mcpServers": {
    "mantis-mcp": {
      "command": "npx",
      "args": ["mantis-mcp"]
    }
  }
}

Cursor:

  1. Settings → MCP Servers → Add new server

  2. 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 start

License

MIT

Available Tools

14 tools
analyzeConsoleErrorsC

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

    B3.1/5.0

    Scored across 14 tools

    Disambiguation3/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    Related MCP Servers