Appstle MCP by usefulapi
Read subscriptions, orders and groups; skip orders, move billing dates, pause or cancel in Appstle.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (4)
- LOWin appstle_list_subscription_contracts
- LOWin appstle_get_customer_subscriptions
- LOWin appstle_list_subscription_groups
- LOWin appstle_update_delivery_interval
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"appstle": {
"url": "https://appstle.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://appstle.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (14)
🟢appstle_list_subscription_contracts(status, customer_name, order_name, next_billing_from, next_billing_to, ...)
List the store's subscription contracts with optional filters: status (ACTIVE, PAUSED, CANCELLED, EXPIRED, FAILED), customer name, order name, next billing date window, product or variant. Paged (page from 0, size up to 50). GET /subscription-contract-details.
Eingabe-Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED",
"CANCELLED",
"EXPIRED",
"FAILED"
]
},
"customer_name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"order_name": {
"description": "Shopify order name, for example #1001.",
"type": "string",
"minLength": 1,
"maxLength": 60
},
"next_billing_from": {
"description": "ISO 8601 date-time: next billing on or after this time.",
"type": "string"
},
"next_billing_to": {
"description": "ISO 8601 date-time: next billing on or before this time.",
"type": "string"
},
"product_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"variant_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"size": {
"description": "Items per page, 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_get_contract_analytics(contract_id)
Revenue and cycle metrics for one subscription contract. GET /subscription-contract-details/analytics/{contractId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"required": [
"contract_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_search_customers(name, email, more_than_one_active, page, size)
List customers who have subscriptions, filtered by name or email, optionally only customers with more than one active subscription. Paged (page from 0, size up to 50). GET /subscription-contract-details/customers.
Eingabe-Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"email": {
"type": "string",
"minLength": 3,
"maxLength": 254
},
"more_than_one_active": {
"description": "Only customers with more than one active subscription.",
"type": "boolean"
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"size": {
"description": "Items per page, 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_get_customer_subscriptions(customer_id)
Detailed subscription information for one Shopify customer id. GET /subscription-customers-detail/valid/{customerId}.
Eingabe-Schema
{
"type": "object",
"properties": {
"customer_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"required": [
"customer_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_get_upcoming_orders(contract_id, customer_id)
The next upcoming orders for a contract or a customer (give one of the two ids). GET /subscription-billing-attempts/top-orders.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"customer_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_list_past_orders(contract_id, customer_id, page, size)
Past billing attempts and orders for a contract or a customer (give one of the two ids). Paged (page from 0, size up to 50). GET /subscription-billing-attempts/past-orders.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"customer_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"page": {
"description": "Page number, starting at 0.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"size": {
"description": "Items per page, 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_list_subscription_groups
All subscription groups (selling plan groups) of the store, with their plans and product counts. GET /subscription-groups.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢appstle_get_subscription_group(group_id)
One subscription group by id, with its plans and assigned products. GET /subscription-groups/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"required": [
"group_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡appstle_skip_next_order(contract_id)
Skip the next upcoming order of a subscription contract. Each call skips the order after that, so a repeat call is not safe to retry. Reversible with appstle_unskip_order. PUT /subscription-billing-attempts/skip-upcoming-order.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"required": [
"contract_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡appstle_unskip_order(billing_attempt_id, contract_id)
Undo a skipped order (billing attempt id from appstle_get_upcoming_orders). PUT /subscription-billing-attempts/unskip-order/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"billing_attempt_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
}
},
"required": [
"billing_attempt_id",
"contract_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡appstle_set_next_billing_date(contract_id, next_billing_date, reschedule_future_order)
Move the next billing date of a subscription contract to a date-time (ISO 8601). Set reschedule_future_order to also move later orders. PUT /subscription-contracts-update-billing-date.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"next_billing_date": {
"type": "string",
"minLength": 10,
"maxLength": 40,
"description": "ISO 8601 date-time, for example 2026-12-15T00:00:00Z."
},
"reschedule_future_order": {
"type": "boolean"
}
},
"required": [
"contract_id",
"next_billing_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡appstle_update_delivery_interval(contract_id, interval_count, interval)
Set how often a subscription contract delivers, for example every 2 MONTH. PUT /subscription-contracts-update-delivery-interval.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"interval_count": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"interval": {
"type": "string",
"enum": [
"DAY",
"WEEK",
"MONTH",
"YEAR"
]
}
},
"required": [
"contract_id",
"interval_count",
"interval"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴appstle_set_contract_status(contract_id, status)
Set a subscription contract to ACTIVE (resume) or PAUSED (pause). To cancel, use appstle_cancel_contract. PUT /subscription-contracts-update-status.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"status": {
"type": "string",
"enum": [
"ACTIVE",
"PAUSED"
]
}
},
"required": [
"contract_id",
"status"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴appstle_cancel_contract(contract_id, feedback, note)
Cancel a subscription contract for good. Pending orders are cancelled and the plan's minimum billing cycles are enforced. Give an optional reason and note. DELETE /subscription-contracts/{id}.
Eingabe-Schema
{
"type": "object",
"properties": {
"contract_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Numeric Appstle id (for example the subscription contract id, 123456789)."
},
"feedback": {
"description": "Short cancellation reason.",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"note": {
"description": "Free-text cancellation note.",
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"contract_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis