Autumn MCP by usefulapi

v1.42.1
io.usefulapi/autumn Checked 2 days ago Published 21 hours ago

MCP server for Autumn — read customers, plans, balances & invoices; track usage and attach plans.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

autumn_get_customer Get a customer

Fetch a single Autumn customer by id, optionally expanding related data (invoices, entities, subscriptions, balances). Autumn API: POST /v1/customers.get.

ParameterTypeDescription
customer_id *stringYour unique identifier for the customer.
expandarrayRelated data to expand, e.g. invoices, entities, subscriptions.plan, purchases.plan, balances.feature.

autumn_list_customers List customers

List/filter customers with cursor pagination. Autumn API: POST /v1/customers.list. Returns { list, next_cursor }.

ParameterTypeDescription
limitintegerPage size, 1-5000. Default 50.
plansarrayFilter by plan: array of { id, versions? } objects.
processorsarrayFilter by processor type: stripe, revenuecat, vercel.
searchstringSearch customers by id, name, or email.
start_cursorstringPagination cursor from a prior response's `next_cursor` (omit / empty for first page).
subscription_statusstringFilter by status: "active" or "scheduled". Defaults to both.

autumn_check Check feature access / balance

READ-ONLY entitlement check: does a customer have access to (or enough balance of) a feature? Autumn API: POST /v1/balances.check. This tool never records usage — it does not expose send_event or lock.

ParameterTypeDescription
customer_id *stringThe ID of the customer.
feature_id *stringThe ID of the feature to check.
entity_idstringEntity id for entity-scoped balances (e.g. per-seat limits).
required_balancenumberMinimum balance required for access. Returns allowed:false if below. Defaults to 1.
with_previewbooleanInclude upgrade/upsell (paywall) info in the response when access is denied.

autumn_list_invoices List invoices

List invoices with cursor pagination and optional filters. Autumn API: POST /v1/invoices.list. Returns { list, next_cursor }.

ParameterTypeDescription
customer_idstringFilter to a single customer by id.
entity_idstringFilter to a single entity by id (must be paired with customer_id).
limitintegerPage size, 1-5000. Default 50.
processor_typesarrayFilter by processor: stripe, revenuecat.
start_cursorstringPagination cursor from a prior response's `next_cursor` (omit / empty for first page).
statusarrayFilter by invoice status: draft, open, paid, void, uncollectible.

autumn_get_entity Get an entity

Fetch a single entity (e.g. a seat) belonging to a customer. Autumn API: POST /v1/entities.get.

ParameterTypeDescription
customer_id *stringThe ID of the customer that owns the entity.
entity_id *stringThe ID of the entity.
expandarrayRelated data to expand, e.g. invoices, entities, subscriptions.plan, purchases.plan, balances.feature.

autumn_list_entities List entities

List a customer's entities with cursor pagination and optional filters. Autumn API: POST /v1/entities.list. Returns { list, next_cursor }.

ParameterTypeDescription
customer_id *stringRestrict the response to entities owned by this customer id.
limitintegerPage size, 1-5000. Default 50.
plansarrayFilter by plan: array of { id, versions? } objects.
processorsarrayFilter by parent customer processor: stripe, revenuecat, vercel.
searchstringSearch entities by id or name.
start_cursorstringPagination cursor from a prior response's `next_cursor` (omit / empty for first page).
subscription_statusstringFilter by status: "active" or "scheduled". Defaults to both.

autumn_list_features List features

List all features in the current environment. Autumn API: POST /v1/features.list. Returns { list }.

autumn_get_feature Get a feature

Fetch a single feature by id. Autumn API: POST /v1/features.get.

ParameterTypeDescription
feature_id *stringThe ID of the feature.

autumn_list_plans List plans

List all plans (products) in the current environment. Autumn API: POST /v1/plans.list. Returns { list }.

ParameterTypeDescription
all_versionsbooleanIf true, include all plan versions.
customer_idstringInclude eligibility info (trial availability, attach scenario) for this customer.
entity_idstringEntity id for entity-scoped plans.
include_archivedbooleanIf true, include archived plans.

autumn_get_plan Get a plan

Fetch a single plan by id (optionally a specific version). Autumn API: POST /v1/plans.get.

ParameterTypeDescription
plan_id *stringThe ID of the plan to retrieve.
versionintegerThe plan version to get. Defaults to the latest.

autumn_preview_attach Preview attaching a plan

Preview the cost/effect of attaching a plan to a customer WITHOUT charging or changing anything. Read-only. Autumn API: POST /v1/billing.preview_attach.

