lunar
Browser-based geometry processing server that enables AI agents to create geometry, run analysis and operators, inspect results, and take screenshots via MCP.
README
<p align="center"> <img src="public/favicon.svg" width="80" alt="Lunar" /> <br /> <strong>Lunar</strong> </p>
<p align="center"> Browser-based geometry processing. AI-controllable via MCP. Powered by <a href="https://github.com/polydera/trueform">trueform</a>. </p>
<p align="center"> <a href="https://lunar.polydera.com"><strong>Live App</strong></a> · <a href="https://trueform.polydera.com"><strong>trueform Docs</strong></a> </p>
<br />
<p align="center"> <img src="img/Lunar-Screenshot.png" alt="Lunar — Stanford Dragon with Shape Index coloring" width="900" /> </p>
Features
- Analysis — topology, curvature, distance fields, histograms, per-component stats
- Arrangements & booleans — booleans, multi-mesh arrangements, polygon soup arrangements and self-intersection resolution
- Remeshing — isotropic remesh, decimation, Laplacian and Taubin smoothing
- Isocontours & isobands — scalar field level sets with curve triangulation
- Alignment — ICP and OBB registration, frame alignment
- AI-controllable — full MCP server; every operator callable by AI agents
- Import / Export — STL and OBJ with drag-and-drop
All computation runs in trueform's WASM runtime — parallel, exact, and browser-native.
Getting Started
pnpm install
pnpm dev # Vite dev server (no MCP)
pnpm dev:mcp # build + wrangler dev (full MCP stack, port 8788)
Requires Node 20+ and pnpm. pnpm dev is fastest for UI work. pnpm dev:mcp runs the full Cloudflare Worker stack locally with MCP support.
AI Integration
Lunar exposes an MCP server. Connect any MCP-compatible AI assistant (Claude, etc.) to control the scene programmatically — create geometry, run operators, inspect results, take screenshots. See the MCP panel in the app for the connection URL.
Tech Stack
Vue 3 · Three.js · trueform (WASM) · Nuxt UI · Vite
License
Dual-licensed: PolyForm Noncommercial 1.0.0 for noncommercial use, commercial licenses available.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.