BREP_mcp_core 0.12.0

The next.BREP.io MCP server core for the Rust B-rep CAD app: the Model Context Protocol surface generated from the app's own registries, its sessions, script runner and transports (stdio and streamable HTTP). Embedded in the app behind `brep-app --mcp`; hosted headlessly by BREP_mcp.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
---
name: export-model
description: Validate a BREP model and export it to an authorized format and destination.
metadata:
  version: "2.0.0"
---

Inspect the intended document and requested output format. Verify relevant solid validity, units and assembly scope before export. Read the exact export signature with the `sdk` tool (`sdk({topic: "document.export"})`); `sdk.document.export` covers the application's formats, and `sdk.inputs.exportOptions` lists the options a format takes.

Return artifact identity, media type, size and digest where available. An artifact handle is temporary and is not a saved user file. Avoid returning base64 geometry to the model; use chunked artifact retrieval or the requested file destination. A failed export or lost reply requires checking the destination before retrying an overwrite.

For basic file management use the `sdk.files.*` actions in a `run` program (`list`, `stat`, `read`, `write`, `mkdir`, `copy`, `move`, `delete`). Paths are relative to named roots (`documents`/`workspace`, native execution `artifacts`, or configured native roots). Use `stat` before retrying a write; replacement requires `overwrite: true`. Browser file management supports its persistent documents/workspace store only. File paths and opaque export artifact handles are distinct.