Mantis Mcp

io.github.kahlilashanti由 GitHub 账号 kahlilashanti 发布v1.1.0更新于 Oct 24, 2026

Build proven high converting product showrooms and websites from your existing ecommerce catalog

已验证STDIO仅桌面开发者工具商业与电商

概览

AI 生成的概览

Mantis MCP 让 AI 助手生成 Mantis 沉浸式商品展厅的集成代码,并在配置后从店铺目录创建和发布展厅。

可以做什么
生成 SDK 安装步骤以及针对 React、Vue、Next.js、Shopify 或原生 JavaScript 的框架集成代码,并生成 Mantis SDK 事件处理代码。诊断控制台错误,并检查 WebGL、postMessage 和全屏等功能的浏览器兼容性。校验 SDK 安装,从 Shopify、CSV 或手动输入导入商品目录,并创建或发布沉浸式展厅。用模拟数据演示 postMessage 调试、SDK 事件测试、用户流程、性能指标和事件流分析。
适用场景
适合在店铺前端接入 Mantis 沉浸式展厅 SDK 时使用,获取生成的集成代码、错误诊断和兼容性检查。也适合已使用 Mantis 的团队,让助手协助从现有目录创建、校验或发布展厅。
运行要求
通过 npx 或全局 npm 安装在本机运行,需要 Node.js。可选的 MANTIS_API_URL 和 MANTIS_AUTH_TOKEN 用于连接真实的 Mantis 实例,Mantis 用户会在账户设置时获得。未配置时工具使用模拟数据。
安装前请注意
MANTIS_AUTH_TOKEN 是访问 Mantis API 的持有者凭证,应妥善保密。部分工具为模拟或仅部分接通,结果可能不代表真实平台。配置 API 后,创建和发布展厅会改变线上状态。商家需自行提供 .glb/.gltf 素材,该服务器不生成素材。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mantis Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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

bash
npx mantis-mcp

Or install globally:

bash
npm install -g mantis-mcp

Then configure in Claude Desktop, Cursor, or any MCP-compatible client (see Configuration below).

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:

bash
MANTIS_API_URL=https://your-mantis-instance.comMANTIS_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:
json
{  "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

bash
# Clone and installgit clone https://github.com/kahlilashanti/mantis-mcp.gitcd mantis-mcpnpm install
# Buildnpm run build
# Run locallynpm start

License

MIT

Links

来源:README.md,提交 aeb2bf2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分