freeform-modeling-mcp 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.cursor/mcp.json CHANGED
@@ -7,8 +7,7 @@
7
7
  "src/cli.ts",
8
8
  "start",
9
9
  "--stdio"
10
- ],
11
- "cwd": "D:\\wain\\mcp-server"
10
+ ]
12
11
  },
13
12
  "aholo-sdk-mcp": {
14
13
  "type": "stdio",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freeform-modeling-mcp",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "KooMaster MCP Server with WebSocket Bridge",
5
5
  "main": "index.cjs",
6
6
  "type": "module",
@@ -45,6 +45,7 @@ export const importGeneratedAssetTool = {
45
45
  name: z.string().describe('The name to give to the imported object in the scene'),
46
46
  model_url: z.string().describe('Public HTTP(S) URL of a completed GLB/GLTF model. Do not pass archive or other mesh formats such as .zip/.obj/.fbx.'),
47
47
  preview_image_url: z.string().optional().describe('Optional preview image URL to show alongside the import job.'),
48
+ brandgoodid: z.string().optional().describe('Optional inventoried product id (brandGoodId). When provided, Koomaster stores it as the xref resource (type=custom) for rendering, and keeps the uploaded OBJ id in customProperties so the editor still displays via the original OBJ path.'),
48
49
  location: z.array(z.number()).describe('[x, y, z] center position coordinates for the imported model'),
49
50
  dimensions: z.array(z.number()).describe('[width, height, depth] absolute dimensions for the imported model, in millimeters'),
50
51
  rotation: z.array(z.number()).optional().describe('Optional [x, y, z] rotation in degrees. Following the Z-up coordinate system: rotation around X-axis tilts the object left/right (like nodding sideways), rotation around Y-axis tilts the object forward/backward (like nodding), and rotation around Z-axis rotates the object in the horizontal plane (like spinning on the ground). Positive values follow the right-hand rule: point thumb in positive axis direction, fingers show positive rotation direction.'),
@@ -91,6 +92,7 @@ export const importGeneratedAssetTool = {
91
92
  rotation: args.rotation,
92
93
  zipBuffer: zipBuffer.toString("base64"),
93
94
  boundingBox,
95
+ brandgoodid: args.brandgoodid,
94
96
  });
95
97
  baseProgressObj.data = objectInfo;
96
98
 
@@ -41,7 +41,7 @@ export const getToolsInfoTool = {
41
41
  "sweep - Creates a 3D solid by sweeping a FACE along auxiliary curves. NOTE: This tool operates ONLY on faces, not on entire objects or groups. The face can be either selected by the user or created programmatically. IMPORTANT: The face being swept (profile) must NOT be parallel to the auxiliary curves (path) - the sweep direction must have some component perpendicular to the face normal for the operation to succeed. After the sweep operation completes, the original face (profile) will be automatically deleted from the model.",
42
42
  ],
43
43
  generated: [
44
- "import_generated_asset - Import a generated GLB/GLTF model from any source that provides a public model URL. Requires model_url plus name/location/dimensions.",
44
+ "import_generated_asset - Import a generated GLB/GLTF model from any source that provides a public model URL. Requires model_url plus name/location/dimensions. Optional brandgoodid stores the inventoried product id as the xref resource.",
45
45
  "poll_import_status - Query GLB-to-scene import progress using the import_uuid returned by import_generated_asset."
46
46
  ],
47
47
  assets: [