The Workbench MCP server is at
https://shapes.pnbr.io/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 validates the draft and returns its 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 tools
Run
shape_workbench_preview_operating_surface to see what runtime agents and generated tools will see once you materialize.Compile
shape_workbench_compile validates the draft and returns its version hashes. A clean compile means the model is coherent — types, properties, and relationships hold together — and the draft is ready to diff and preview.
The version hashes let you tell drafts apart and confirm which compiled state you’re looking at. Compile after each round of edits so the hashes stay current.
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 tools
shape_workbench_preview_operating_surface shows exactly what runtime agents and generated tools will see. A shape compiles into the tools agents use, 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:
See /shapes/overview for shape concepts and the /agents/connect guide for connecting the runtime tool surface to agents.