Make AI-generated 3D assets web-ready. Analyze against performance budgets, auto-optimize (weld, simplify, WebP/KTX2, LOD chains), extrude logos/SVGs into 3D, export print-ready STL, scaffold React Three Fiber viewers — as a CLI and an MCP server for AI agents. Works with Meshy and any glTF/GLB.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add glbforge --env MESHY_API_KEY='<MESHY_API_KEY>' -- npx -y @glbforge/mcp~/.codex/config.toml
[mcp_servers.glbforge]
command = "npx"
args = ["-y", "@glbforge/mcp"]
env = { MESHY_API_KEY = "<MESHY_API_KEY>" }
# codex mcp add glbforge --env MESHY_API_KEY='<MESHY_API_KEY>' -- npx -y @glbforge/mcp~/.cursor/mcp.json
{
"mcpServers": {
"glbforge": {
"command": "npx",
"args": [
"-y",
"@glbforge/mcp"
],
"env": {
"MESHY_API_KEY": "<MESHY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"glbforge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@glbforge/mcp"
],
"env": {
"MESHY_API_KEY": "<MESHY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"glbforge": {
"command": "npx",
"args": [
"-y",
"@glbforge/mcp"
],
"env": {
"MESHY_API_KEY": "<MESHY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"glbforge": {
"command": "npx",
"args": [
"-y",
"@glbforge/mcp"
],
"env": {
"MESHY_API_KEY": "<MESHY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"glbforge": {
"command": "npx",
"args": [
"-y",
"@glbforge/mcp"
],
"env": {
"MESHY_API_KEY": "<MESHY_API_KEY>"
}
}
}
}需要的环境变量
MESHY_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。