@meterbox/mcp 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tiers.js +8 -0
- package/package.json +1 -1
package/lib/tiers.js
CHANGED
|
@@ -30,6 +30,8 @@ const TIERS = {
|
|
|
30
30
|
"GET /v1/billing/invoices": "read",
|
|
31
31
|
"GET /v1/billing/invoices/{id}": "read",
|
|
32
32
|
"GET /v1/billing/payment-methods/{id}": "read",
|
|
33
|
+
"GET /v1/billing/rerates": "read",
|
|
34
|
+
"GET /v1/billing/rerates/{id}": "read",
|
|
33
35
|
"GET /v1/catalog/pricing-page": "read",
|
|
34
36
|
"GET /v1/catalog/pricing-page.js": "read",
|
|
35
37
|
"POST /v1/config-promotion/preview": "read",
|
|
@@ -88,6 +90,8 @@ const TIERS = {
|
|
|
88
90
|
"GET /v1/meter/queue-status": "read",
|
|
89
91
|
"GET /v1/meter/status/{id}": "read",
|
|
90
92
|
"GET /v1/models": "read",
|
|
93
|
+
"GET /v1/models/price-changes": "read",
|
|
94
|
+
"GET /v1/models/{id}/price-change/preview": "read",
|
|
91
95
|
"GET /v1/onboarding/dismissals": "read",
|
|
92
96
|
"GET /v1/outcomes": "read",
|
|
93
97
|
"GET /v1/plans": "read",
|
|
@@ -111,6 +115,7 @@ const TIERS = {
|
|
|
111
115
|
"GET /v1/warehouse/manifest": "read",
|
|
112
116
|
// ── create: Purely additive: a new resource, no money movement, nothing overwritten.
|
|
113
117
|
"POST /v1/alerts/rules": "create",
|
|
118
|
+
"POST /v1/billing/rerates": "create",
|
|
114
119
|
"POST /v1/contracts/{id}/convert": "create",
|
|
115
120
|
"POST /v1/coupons": "create",
|
|
116
121
|
"POST /v1/customers/{id}/promo-entitlements": "create",
|
|
@@ -152,6 +157,8 @@ const TIERS = {
|
|
|
152
157
|
"POST /v1/integrations/kafka/run": "update",
|
|
153
158
|
"POST /v1/meter/run": "update",
|
|
154
159
|
"POST /v1/models": "update",
|
|
160
|
+
"POST /v1/models/{id}/price-change/apply": "update",
|
|
161
|
+
"POST /v1/models/{id}/price-change/dismiss": "update",
|
|
155
162
|
"PUT /v1/models/{id}": "update",
|
|
156
163
|
"DELETE /v1/onboarding/dismissals/{id}": "update",
|
|
157
164
|
"POST /v1/outcomes": "update",
|
|
@@ -166,6 +173,7 @@ const TIERS = {
|
|
|
166
173
|
// ── destructive: Irreversible, money-moving (charges, refunds, credit notes, invoices, subscription changes), ledger/credit/wallet-affecting, or usage ingestion. Sandbox only.
|
|
167
174
|
"DELETE /v1/addons/{id}": "destructive",
|
|
168
175
|
"POST /v1/billing/close": "destructive",
|
|
176
|
+
"POST /v1/billing/rerates/{id}/apply": "destructive",
|
|
169
177
|
"POST /v1/billing/invoices/{id}/advance": "destructive",
|
|
170
178
|
"POST /v1/billing/invoices/{id}/approve": "destructive",
|
|
171
179
|
"POST /v1/billing/invoices/{id}/retry": "destructive",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meterbox/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Meterbox MCP server: the hosted /mcp endpoint's tools and policy, plus a stdio bridge (npx @meterbox/mcp) for MCP clients that only speak stdio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://meterbox.ai",
|