Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
THRIVECART_API_KEYNoYour ThriveCart API key. Use this for a single account. Obtain from Settings → API & Webhooks → API tokens.
THRIVECART_ACCOUNTSNoJSON array of account objects, e.g. [{"name":"navid-media","api_key":"key1"},{"name":"students","api_key":"key2"}]. Use this for multiple accounts.
THRIVECART_AUDIT_LOGNoPath to a log file for JSON lines recording every attempted write operation (allowed or blocked). Permissions set to 0600.
THRIVECART_HTTP_HOSTNoHost address to bind for HTTP mode. Default is 127.0.0.1.
THRIVECART_MAX_PAGESNoMaximum number of pages to walk when paginating through ThriveCart API responses. Default behavior is to stop once truncation would occur.
THRIVECART_READ_ONLYNoSet to '1' to make all write tools disappear, preventing any modifications to ThriveCart data.
THRIVECART_HTTP_TOKENNoBearer token required when using self-hosted HTTP mode. Mandatory if binding to a non-loopback host.
THRIVECART_DEFAULT_ACCOUNTNoThe default account name to use when no account is specified. Only relevant when using THRIVECART_ACCOUNTS.
THRIVECART_ALLOW_DESTRUCTIVENoSet to '0' to disable only destructive tools like cancel_subscription and refund_transaction, while allowing pause, resume, and create_affilite.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List every ThriveCart account configured on this server. Use a returned name as the account argument on any other tool to choose which cart it reads or acts on. Costs no network call. Call this first whenever a request could plausibly mean more than one cart. Revenue, customers and affiliates are entirely separate per cart, and a figure from one never includes another.

whoamiA

Fetch the ThriveCart account this key belongs to, including the owner email and account details. Use it to confirm a configured name actually points at the cart you think it does before reporting money against it, and to check a key still works.

list_productsA

List every product on a ThriveCart account, with ids and names. Start here when you need a product id for another tool, or to see what a cart actually sells.

get_productA

Get the full details of one product by id. Use list_products first if you do not have the id.

get_product_pricingA

Get every price point configured on a product: one-time, split pay and subscription. A product's headline price is not the only thing customers can pay, so read this before quoting what something costs.

list_bumpsA

List every bump across all products on a ThriveCart account. Each is a bump offer, the checkbox add-on shown on the checkout page itself. Use this to see what a cart offers beyond its main products, and to get an id for get_bump.

get_bumpA

Get the full details of one bump by id, including what it offers and at what price. Use list_bumps first if you do not have the id.

get_bump_pricingA

Get every price point configured on one bump. Its headline price is not necessarily what a buyer paid, so read this before quoting what it costs.

list_upsellsA

List every upsell across all products on a ThriveCart account. Each is an upsell, the offer shown after the main purchase completes. Use this to see what a cart offers beyond its main products, and to get an id for get_upsell.

get_upsellA

Get the full details of one upsell by id, including what it offers and at what price. Use list_upsells first if you do not have the id.

get_upsell_pricingA

Get every price point configured on one upsell. Its headline price is not necessarily what a buyer paid, so read this before quoting what it costs.

list_downsellsA

List every downsell across all products on a ThriveCart account. Each is a downsell, the fallback offer shown when an upsell is declined. Use this to see what a cart offers beyond its main products, and to get an id for get_downsell.

get_downsellA

Get the full details of one downsell by id, including what it offers and at what price. Use list_downsells first if you do not have the id.

get_downsell_pricingA

Get every price point configured on one downsell. Its headline price is not necessarily what a buyer paid, so read this before quoting what it costs.

get_transactionsA

Get transactions from a ThriveCart account, with optional date and product-name filtering. ThriveCart's own product_id filter is unreliable and silently returns rows for other products, so filter with item_name instead, which is a case-insensitive contains match on the product name. Set fetch_all only when you need complete figures; it walks every page.

get_revenue_summaryA

Revenue for a date range, grouped by product and sorted highest first, for one ThriveCart account. Walks every page of transactions, so it is the expensive call in this server, so give it a date range rather than asking for all time. Money is summed in integer cents, so the totals are exact. Figures cover one cart only; run it per account and never add the results together unless asked to.

get_customerA

Get one customer's full record by email address: their purchases, subscriptions and order ids. This is where an order_id comes from for pause_subscription, resume_subscription, cancel_subscription and refund_transaction. Email is the only way ThriveCart identifies a customer, and there is no endpoint that lists customers, so use get_transactions when you need to see many at once.

pause_subscriptionA

Pause a customer's subscription, stopping future billing while keeping the subscription itself. Reversible with resume_subscription, which is why this needs no confirmation. Prefer this over cancel_subscription whenever the customer might come back.

resume_subscriptionA

Resume a paused subscription, restarting billing. The counterpart to pause_subscription. This cannot revive a cancelled subscription. Once cancelled, the customer has to buy again.

cancel_subscriptionA

Cancel a customer's subscription permanently. This ends their access and cannot be undone from here. The only way back is for them to purchase again, so pause_subscription is the right tool whenever the customer might return. Refuses to run without confirm: true. Set that only when the person you are working for has actually asked for this cancellation, not to clear the refusal.

refund_transactionA

Refund a transaction, returning the money to the customer. This moves real funds and cannot be undone. Refuses to run without confirm: true. Check the amount with get_transactions or get_customer before calling, because the order id alone does not tell you how much is about to move.

search_affiliatesA

List affiliates on a ThriveCart account, one page at a time. Use get_affiliate for one affiliate's full stats. This listing is for browsing and counting.

get_affiliateA

Get one affiliate's full record by email: their referrals, commissions and payout details. Email is the only way ThriveCart identifies an affiliate.

create_affiliateA

Register a new affiliate on a ThriveCart account. Check with get_affiliate first, because creating one that already exists is not a no-op and ThriveCart may reject it or duplicate the record.

Prompts

Interactive templates invoked by user choice

NameDescription
revenue-reportReport revenue for a period, across every cart
customer-lookupFind a customer and explain their history
product-performanceWork out which products actually carry the cart

Resources

Contextual data attached and managed by the client

NameDescription
thrivecart-accounts
thrivecart-concepts

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/navidmoazzez/thrivecart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server