ParameterTypeDescription
customer_id *stringThe ID of the customer to attach the plan to.
plan_id *stringThe ID of the plan.
customizeobjectOptional plan overrides (price, items, licenses, free trial).
entity_idstringThe ID of the entity to attach the plan to.
feature_quantitiesarrayPrepaid feature quantities: array of { feature_id, quantity?, adjustable? }.
versionintegerThe version of the plan to attach.

autumn_request Raw read request

Power-user escape hatch: POST to any Autumn read/preview endpoint not wrapped by a dedicated tool. READ-ONLY — the path is validated to only allow .get / .list / .check / .preview_* actions; write actions are rejected. Autumn API: POST {path}.

ParameterTypeDescription
path *stringFull API path, e.g. "/v1/customers.get". Only read/preview suffixes are allowed.
bodyobjectJSON body object to POST (the endpoint's params).

autumn_get_or_create_customer Get or create a customer

MUTATES Autumn billing data — fetches a customer by id, creating them if they do not exist. Autumn API: POST /v1/customers.get_or_create.

ParameterTypeDescription
customer_id *string | nullYour unique identifier for the customer (null to create an anonymous customer).
create_in_stripebooleanWhether to create the customer in Stripe.
currencystringCurrency to bill this customer in (e.g. usd, eur).
emailstringCustomer's email address.
expandarrayRelated data to expand, e.g. invoices, entities, subscriptions.plan, purchases.plan, balances.feature.
fingerprintstringUnique identifier to detect duplicate customers / prevent free-trial abuse.
metadataobjectArbitrary key/value metadata for the customer.
namestringCustomer's name.
stripe_idstringExisting Stripe customer id, if any.

autumn_update_customer Update a customer

MUTATES Autumn billing data — partially updates a customer. Only provided fields change. Autumn API: POST /v1/customers.update.

ParameterTypeDescription
customer_id *stringID of the customer to update.
currencystring | nullCurrency to bill this customer in (e.g. usd, eur).
emailstring | nullCustomer's email address.
fingerprintstring | nullDuplicate-detection fingerprint.
metadataArbitrary key/value metadata for the customer.
namestring | nullCustomer's name.
new_customer_idstringNew id for the customer.
stripe_idstring | nullStripe customer id.

autumn_track_usage Track usage

MUTATES Autumn billing data — records a usage event (deducts/credits a feature balance). Provide EITHER feature_id OR event_name. Autumn API: POST /v1/balances.track.

ParameterTypeDescription
customer_id *stringThe ID of the customer.
entity_idstringEntity id for entity-scoped balances.
event_namestringEvent name to track usage for. Provide this OR feature_id.
feature_idstringThe feature to track usage for. Provide this OR event_name.
idempotencyKeystringOptional key to dedupe retried events.
propertiesobjectAdditional properties to attach to the usage event.
timestampintegerUnix timestamp (ms) for the event. Defaults to now.
valuenumberAmount of usage to record. Defaults to 1. Negative values credit the balance.

autumn_attach_plan Attach a plan

MUTATES Autumn billing data — attaches (subscribes) a plan to a customer; may create an invoice / return a payment URL. Autumn API: POST /v1/billing.attach. Returns { customer_id, invoice, payment_url, required_action }.

ParameterTypeDescription
customer_id *stringThe ID of the customer to attach the plan to.
plan_id *stringThe ID of the plan.
checkout_session_paramsobjectExtra Stripe checkout session params (can carry metadata).
customizeobjectOptional plan overrides (price, items, licenses, free trial).
entity_idstringThe ID of the entity to attach the plan to.
feature_quantitiesarrayPrepaid feature quantities: array of { feature_id, quantity?, adjustable? }.
invoice_modeobjectInvoice-mode configuration object (send an invoice instead of auto-charging).
redirect_modestringCheckout redirect mode: always, if_required, or never.
success_urlstringURL to redirect to after a successful checkout.
versionintegerThe version of the plan to attach.

autumn_create_entity Create an entity

MUTATES Autumn billing data — creates an entity (e.g. a seat) under a customer, tied to a feature. Autumn API: POST /v1/entities.create.

ParameterTypeDescription
customer_id *stringThe ID of the customer to create the entity for.
entity_id *stringThe ID of the entity.
feature_id *stringThe ID of the feature this entity is associated with.
billing_controlsobjectOptional billing controls for the entity (spend/usage limits).
namestring | nullThe name of the entity.

autumn_open_customer_portal Open customer billing portal

MUTATES Autumn billing data — creates a Stripe billing-portal session for a customer to manage their subscription. Autumn API: POST /v1/billing.open_customer_portal. Returns { customer_id, url }.

ParameterTypeDescription
customer_id *stringThe ID of the customer to open the billing portal for.
configuration_idstringStripe billing-portal configuration id.
return_urlstringURL to redirect to when the back button is clicked in the portal.