The Workbench MCP server is at
https://penumbra-shape-workbench-mcp-server.penumbra.workers.dev/mcp. It accepts a Penumbra API key (pnbr-...) or OAuth. Every tool below is a design-time tool — nothing reaches the runtime until you call shape_workbench_materialize.The workflow: compile early, preview before you materialize
Open a draft
Open the shape with
shape_workbench_open in new, edit, or fork mode. Use inspect mode to look without editing.Compile early and often
Run
shape_workbench_compile after meaningful edits. It returns the structure, denotative, and operative views plus version hashes, so you catch problems while the draft is cheap to change.Diff against committed
Run
shape_workbench_diff to see exactly what your draft changes relative to the committed shape.Preview the runtime surface
Run
shape_workbench_preview_operating_surface to see what runtime agents and generated tools will see once you materialize.Compile the three views
shape_workbench_compile returns three views of the draft plus version hashes. Read them together — each answers a different question.
| View | What it shows |
|---|---|
| Structure | The types, properties, and relationships as authored. |
| Denotative | What the shape denotes — the meaning surface of the compiled shape. |
| Operative | How the shape operates at runtime. |
Tool call
Inspect the draft
shape_workbench_inspect reads the current draft state. Use it to confirm what you’ve authored so far — types, properties, and relationships — before you compile or diff.
Tool call
inspect mode with shape_workbench_open when you want to look at a shape without starting an edit.
Diff the draft against committed
shape_workbench_diff compares your draft against the committed version of the shape. This is the change you’re proposing — read it before you materialize so nothing lands by surprise.
Tool call
Export the schema
shape_workbench_export_schema exports the draft’s schema. Use it when you want the schema artifact in hand — to review the field-level shape of the data, share it, or check it into a downstream consumer.
Tool call
Preview the operating surface
shape_workbench_preview_operating_surface shows exactly what runtime agents and generated tools will see — the shape-to-tools compilation surface. Shapes compile into the runtime tool surface, so this preview is the last check before you commit.
Tool call
Preview is a read of the compilation surface, not the live runtime. It shows what the compiled shape would expose. The shape only reaches runtime once you call
shape_workbench_materialize.Materialize
When the diff is clean and the operating-surface preview matches what you want runtime agents and tools to see, commit the draft withshape_workbench_materialize. This materializes the compiled shape to its project.
Tool call
A tight validation pass
Run this loop on every draft before you commit:Preview operating surface
shape_workbench_preview_operating_surface — confirm the runtime tool surface.