MCPSERV.CLUB
locchung

Three Js MCP

MCP Server

Control Three.js projects via Model Context Protocol

Stale(50)
17stars
2views
Updated 15 days ago

About

A lightweight MCP server that provides basic control over Three.js source code, enabling remote manipulation and integration with other MCP clients.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Overview

The Three JS MCP server bridges the gap between AI assistants and interactive 3D graphics. By exposing a minimal set of Three JS functions over the Model Context Protocol, it allows Claude or other AI agents to programmatically manipulate a Three JS scene in real time. This capability is especially useful for developers who want to prototype visualizations, generate dynamic content, or embed 3D interactions directly into conversational workflows without writing JavaScript themselves.

At its core, the server provides a thin wrapper around the most common Three JS primitives—creating geometries, materials, lights, and cameras—and offers a handful of control commands such as adding or removing objects, updating positions, and adjusting material properties. These actions are mapped to MCP resources that the AI can invoke by specifying a tool name and parameters, making it trivial for an assistant to say “add a spinning cube” or “change the background color.” Because the server runs locally, developers can quickly iterate on designs while still benefiting from AI‑driven suggestions and explanations.

Key features include:

  • Scene manipulation: Add, delete, or transform objects in the 3D scene.
  • Material and lighting control: Adjust colors, textures, and light intensity on the fly.
  • Camera management: Switch between perspectives or animate camera movements.
  • Real‑time feedback: The AI receives immediate visual confirmation of its commands, enabling a loop of suggestion–execution–evaluation.

Typical use cases span from educational tools that let students ask an AI to build a simple model, to rapid prototyping environments where designers can describe a scene in natural language and have it rendered instantly. In a web‑based application, the MCP server can act as an intermediary that translates conversational commands into Three JS updates, allowing non‑technical users to explore 3D data or simulations without touching code.

What sets this MCP server apart is its focus on simplicity and immediacy. By limiting the exposed API to essential Three JS functions, it reduces complexity for both developers and AI assistants while still offering enough flexibility to create engaging visual content. The result is a lightweight, developer‑friendly tool that turns natural language into real‑time 3D graphics, opening new possibilities for interactive AI applications.