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
---
name: inspect-model
description: Inspect BREP documents, units, solid validity, bounds and volume before choosing an edit.
metadata:
  version: "2.0.0"
---

Look signatures up with the `sdk` tool when you need them (`sdk({})` lists the namespaces, `sdk({topic: "scene.model_inspect"})` gives one action's TypeScript signature). Pass this program to the `run` tool as `code`; `sdk` is a global and the returned value is the result:

```js
const tabs = await sdk.document.docs_list({});
const model = await sdk.scene.model_inspect({});
return { tabs, model };
```

Confirm the intended document and units before interpreting dimensions. Names and geometry references come from the live model; do not invent them. Return relevant measurements and warnings, not the entire registry. Return `await sdk.capture.screenshot({})` from a program when visual confirmation helps: the image is attached to the `run` reply.

Connection: HTTP requires the bearer token from the configured token file
(default `~/.config/brep-app/mcp-token`, overridden by `BREP_MCP_TOKEN_FILE`).
Use the client's environment-backed credential configuration; never print or
save the token in instructions or committed settings. This server does not use
OAuth/Dynamic Client Registration. For independent modeling without a window,
connect to `brep-mcp serve`; `brep-app --mcp` controls the visible app.
`run({code})` normally awaits its result in the same call; use `run({executionId})`
for recovery or after explicitly requesting a bounded `wait_ms`.