Token导航 LogoToken导航TokenDH.com
Threejs Devtools MCP logo
开发工具未说明官方级别未说明来源级核验

Threejs Devtools MCP

MCP Server

用于实时检查和修改Three.js场景的MCP服务器,提供59种工具用于对象、材质、着色器、纹理、动画、性能监控、内存诊断和代码生成。

工具数

0

提示词数

0

GitHub Stars

59

资源数

0
TypeScriptClaude代码生成Claude DesktopClaudeCursorWindsurfVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

DmitriyGolub

提供方

DmitriyGolub

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

threejs开发工具mcp

](https://www.npmjs.com/package/threejs-devtools-mcp) ![license](LICENSE) ![build](https://github.com/DmitriyGolub/threejs-devtools-mcp/actions) ![MCP Registry](https://mcp-marketplace.io/server/io-github-dmitriygolub-threejs-devtools)

用于实时检查和修改Three.js场景的MCP服务器-- 59工具 用于对象、材质、着色器、纹理、动画、性能监控、内存诊断和代码生成。

您的项目没有任何更改。 适用于vanilla Three.js、React Three Fiber和任何框架。

Annotated screenshot

设置

1.添加MCP服务器

Claude Code

claude mcp add threejs-devtools-mcp -- npx threejs-devtools-mcp

Claude Desktop

添加 claude_desktop_config.json:

{
  "mcpServers": {
    "threejs-devtools-mcp": {
      "command": "npx",
      "args": ["-y", "threejs-devtools-mcp"]
    }
  }
}

Cursor

添加 .cursor/mcp.json 在您的项目中:

{
  "mcpServers": {
    "threejs-devtools-mcp": {
      "command": "npx",
      "args": ["-y", "threejs-devtools-mcp"]
    }
  }
}

或者使用HTTP传输——请参阅 光标设置指南.

Windsurf

添加 ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "threejs-devtools-mcp": {
      "command": "npx",
      "args": ["-y", "threejs-devtools-mcp"]
    }
  }
}

VS Code (Copilot)

添加 .vscode/mcp.json:

{
  "servers": {
    "threejs-devtools-mcp": {
      "command": "npx",
      "args": ["-y", "threejs-devtools-mcp"]
    }
  }
}

OpenCode

添加 opencode.json 在您的项目中:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "threejs-devtools-mcp": {
      "type": "local",
      "command": ["npx", "-y", "threejs-devtools-mcp"],
      "enabled": true
    }
  }
}

2.启动开发服务器并打开浏览器

像往常一样启动Three.js开发服务器(npm run dev).MCP服务器自动检测来自的端口 package.json 并打开浏览器 localhost:9222 通过注入devtools桥。

保持浏览器选项卡打开。 MCP服务器通过WebSocket网桥与您的场景进行通信。关闭选项卡=工具停止工作。

3.向AI询问你的场景

"show me the scene tree"
"why is my model invisible?"
"make the car red"
"check for memory leaks"
"what's my FPS?"
"generate a React component from character.glb"

浏览器内覆盖

内置的devtools面板,具有实时性能统计、交互式场景图、材质编辑器和3D对象预览。自动激活或通过 toggle_overlay 工具。

Overlay panel

提示:命名对象

未命名对象显示为 (unnamed) 在场景树中。命名对象更容易查找和修改:

// Three.js
mesh.name = "player";
// React Three Fiber

文档

许可证

麻省理工学院

目录标签

目录标签

TypeScriptClaude代码生成Three.js本地部署3D开发实时调试性能优化

支持客户端

Claude DesktopClaudeCursorWindsurfVS Code

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP