Resources
Read your live model, scenarios, and reference docs without spending a tool call.
MCP resources are readable content a client can attach to the conversation. The CostPad server advertises the resources capability with subscribe + listChanged, so a host can read context without a tool call — and re-read automatically when the model changes.
Resource URIs
| URI | Contents |
|---|---|
costpad://simulation/current | Live session inputs (COGS, tiers, mix, add-ons, one-time purchases, scalars) |
costpad://economics/current | Computed economics for the current simulation |
costpad://product/current | A costpad.dev-importable ProductSnapshot of the session |
costpad://scenarios/{id} | Resource template — each saved scenario by name (with list + id completion) |
costpad://reference/methodology | How COGS, blended ARPU, margins, fees, and free-tier burn are computed |
costpad://reference/cogs-categories | The infra / api / tooling / support / other taxonomy and scalar definitions |
Live updates
When a tool mutates the model, the server emits notifications/resources/updated for the live resources — a subscribed host re-reads simulation / economics / product automatically. Saving, loading, or resetting scenarios emits listChanged so the scenario list stays current.
No tool call needed
Reading a resource doesn't run a tool. Use resources for ambient context — the current model, a saved scenario, the methodology glossary — and use tools to compute or change things.