Skip to main content
Glama

3D Mesh Optimizer MCP

Smithery Compatible Model Context Protocol Base L2 Settlement Tools License: MIT

Automated 3D mesh decimation, Draco compression, watertight manifold auditing, and exact CSG booleans for WebGL and spatial agents.

Built specifically for Three.js, Babylon.js, WebGL developers, game asset pipelines, and 3D spatial computing agents.


⚡ Quickstart

Smithery Install

smithery skill add whambammy/spatial-mesh-optimizer-mcp

Claude Desktop / Cursor (claude_desktop_config.json)

{
  "mcpServers": {
    "spatial-mesh-optimizer-mcp": {
      "command": "npx",
      "args": ["-y", "@whambammy/spatial-mesh-optimizer-mcp"],
      "env": {
        "PAYMENT_WALLET": "0x9793E7269b3301893318dEa8338576Ba612F39B3",
        "BASE_RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}

Related MCP server: @warppay402/warppay402-mcp-tools

🛠️ Included Tools

Tool Name

Price (USDC)

Capability

optimize_3d_mesh

$0.05

Bakes normal maps, decimates polycount, Draco-compresses GLTF models for 3D web engines and spatial metaverses.

mesh_boolean_csg_exact

$0.050

Exact arbitrary-precision constructive solid geometry (CSG) mesh boolean operations (Union, Difference, Intersection) that resolve coplanar facets without crashing.

mesh_watertight_manifold_auditor

$0.035

Audits 3D geometry for non-manifold edges, T-junctions, duplicate vertices, flipped surface normals, and boundary holes before simulation or 3D fabrication.

mesh_decimate_quadric_simplifier

$0.040

Simplifies dense 3D meshes using Quadric Error Metrics (QEM), reducing polycounts by 50-90% while preserving silhouettes, UV borders, and vertex normals.

gltf_draco_mesh_quantizer

$0.035

Applies Draco geometry quantization and Meshopt encoding to glTF/GLB assets, reducing file payload by up to 85% for real-time spatial streaming.


🔄 End-to-End Workflow

An agent receives a raw CAD/OBJ model -> audits manifold watertightness -> applies exact CSG difference to carve out mounting holes -> decimates polygon count by 75% -> exports a web-ready Draco-compressed GLTF.


💰 The x402 Base L2 Micropayment Protocol

When an agent invokes a tool without payment, the server responds with a deterministic HTTP 402 Payment Required challenge containing:

  • Target tool price in USDC

  • Base Native USDC Contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

  • Recipient payout wallet address

  • Single-use cryptographic nonce

Once broadcasted on Base L2, resubmitting with paymentSignature unlocks deterministic execution.


📄 License

MIT License. Created by Whambammy.

Available Tools

5 tools
gltf_draco_mesh_quantizerB

Applies Draco geometry quantization and Meshopt encoding to glTF/GLB assets, reducing file payload by up to 85% for real-time spatial streaming. (0.035 USDC on Base L2)

Inputs: payload (required), paymentSignature.

mesh_boolean_csg_exactB

Exact arbitrary-precision constructive solid geometry (CSG) mesh boolean operations (Union, Difference, Intersection) that resolve coplanar facets without crashing. (0.050 USDC on Base L2)

Inputs: payload (required), paymentSignature.

mesh_decimate_quadric_simplifierA

Simplifies dense 3D meshes using Quadric Error Metrics (QEM), reducing polycounts by 50-90% while preserving silhouettes, UV borders, and vertex normals. (0.040 USDC on Base L2)

Inputs: payload (required), paymentSignature.

mesh_watertight_manifold_auditorA

Audits 3D geometry for non-manifold edges, T-junctions, duplicate vertices, flipped surface normals, and boundary holes before simulation or 3D fabrication. (0.035 USDC on Base L2)

Inputs: payload (required), paymentSignature.

optimize_3d_meshA

Bakes normal maps, decimates polycount, Draco-compresses GLTF models for 3D web engines and spatial metaverses. (0.05 USDC on Base L2)

Inputs: payload (required), paymentSignature.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation3/5

    optimize_3d_mesh is described as baking normal maps, decimating polycount, AND Draco-compressing GLTF — directly overlapping with mesh_decimate_quadric_simplifier and gltf_draco_mesh_quantizer. An agent cannot easily tell when to use the bundled pipeline versus the specialized tools. The boolean and audit tools are clearly distinct.

    Naming Consistency3/5

    Three tools follow a mesh_<noun> noun-led pattern (mesh_boolean_csg_exact, mesh_watertight_manifold_auditor, mesh_decimate_quadric_simplifier), but optimize_3d_mesh is verb-led and gltf_draco_mesh_quantizer is prefixed by format. Readable but inconsistent conventions.

    Tool Count5/5

    Five tools is well-scoped for a focused 3D mesh optimization domain, with each core capability (boolean, audit, decimate, compress, bundled optimize) earning its place. No bloat or thinness.

    Completeness3/5

    Covers optimization, decimation, compression, CSG, and auditing, but the auditor only detects problems — there is no repair/cleanup tool to fix non-manifold edges or holes. Format conversion and LOD generation are also absent, though agents can work around these.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Machine-native GIS processing API for AI agents and developers. Convert, reproject, validate, repair, buffer, clip, dissolve, and tile vector geodata across 25 endpoints. Pay-per-use USDC on Solana Mainnet ($0.01/op). No accounts, no API keys. Remote MCP SSE.
      -
    • A
      license
      C
      quality
      C
      maintenance
      Provides AI agents with 200 deterministic micro-services covering code auditing, 3D/robotics, media processing, cryptography, blockchain settlement, AI safety, networking, and math, with automatic x402 USDC micropayments.
      200
      MIT