@omkar273/mcp-temp 0.0.21 → 0.0.42

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/manifest.json ADDED
@@ -0,0 +1,804 @@
1
+ {
2
+ "author": {
3
+ "name": "flexprice"
4
+ },
5
+ "description": "",
6
+ "displayName": "Flexprice",
7
+ "display_name": "@omkar273/mcp Temp",
8
+ "keywords": [
9
+ "@omkar273/mcp",
10
+ "temp",
11
+ "flexprice",
12
+ "api",
13
+ "provides"
14
+ ],
15
+ "long_description": "Flexprice API: Flexprice API provides billing, metering, and subscription management for SaaS and usage-based products. Use it to manage customers, plans, invoices, payments, usage events, and entitlements. Authenticate with an API key in the x-api-key header.",
16
+ "manifest_version": "0.3",
17
+ "name": "@omkar273/mcp-temp",
18
+ "prompts": [],
19
+ "server": {
20
+ "type": "node",
21
+ "entry_point": "./bin/mcp-server.js",
22
+ "mcp_config": {
23
+ "command": "node",
24
+ "args": [
25
+ "${__dirname}/bin/mcp-server.js",
26
+ "start",
27
+ "--server-url",
28
+ "${user_config.server_url}",
29
+ "--api-key-auth",
30
+ "${user_config.api_key_auth}"
31
+ ]
32
+ }
33
+ },
34
+ "user_config": {
35
+ "server_url": {
36
+ "type": "string",
37
+ "title": "Server URL",
38
+ "description": "The URL of the server to connect to",
39
+ "required": true
40
+ },
41
+ "api_key_auth": {
42
+ "type": "string",
43
+ "title": "ApiKeyAuth",
44
+ "description": "The ApiKeyAuth to use for the request",
45
+ "required": true,
46
+ "sensitive": true
47
+ }
48
+ },
49
+ "version": "0.0.42",
50
+ "tools": [
51
+ {
52
+ "name": "addons-create-addon",
53
+ "description": "Create addon\n\nUse when defining an optional purchasable item (e.g. extra storage or support tier). Ideal for add-ons that customers can attach to a subscription."
54
+ },
55
+ {
56
+ "name": "addons-get-addon-by-lookup-key",
57
+ "description": "Get addon by lookup key\n\nUse when resolving an addon by external id (e.g. from your product catalog). Ideal for integrations."
58
+ },
59
+ {
60
+ "name": "addons-query-addon",
61
+ "description": "Query addons\n\nUse when listing or searching addons (e.g. catalog or subscription builder). Returns a paginated list; supports filtering and sorting."
62
+ },
63
+ {
64
+ "name": "addons-get-addon",
65
+ "description": "Get addon\n\nUse when you need to load a single addon (e.g. for display or to attach to a subscription)."
66
+ },
67
+ {
68
+ "name": "addons-update-addon",
69
+ "description": "Update addon\n\nUse when changing addon details (e.g. name, pricing, or metadata)."
70
+ },
71
+ {
72
+ "name": "addons-delete-addon",
73
+ "description": "Delete addon\n\nUse when retiring an addon (e.g. end-of-life). Returns 200 with success message."
74
+ },
75
+ {
76
+ "name": "entitlements-get-addon-entitlements",
77
+ "description": "Get addon entitlements\n\nUse when checking what features or limits an addon grants (e.g. for display or entitlement logic)."
78
+ },
79
+ {
80
+ "name": "entitlements-create-entitlement",
81
+ "description": "Create entitlement\n\nUse when attaching a feature (and its limit) to a plan or addon (e.g. \"10 seats\" or \"1000 API calls\"). Defines what the plan/addon includes."
82
+ },
83
+ {
84
+ "name": "entitlements-create-entitlements-bulk",
85
+ "description": "Create entitlements in bulk\n\nUse when attaching many features to a plan or addon at once (e.g. initial plan setup or import). Bulk version of create entitlement."
86
+ },
87
+ {
88
+ "name": "entitlements-query-entitlement",
89
+ "description": "Query entitlements\n\nUse when listing or searching entitlements (e.g. plan editor or audit). Returns a paginated list; supports filtering by plan, addon, feature."
90
+ },
91
+ {
92
+ "name": "entitlements-get-entitlement",
93
+ "description": "Get entitlement\n\nUse when you need to load a single entitlement (e.g. to display or edit a feature limit)."
94
+ },
95
+ {
96
+ "name": "entitlements-update-entitlement",
97
+ "description": "Update entitlement\n\nUse when changing an entitlement (e.g. increasing or decreasing a limit). Request body contains the fields to update."
98
+ },
99
+ {
100
+ "name": "entitlements-delete-entitlement",
101
+ "description": "Delete entitlement\n\nUse when removing a feature from a plan or addon (e.g. deprecating a capability). Returns 200 with success message."
102
+ },
103
+ {
104
+ "name": "entitlements-get-plan-entitlements",
105
+ "description": "Get plan entitlements\n\nUse when checking what a plan includes (e.g. feature list or limits for display or gating)."
106
+ },
107
+ {
108
+ "name": "alerts-query-alert-log",
109
+ "description": "Query alert logs\n\nUse when viewing or searching alert history (e.g. support triage or customer-facing alert log). Returns a paginated list; supports filtering by type, customer, subscription."
110
+ },
111
+ {
112
+ "name": "costs-create-costsheet",
113
+ "description": "Create costsheet\n\nUse when setting up a new pricing configuration (e.g. a new product or region). Costsheets group prices and define the default for the environment."
114
+ },
115
+ {
116
+ "name": "costs-get-active-costsheet",
117
+ "description": "Get active costsheet\n\nUse when you need the tenant's default pricing configuration (e.g. for checkout or plan display). Returns the active costsheet for the environment."
118
+ },
119
+ {
120
+ "name": "costs-get-detailed-cost-analytics",
121
+ "description": "Get combined revenue and cost analytics\n\nUse when building dashboards or reports that need revenue vs cost, ROI, and margin over a time period (e.g. finance views or executive summaries)."
122
+ },
123
+ {
124
+ "name": "costs-get-detailed-cost-analytics-v2",
125
+ "description": "Get combined revenue and cost analytics (V2)\n\nUse when you need the same revenue/cost/ROI analytics but computed from the costsheet usage-tracking pipeline (e.g. for consistency with usage-based cost data)."
126
+ },
127
+ {
128
+ "name": "costs-query-costsheet",
129
+ "description": "Query costsheets\n\nUse when listing or searching costsheets (e.g. admin catalog). Returns a paginated list; supports filtering and sorting."
130
+ },
131
+ {
132
+ "name": "costs-get-costsheet",
133
+ "description": "Get costsheet\n\nUse when you need to load a single costsheet (e.g. for editing or display). Supports optional expand for related prices."
134
+ },
135
+ {
136
+ "name": "costs-update-costsheet",
137
+ "description": "Update costsheet\n\nUse when changing costsheet name or metadata."
138
+ },
139
+ {
140
+ "name": "costs-delete-costsheet",
141
+ "description": "Delete costsheet\n\nUse when retiring a costsheet (e.g. end-of-life product). Soft-deletes; status set to deleted."
142
+ },
143
+ {
144
+ "name": "coupons-create-coupon",
145
+ "description": "Create coupon\n\nUse when creating a discount (e.g. promo code or referral). Ideal for percent or fixed value, with optional validity and usage limits."
146
+ },
147
+ {
148
+ "name": "coupons-query-coupon",
149
+ "description": "Query coupons\n\nUse when listing or searching coupons (e.g. promo management). Returns a paginated list; supports filtering and sorting."
150
+ },
151
+ {
152
+ "name": "coupons-get-coupon",
153
+ "description": "Get coupon\n\nUse when you need to load a single coupon (e.g. for display or to validate a code)."
154
+ },
155
+ {
156
+ "name": "coupons-update-coupon",
157
+ "description": "Update coupon\n\nUse when changing coupon config (e.g. value, validity, or usage limits)."
158
+ },
159
+ {
160
+ "name": "coupons-delete-coupon",
161
+ "description": "Delete coupon\n\nUse when retiring a coupon (e.g. campaign ended). Returns 200 with success message."
162
+ },
163
+ {
164
+ "name": "credit-grants-create-credit-grant",
165
+ "description": "Create credit grant\n\nUse when giving a customer or plan credits (e.g. prepaid balance or promotional credits). Scope can be plan or subscription; supports start/end dates."
166
+ },
167
+ {
168
+ "name": "credit-grants-get-credit-grant",
169
+ "description": "Get credit grant\n\nUse when you need to load a single credit grant (e.g. for display or to check balance)."
170
+ },
171
+ {
172
+ "name": "credit-grants-update-credit-grant",
173
+ "description": "Update credit grant\n\nUse when changing a credit grant (e.g. amount or end date). Request body contains the fields to update."
174
+ },
175
+ {
176
+ "name": "credit-grants-delete-credit-grant",
177
+ "description": "Delete credit grant\n\nUse when removing or ending a credit grant (e.g. revoke promo or close prepaid). Plan-scoped grants are archived; subscription-scoped supports optional effective_date in body."
178
+ },
179
+ {
180
+ "name": "credit-grants-get-plan-credit-grants",
181
+ "description": "Get plan credit grants\n\nUse when listing credits attached to a plan (e.g. included prepaid or promo credits)."
182
+ },
183
+ {
184
+ "name": "credit-notes-create-credit-note",
185
+ "description": "Create credit note\n\nUse when issuing a refund or adjustment (e.g. customer dispute or proration). Links to an invoice; create as draft then finalize."
186
+ },
187
+ {
188
+ "name": "credit-notes-get-credit-note",
189
+ "description": "Get credit note\n\nUse when you need to load a single credit note (e.g. for display or reconciliation)."
190
+ },
191
+ {
192
+ "name": "credit-notes-process-credit-note",
193
+ "description": "Finalize credit note\n\nUse when locking a draft credit note and applying the credit (e.g. after approval). Once finalized, applied per billing provider."
194
+ },
195
+ {
196
+ "name": "credit-notes-void-credit-note",
197
+ "description": "Void credit note\n\nUse when cancelling a draft credit note (e.g. created by mistake). Only draft credit notes can be voided."
198
+ },
199
+ {
200
+ "name": "customers-update-customer",
201
+ "description": "Update customer\n\nUse when updating customer details (e.g. name, email, or metadata). Identify by id or external_customer_id."
202
+ },
203
+ {
204
+ "name": "customers-create-customer",
205
+ "description": "Create customer\n\nUse when onboarding a new billing customer (e.g. sign-up or CRM sync). Ideal for linking via external_customer_id to your app's user id."
206
+ },
207
+ {
208
+ "name": "customers-get-customer-by-external-id",
209
+ "description": "Get customer by external ID\n\nUse when resolving a customer by your app's id (e.g. from your user table). Ideal for integrations that key by external id."
210
+ },
211
+ {
212
+ "name": "customers-query-customer",
213
+ "description": "Query customers\n\nUse when listing or searching customers (e.g. admin CRM or reporting). Returns a paginated list; supports filtering and sorting."
214
+ },
215
+ {
216
+ "name": "customers-get-customer-usage-summary",
217
+ "description": "Get customer usage summary\n\nUse when showing a customer's usage (e.g. portal or overage alerts). Identify by customer_id or customer_lookup_key; supports filters."
218
+ },
219
+ {
220
+ "name": "customers-get-customer",
221
+ "description": "Get customer\n\nUse when you need to load a single customer (e.g. for a billing portal or to attach a subscription)."
222
+ },
223
+ {
224
+ "name": "customers-delete-customer",
225
+ "description": "Delete customer\n\nUse when removing a customer (e.g. GDPR or churn). Returns 204 No Content on success."
226
+ },
227
+ {
228
+ "name": "customers-get-customer-entitlements",
229
+ "description": "Get customer entitlements\n\nUse when checking what a customer can access (e.g. feature gating or usage limits). Supports optional filters (feature_ids, subscription_ids)."
230
+ },
231
+ {
232
+ "name": "customers-get-customer-upcoming-grants",
233
+ "description": "Get upcoming credit grant applications\n\nUse when showing upcoming or pending credits for a customer (e.g. in a portal or for forecasting)."
234
+ },
235
+ {
236
+ "name": "wallets-get-customer-wallets",
237
+ "description": "Get Customer Wallets\n\nUse when resolving wallets by external customer id or lookup key (e.g. from your app's user id). Supports optional real-time balance and expand."
238
+ },
239
+ {
240
+ "name": "wallets-get-wallets-by-customer-id",
241
+ "description": "Get wallets by customer ID\n\nUse when showing a customer's wallets (e.g. balance overview by currency or in a billing portal). Supports optional expand for balance breakdown."
242
+ },
243
+ {
244
+ "name": "wallets-create-wallet",
245
+ "description": "Create a new wallet\n\nUse when giving a customer a prepaid or credit balance (e.g. prepaid plans or promotional credits)."
246
+ },
247
+ {
248
+ "name": "wallets-query-wallet",
249
+ "description": "Query wallets\n\nUse when listing or searching wallets (e.g. admin view or reporting). Returns a paginated list; supports filtering by customer and status."
250
+ },
251
+ {
252
+ "name": "wallets-query-wallet-transaction",
253
+ "description": "Query wallet transactions\n\nUse when searching or reporting on wallet transactions (e.g. cross-wallet history or reconciliation). Returns a paginated list; supports filtering by wallet, customer, type, date range."
254
+ },
255
+ {
256
+ "name": "wallets-get-wallet",
257
+ "description": "Get wallet\n\nUse when you need to load a single wallet (e.g. for a balance or settings view)."
258
+ },
259
+ {
260
+ "name": "wallets-update-wallet",
261
+ "description": "Update a wallet\n\nUse when changing wallet settings (e.g. enabling or updating auto top-up thresholds)."
262
+ },
263
+ {
264
+ "name": "wallets-get-wallet-balance",
265
+ "description": "Get wallet balance\n\nUse when displaying or checking current wallet balance (e.g. before charging or in a portal). Supports optional expand for credits breakdown and from_cache."
266
+ },
267
+ {
268
+ "name": "wallets-terminate-wallet",
269
+ "description": "Terminate a wallet\n\nUse when closing a customer wallet (e.g. churn or migration). Closes the wallet and applies remaining balance per policy (refund or forfeit)."
270
+ },
271
+ {
272
+ "name": "wallets-top-up-wallet",
273
+ "description": "Top up wallet\n\nUse when adding funds to a wallet (e.g. top-up, refund, or manual credit). Supports optional idempotency via reference."
274
+ },
275
+ {
276
+ "name": "wallets-get-wallet-transactions",
277
+ "description": "Get wallet transactions\n\nUse when showing transaction history for a wallet (e.g. credit/debit log or audit). Returns a paginated list; supports limit, offset, and filters."
278
+ },
279
+ {
280
+ "name": "invoices-get-customer-invoice-summary",
281
+ "description": "Get customer invoice summary\n\nUse when showing a customer's invoice overview (e.g. billing portal or balance summary). Includes totals and multi-currency breakdown."
282
+ },
283
+ {
284
+ "name": "invoices-create-invoice",
285
+ "description": "Create one-off invoice\n\nUse when creating a manual or one-off invoice (e.g. custom charge or non-recurring billing). Invoice is created in draft; finalize when ready."
286
+ },
287
+ {
288
+ "name": "invoices-get-invoice-preview",
289
+ "description": "Get invoice preview\n\nUse when showing a customer what they will be charged (e.g. preview before checkout or plan change). No invoice is created."
290
+ },
291
+ {
292
+ "name": "invoices-query-invoice",
293
+ "description": "Query invoices\n\nUse when listing or searching invoices (e.g. admin view or customer history). Returns a paginated list; supports filtering by customer, status, date range."
294
+ },
295
+ {
296
+ "name": "invoices-get-invoice",
297
+ "description": "Get invoice\n\nUse when loading an invoice for display or editing (e.g. portal or reconciliation). Supports group_by for usage breakdown and force_runtime_recalculation."
298
+ },
299
+ {
300
+ "name": "invoices-update-invoice",
301
+ "description": "Update invoice\n\nUse when updating invoice metadata or due date (e.g. PDF URL, net terms). For paid invoices only safe fields can be updated."
302
+ },
303
+ {
304
+ "name": "invoices-trigger-invoice-comms-webhook",
305
+ "description": "Trigger invoice communication webhook\n\nUse when sending an invoice to the customer (e.g. trigger email or Slack). Payload includes full invoice details for your integration."
306
+ },
307
+ {
308
+ "name": "invoices-finalize-invoice",
309
+ "description": "Finalize invoice\n\nUse when locking an invoice for payment (e.g. after review). Once finalized, line items are locked; invoice can be paid or voided."
310
+ },
311
+ {
312
+ "name": "invoices-update-invoice-payment-status",
313
+ "description": "Update invoice payment status\n\nUse when reconciling payment status from an external gateway or manual entry (e.g. mark paid after bank confirmation)."
314
+ },
315
+ {
316
+ "name": "invoices-attempt-invoice-payment",
317
+ "description": "Attempt invoice payment\n\nUse when paying an invoice with the customer's wallet balance (e.g. prepaid credits or balance applied at checkout)."
318
+ },
319
+ {
320
+ "name": "invoices-get-invoice-pdf",
321
+ "description": "Get invoice PDF\n\nUse when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary."
322
+ },
323
+ {
324
+ "name": "invoices-recalculate-invoice",
325
+ "description": "Recalculate invoice\n\nUse when subscription or usage data changed and you need to refresh a draft invoice before finalizing. Optional finalize=true to lock after recalc."
326
+ },
327
+ {
328
+ "name": "invoices-void-invoice",
329
+ "description": "Void invoice\n\nUse when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided."
330
+ },
331
+ {
332
+ "name": "entity-integration-mappings-create-entity-8da",
333
+ "description": "Create entity integration mapping\n\nUse when linking a FlexPrice entity to an external system (e.g. CRM or payment provider) so you can sync or reconcile by external ID."
334
+ },
335
+ {
336
+ "name": "entity-integration-mappings-delete-entity-a57",
337
+ "description": "Delete entity integration mapping\n\nUse when unlinking a FlexPrice entity from an external system or cleaning up stale integration mappings."
338
+ },
339
+ {
340
+ "name": "environments-create-environment",
341
+ "description": "Create environment\n\nUse when setting up a new environment (e.g. production, staging) for the tenant. Ideal for separating billing or config per environment."
342
+ },
343
+ {
344
+ "name": "environments-update-environment",
345
+ "description": "Update environment\n\nUse when changing environment name or settings (e.g. renaming or updating metadata)."
346
+ },
347
+ {
348
+ "name": "events-ingest-event",
349
+ "description": "Ingest event\n\nUse when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id."
350
+ },
351
+ {
352
+ "name": "events-get-usage-analytics",
353
+ "description": "Get usage analytics\n\nUse when building analytics views (e.g. usage by feature or customer over time). Supports filtering, grouping, and time-series breakdown."
354
+ },
355
+ {
356
+ "name": "events-ingest-events-bulk",
357
+ "description": "Bulk ingest events\n\nUse when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted."
358
+ },
359
+ {
360
+ "name": "events-get-huggingface-inference-data",
361
+ "description": "Get Hugging Face inference data\n\nUse when fetching Hugging Face inference usage or billing data (e.g. for HF-specific reporting or reconciliation)."
362
+ },
363
+ {
364
+ "name": "events-list-raw-events",
365
+ "description": "List raw events\n\nUse when debugging ingestion or exporting raw event data (e.g. support or audit). Returns a paginated list; supports time range and sorting."
366
+ },
367
+ {
368
+ "name": "events-get-usage-statistics",
369
+ "description": "Get usage statistics\n\nUse when building usage reports or dashboards across events. Supports filters and grouping; defaults to last 7 days if no range provided."
370
+ },
371
+ {
372
+ "name": "events-get-usage-by-meter",
373
+ "description": "Get usage by meter\n\nUse when showing usage for a specific meter (e.g. dashboard or overage check). Supports time range, filters, and grouping by customer or subscription."
374
+ },
375
+ {
376
+ "name": "events-get-event",
377
+ "description": "Get event\n\nUse when debugging a specific event (e.g. why it failed or how it was aggregated). Includes processing status and debug info."
378
+ },
379
+ {
380
+ "name": "features-create-feature",
381
+ "description": "Create feature\n\nUse when defining a new feature or capability to gate or meter (e.g. feature flags or usage-based limits). Ideal for boolean or usage features."
382
+ },
383
+ {
384
+ "name": "features-query-feature",
385
+ "description": "Query features\n\nUse when listing or searching features (e.g. catalog or entitlement setup). Returns a paginated list; supports filtering and sorting."
386
+ },
387
+ {
388
+ "name": "features-update-feature",
389
+ "description": "Update feature\n\nUse when changing feature definition (e.g. name, type, or meter). Request body contains the fields to update."
390
+ },
391
+ {
392
+ "name": "features-delete-feature",
393
+ "description": "Delete feature\n\nUse when retiring a feature (e.g. deprecated capability). Returns 200 with success message."
394
+ },
395
+ {
396
+ "name": "groups-create-group",
397
+ "description": "Create group\n\nUse when organizing entities into a group (e.g. for filtering prices or plans by product line or region)."
398
+ },
399
+ {
400
+ "name": "groups-query-group",
401
+ "description": "Query groups\n\nUse when listing or searching groups (e.g. admin catalog). Returns a paginated list; supports filtering and sorting."
402
+ },
403
+ {
404
+ "name": "groups-get-group",
405
+ "description": "Get group\n\nUse when you need to load a single group (e.g. for display or to assign entities)."
406
+ },
407
+ {
408
+ "name": "groups-delete-group",
409
+ "description": "Delete group\n\nUse when removing a group and clearing its entity associations (e.g. retiring a product line). Returns 204 or 200 on success."
410
+ },
411
+ {
412
+ "name": "payments-list-payments",
413
+ "description": "List payments\n\nUse when listing or searching payments (e.g. reconciliation UI or customer payment history). Returns a paginated list; supports filtering by customer, invoice, status."
414
+ },
415
+ {
416
+ "name": "payments-create-payment",
417
+ "description": "Create payment\n\nUse when recording a payment against an invoice (e.g. after receiving funds via a gateway or manual entry)."
418
+ },
419
+ {
420
+ "name": "payments-get-payment",
421
+ "description": "Get payment\n\nUse when you need to load a single payment (e.g. for a receipt view or reconciliation)."
422
+ },
423
+ {
424
+ "name": "payments-update-payment",
425
+ "description": "Update payment\n\nUse when updating payment status or metadata (e.g. after reconciliation or adding a reference)."
426
+ },
427
+ {
428
+ "name": "payments-delete-payment",
429
+ "description": "Delete payment\n\nUse when removing or voiding a payment record (e.g. correcting erroneous entries). Returns 200 with success message."
430
+ },
431
+ {
432
+ "name": "payments-process-payment",
433
+ "description": "Process payment\n\nUse when you need to charge or process a payment (e.g. trigger the payment provider to capture funds). Returns updated payment with status."
434
+ },
435
+ {
436
+ "name": "plans-create-plan",
437
+ "description": "Create plan\n\nUse when defining a new pricing plan (e.g. Free, Pro, Enterprise). Attach prices and entitlements; customers subscribe to plans."
438
+ },
439
+ {
440
+ "name": "plans-query-plan",
441
+ "description": "Query plans\n\nUse when listing or searching plans (e.g. plan picker or admin catalog). Returns a paginated list; supports filtering and sorting."
442
+ },
443
+ {
444
+ "name": "plans-get-plan",
445
+ "description": "Get plan\n\nUse when you need to load a single plan (e.g. for display or to create a subscription)."
446
+ },
447
+ {
448
+ "name": "plans-update-plan",
449
+ "description": "Update plan\n\nUse when changing plan details (e.g. name, interval, or metadata). Partial update supported."
450
+ },
451
+ {
452
+ "name": "plans-delete-plan",
453
+ "description": "Delete plan\n\nUse when retiring a plan (e.g. end-of-life). Existing subscriptions may be affected. Returns 200 with success message."
454
+ },
455
+ {
456
+ "name": "plans-post-plans-id-clone",
457
+ "description": "Clone a plan\n\nClone an existing plan, copying its active prices, published entitlements, and published credit grants"
458
+ },
459
+ {
460
+ "name": "plans-sync-plan-prices",
461
+ "description": "Synchronize plan prices\n\nUse when you have changed plan prices and need to push them to all active subscriptions (e.g. global price update). Returns workflow ID."
462
+ },
463
+ {
464
+ "name": "prices-create-price",
465
+ "description": "Create price\n\nUse when adding a new price to a plan or catalog (e.g. per-seat, flat, or metered). Ideal for both simple and usage-based pricing."
466
+ },
467
+ {
468
+ "name": "prices-create-prices-bulk",
469
+ "description": "Create prices in bulk\n\nUse when creating many prices at once (e.g. importing a catalog or setting up a plan with multiple tiers)."
470
+ },
471
+ {
472
+ "name": "prices-get-price-by-lookup-key",
473
+ "description": "Get price by lookup key\n\nUse when resolving a price by external id (e.g. from your catalog or CMS). Ideal for integrations."
474
+ },
475
+ {
476
+ "name": "prices-query-price",
477
+ "description": "Query prices\n\nUse when listing or searching prices (e.g. plan builder or catalog). Returns a paginated list; supports filtering and sorting."
478
+ },
479
+ {
480
+ "name": "prices-get-price",
481
+ "description": "Get price\n\nUse when you need to load a single price (e.g. for display or editing). Response includes expanded meter and price unit when applicable."
482
+ },
483
+ {
484
+ "name": "prices-update-price",
485
+ "description": "Update price\n\nUse when changing price configuration (e.g. amount, billing scheme, or metadata)."
486
+ },
487
+ {
488
+ "name": "prices-delete-price",
489
+ "description": "Delete price\n\nUse when retiring a price (e.g. end-of-life or replacement). Optional effective date or cascade for subscriptions."
490
+ },
491
+ {
492
+ "name": "price-units-list-price-units",
493
+ "description": "List price units\n\nUse when listing price units (e.g. in a catalog or when creating prices). Returns a paginated list; supports status, sort, and pagination."
494
+ },
495
+ {
496
+ "name": "price-units-create-price-unit",
497
+ "description": "Create price unit\n\nUse when defining a new unit of measure for pricing (e.g. GB, API call, seat). Ideal for metered or usage-based prices."
498
+ },
499
+ {
500
+ "name": "price-units-get-price-unit-by-code",
501
+ "description": "Get price unit by code\n\nUse when resolving a price unit by code (e.g. from an external catalog or config). Ideal for integrations."
502
+ },
503
+ {
504
+ "name": "price-units-query-price-unit",
505
+ "description": "Query price units\n\nUse when searching or listing price units (e.g. admin catalog). Returns a paginated list; supports filtering and sorting."
506
+ },
507
+ {
508
+ "name": "price-units-get-price-unit",
509
+ "description": "Get price unit\n\nUse when you need to load a single price unit (e.g. for display or when creating a price)."
510
+ },
511
+ {
512
+ "name": "price-units-update-price-unit",
513
+ "description": "Update price unit\n\nUse when renaming or updating metadata for a price unit. Code is immutable once created."
514
+ },
515
+ {
516
+ "name": "price-units-delete-price-unit",
517
+ "description": "Delete price unit\n\nUse when removing a price unit that is no longer needed. Fails if any price references this unit."
518
+ },
519
+ {
520
+ "name": "rbac-list-rbac-roles",
521
+ "description": "List all RBAC roles\n\nUse when building role pickers or permission UIs. Returns all roles with permissions and descriptions."
522
+ },
523
+ {
524
+ "name": "rbac-get-rbac-role",
525
+ "description": "Get a specific RBAC role\n\nUse when you need to show or edit a single role (e.g. role detail page). Includes permissions, name, and description."
526
+ },
527
+ {
528
+ "name": "secrets-list-api-keys",
529
+ "description": "List API keys\n\nUse when listing API keys (e.g. admin view or rotating keys). Returns a paginated list."
530
+ },
531
+ {
532
+ "name": "secrets-create-api-key",
533
+ "description": "Create a new API key\n\nUse when issuing a new API key (e.g. for a service account or for the current user). Provide service_account_id to create for a service account."
534
+ },
535
+ {
536
+ "name": "secrets-delete-api-key",
537
+ "description": "Delete an API key\n\nUse when revoking an API key (e.g. rotation or compromise). Permanently invalidates the key."
538
+ },
539
+ {
540
+ "name": "integrations-get-integration",
541
+ "description": "Get integration details\n\nUse when you need to check or display integration config (e.g. which provider is linked). Sensitive values may be redacted."
542
+ },
543
+ {
544
+ "name": "integrations-create-or-update-integration",
545
+ "description": "Create or update an integration\n\nUse when storing or updating credentials for an external integration (e.g. Stripe, HubSpot). Secrets are encrypted at rest."
546
+ },
547
+ {
548
+ "name": "integrations-list-linked-integrations",
549
+ "description": "List linked integrations\n\nUse when showing which integrations are connected (e.g. settings page). Returns providers that have valid linked credentials."
550
+ },
551
+ {
552
+ "name": "integrations-delete-integration",
553
+ "description": "Delete an integration\n\nUse when disconnecting an integration (e.g. switching provider or removing OAuth). Deletes stored credentials."
554
+ },
555
+ {
556
+ "name": "subscriptions-create-subscription",
557
+ "description": "Create subscription\n\nUse when onboarding a customer to a plan or starting a new subscription. Ideal for draft subscriptions (activate later) or active from start."
558
+ },
559
+ {
560
+ "name": "subscriptions-add-subscription-addon",
561
+ "description": "Add addon to subscription\n\nUse when adding an optional product or add-on to an existing subscription (e.g. extra storage or support tier)."
562
+ },
563
+ {
564
+ "name": "subscriptions-remove-subscription-addon",
565
+ "description": "Remove addon from subscription\n\nUse when removing an add-on from a subscription (e.g. downgrade or opt-out)."
566
+ },
567
+ {
568
+ "name": "subscriptions-update-subscription-line-item",
569
+ "description": "Update subscription line item\n\nUse when changing a subscription line item (e.g. quantity or price). Implemented by ending the current line and creating a new one for clean billing."
570
+ },
571
+ {
572
+ "name": "subscriptions-delete-subscription-line-item",
573
+ "description": "Delete subscription line item\n\nUse when removing a charge or seat from a subscription (e.g. downgrade). Line item ends; retained for history but no longer billed."
574
+ },
575
+ {
576
+ "name": "subscriptions-query-subscription",
577
+ "description": "Query subscriptions\n\nUse when listing or searching subscriptions (e.g. admin view or customer subscription list). Returns a paginated list; supports filtering by customer, plan, status."
578
+ },
579
+ {
580
+ "name": "subscriptions-get-subscription-usage",
581
+ "description": "Get usage by subscription\n\nUse when showing usage for a subscription (e.g. in a portal or for overage checks). Supports time range and filters."
582
+ },
583
+ {
584
+ "name": "subscriptions-get-subscription",
585
+ "description": "Get subscription\n\nUse when you need to load a single subscription (e.g. for a billing portal or to check status)."
586
+ },
587
+ {
588
+ "name": "subscriptions-update-subscription",
589
+ "description": "Update subscription\n\nUse when changing subscription details (e.g. quantity, billing anchor, or parent). Supports partial update; send \"\" to clear parent_subscription_id."
590
+ },
591
+ {
592
+ "name": "subscriptions-activate-subscription",
593
+ "description": "Activate draft subscription\n\nUse when turning a draft subscription live (e.g. after collecting payment or completing setup). Once activated, billing and entitlements apply."
594
+ },
595
+ {
596
+ "name": "subscriptions-get-subscription-addon-associations",
597
+ "description": "Get active addon associations\n\nUse when listing which add-ons are currently attached to a subscription (e.g. for display or editing)."
598
+ },
599
+ {
600
+ "name": "subscriptions-cancel-subscription",
601
+ "description": "Cancel subscription\n\nUse when a customer churns or downgrades. Supports immediate or end-of-period cancellation and proration. Ideal for self-serve or support-driven cancellations."
602
+ },
603
+ {
604
+ "name": "subscriptions-execute-subscription-change",
605
+ "description": "Execute subscription plan change\n\nUse when applying a plan change (e.g. upgrade or downgrade). Executes proration and generates invoice or credit as needed."
606
+ },
607
+ {
608
+ "name": "subscriptions-preview-subscription-change",
609
+ "description": "Preview subscription plan change\n\nUse when showing a customer the cost of a plan change before they confirm (e.g. upgrade/downgrade preview with proration)."
610
+ },
611
+ {
612
+ "name": "subscriptions-get-subscription-entitlements",
613
+ "description": "Get subscription entitlements\n\nUse when checking what features or limits a subscription has (e.g. entitlement checks or feature gating). Optional feature_ids to filter."
614
+ },
615
+ {
616
+ "name": "subscriptions-get-subscription-upcoming-grants",
617
+ "description": "Get upcoming credit grant applications\n\nUse when showing upcoming or pending credits for a subscription (e.g. in a portal or for forecasting)."
618
+ },
619
+ {
620
+ "name": "subscriptions-create-subscription-line-item",
621
+ "description": "Create subscription line item\n\nUse when adding a new charge or seat to a subscription (e.g. extra seat or one-time add). Supports price_id or inline price."
622
+ },
623
+ {
624
+ "name": "subscriptions-pause-subscription",
625
+ "description": "Pause a subscription\n\nUse when temporarily stopping a subscription (e.g. customer hold or seasonal pause). Billing and access pause; resume when ready."
626
+ },
627
+ {
628
+ "name": "subscriptions-list-subscription-pauses",
629
+ "description": "List all pauses for a subscription\n\nUse when showing pause history for a subscription (e.g. support or audit). Returns all past and future pauses."
630
+ },
631
+ {
632
+ "name": "subscriptions-resume-subscription",
633
+ "description": "Resume a paused subscription\n\nUse when reactivating a paused subscription (e.g. end of hold). Billing and access resume from the resume date."
634
+ },
635
+ {
636
+ "name": "subscriptions-get-subscription-v2",
637
+ "description": "Get subscription (V2)\n\nUse when you need a subscription with related data (line items, prices, plan). Supports expand for detailed payloads without extra round-trips."
638
+ },
639
+ {
640
+ "name": "subscriptions-list-all-subscription-schedules",
641
+ "description": "List all subscription schedules\n\nUse when listing or searching scheduled changes across subscriptions (e.g. admin view). Returns schedules with optional filtering."
642
+ },
643
+ {
644
+ "name": "subscriptions-get-subscription-schedule",
645
+ "description": "Get subscription schedule\n\nUse when you need to load a single scheduled change (e.g. to show when a plan change or renewal takes effect)."
646
+ },
647
+ {
648
+ "name": "subscriptions-cancel-subscription-schedule",
649
+ "description": "Cancel subscription schedule\n\nUse when cancelling a scheduled change (e.g. customer changed mind). Identify by schedule ID in path or by subscription ID + schedule type in body."
650
+ },
651
+ {
652
+ "name": "subscriptions-list-subscription-schedules",
653
+ "description": "List subscription schedules\n\nUse when listing scheduled changes for a subscription (e.g. upcoming plan change or renewal). Returns all schedules for that subscription."
654
+ },
655
+ {
656
+ "name": "tasks-list-tasks",
657
+ "description": "List tasks\n\nUse when listing or searching async tasks (e.g. admin queue view). Returns list with optional filtering."
658
+ },
659
+ {
660
+ "name": "tasks-create-task",
661
+ "description": "Create a new task\n\nUse when submitting a file or job for async processing (e.g. export or import). Returns task ID to poll for status and result."
662
+ },
663
+ {
664
+ "name": "tasks-get-task-result",
665
+ "description": "Get task processing result\n\nUse when fetching the outcome of a completed task (e.g. export URL or error message). Call after task status is complete."
666
+ },
667
+ {
668
+ "name": "tasks-get-task",
669
+ "description": "Get a task\n\nUse when checking task status or progress (e.g. polling after create). Returns task by ID."
670
+ },
671
+ {
672
+ "name": "tasks-download-task-export",
673
+ "description": "Download task export file\n\nUse when letting a user download an exported file (e.g. report or data export). Returns a presigned URL; supports FlexPrice or customer-owned S3."
674
+ },
675
+ {
676
+ "name": "tasks-update-task-status",
677
+ "description": "Update task status\n\nUse when updating task status (e.g. marking complete or failed from a worker). Typically called by backend processors."
678
+ },
679
+ {
680
+ "name": "scheduled-tasks-list-scheduled-tasks",
681
+ "description": "List scheduled tasks\n\nUse when listing or managing scheduled tasks in an admin UI. Returns a list; supports filtering by status, type, and pagination."
682
+ },
683
+ {
684
+ "name": "scheduled-tasks-create-scheduled-task",
685
+ "description": "Create scheduled task\n\nUse when setting up recurring data exports or other scheduled jobs. Ideal for report generation or syncing data on a schedule."
686
+ },
687
+ {
688
+ "name": "scheduled-tasks-schedule-update-billing-period",
689
+ "description": "Schedule update billing period\n\nUse when you need to trigger a billing-period update workflow (e.g. to recalculate or sync billing windows)."
690
+ },
691
+ {
692
+ "name": "scheduled-tasks-get-scheduled-task",
693
+ "description": "Get scheduled task\n\nUse when you need to load a single scheduled task (e.g. to show details in a UI or check its configuration)."
694
+ },
695
+ {
696
+ "name": "scheduled-tasks-update-scheduled-task",
697
+ "description": "Update a scheduled task\n\nUse when pausing or resuming a scheduled task. Only the enabled field can be changed."
698
+ },
699
+ {
700
+ "name": "scheduled-tasks-delete-scheduled-task",
701
+ "description": "Delete a scheduled task\n\nUse when removing a scheduled task from the active roster. Archives the task and removes it from the scheduler (soft delete)."
702
+ },
703
+ {
704
+ "name": "scheduled-tasks-trigger-scheduled-task-run",
705
+ "description": "Trigger force run\n\nUse when you need to run a scheduled export immediately (e.g. on-demand report or catch-up). Supports optional custom time range."
706
+ },
707
+ {
708
+ "name": "tax-associations-list-tax-associations",
709
+ "description": "List tax associations\n\nUse when listing tax associations (e.g. tax config or audit). Returns list with optional filtering."
710
+ },
711
+ {
712
+ "name": "tax-associations-create-tax-association",
713
+ "description": "Create Tax Association\n\nUse when linking a tax rate to an entity (e.g. customer, product, or region) so that rate applies on invoices."
714
+ },
715
+ {
716
+ "name": "tax-associations-get-tax-association",
717
+ "description": "Get Tax Association\n\nUse when you need to load a single tax association (e.g. for display or editing)."
718
+ },
719
+ {
720
+ "name": "tax-associations-update-tax-association",
721
+ "description": "Update tax association\n\nUse when changing a tax association (e.g. switch rate or entity). Request body contains the fields to update."
722
+ },
723
+ {
724
+ "name": "tax-associations-delete-tax-association",
725
+ "description": "Delete tax association\n\nUse when removing a tax association (e.g. entity no longer subject to that rate)."
726
+ },
727
+ {
728
+ "name": "tax-rates-get-tax-rates",
729
+ "description": "Get tax rates\n\nUse when listing tax rates (e.g. tax config UI). Returns tax rates with optional filters."
730
+ },
731
+ {
732
+ "name": "tax-rates-create-tax-rate",
733
+ "description": "Create a tax rate\n\nUse when defining a new tax rate (e.g. VAT or sales tax) for use in invoices. Attach to customers or products via tax associations."
734
+ },
735
+ {
736
+ "name": "tax-rates-get-tax-rate",
737
+ "description": "Get a tax rate\n\nUse when you need to load a single tax rate (e.g. for display or when creating an association)."
738
+ },
739
+ {
740
+ "name": "tax-rates-update-tax-rate",
741
+ "description": "Update a tax rate\n\nUse when changing a tax rate (e.g. rate value or name). Request body contains the fields to update."
742
+ },
743
+ {
744
+ "name": "tax-rates-delete-tax-rate",
745
+ "description": "Delete a tax rate\n\nUse when retiring a tax rate (e.g. no longer applicable). Fails if still referenced by associations."
746
+ },
747
+ {
748
+ "name": "tenants-get-tenant-billing-usage",
749
+ "description": "Get billing usage for the current tenant\n\nUse when showing the current tenant's billing usage (e.g. admin billing page or usage caps). Returns subscription and usage for the tenant."
750
+ },
751
+ {
752
+ "name": "tenants-update-tenant",
753
+ "description": "Update a tenant\n\nUse when changing tenant details (e.g. name or billing info). Request body contains the fields to update."
754
+ },
755
+ {
756
+ "name": "tenants-get-tenant-by-id",
757
+ "description": "Get tenant by ID\n\nGet tenant by ID"
758
+ },
759
+ {
760
+ "name": "users-create-user",
761
+ "description": "Create service account\n\nUse when provisioning API access for automation, CI/CD pipelines, or headless integrations that need scoped API keys."
762
+ },
763
+ {
764
+ "name": "users-get-user-info",
765
+ "description": "Get current user\n\nUse to show the logged-in user's profile in the UI or to check permissions and roles for the current session."
766
+ },
767
+ {
768
+ "name": "users-query-user",
769
+ "description": "Query users\n\nUse when listing or searching service accounts in an admin UI, or when auditing who has API access and which roles they have."
770
+ },
771
+ {
772
+ "name": "webhooks-handle-chargebee-webhook",
773
+ "description": "Handle Chargebee webhook events\n\nUse as the Chargebee webhook endpoint URL. Receives payment and subscription events from Chargebee to sync status into FlexPrice."
774
+ },
775
+ {
776
+ "name": "webhooks-handle-hubspot-webhook",
777
+ "description": "Handle HubSpot webhook events\n\nUse as the HubSpot webhook endpoint URL. Receives deal and customer events (e.g. deal closed won) to create or update customers in FlexPrice."
778
+ },
779
+ {
780
+ "name": "webhooks-handle-moyasar-webhook",
781
+ "description": "Handle Moyasar webhook events\n\nUse as the Moyasar webhook endpoint URL. Receives payment events from Moyasar to update payment status in FlexPrice."
782
+ },
783
+ {
784
+ "name": "webhooks-handle-nomod-webhook",
785
+ "description": "Handle Nomod webhook events\n\nUse as the Nomod webhook endpoint URL. Receives payment and invoice events from Nomod to keep FlexPrice in sync."
786
+ },
787
+ {
788
+ "name": "webhooks-handle-quickbooks-webhook",
789
+ "description": "Handle QuickBooks webhook events\n\nUse as the QuickBooks webhook endpoint URL. Receives payment events from QuickBooks to sync payment status into FlexPrice."
790
+ },
791
+ {
792
+ "name": "webhooks-handle-razorpay-webhook",
793
+ "description": "Handle Razorpay webhook events\n\nUse as the Razorpay webhook endpoint URL. Receives payment capture and failure events to update invoice or payment status in FlexPrice."
794
+ },
795
+ {
796
+ "name": "webhooks-handle-stripe-webhook",
797
+ "description": "Handle Stripe webhook events\n\nUse as the Stripe webhook endpoint URL. Receives payment and customer events from Stripe to keep FlexPrice in sync (e.g. payment succeeded, customer created)."
798
+ },
799
+ {
800
+ "name": "workflows-query-workflow",
801
+ "description": "Query workflows\n\nUse when listing or auditing workflow runs (e.g. ops dashboard or debugging). Returns a paginated list; supports filtering by workflow type and status."
802
+ }
803
+ ]
804
+ }