Skip to main content

Documentation Index

Fetch the complete documentation index at: https://juo.dev/llms.txt

Use this file to discover all available pages before exploring further.

Juo MCP remote server exposes subscription platform to AI assistants and agents via the Model Context Protocol. Once connected, tools like Claude, Cursor, or any MCP-compatible client can read and manage subscriptions, customers, products, and more — directly from AI workflow.

Server URL

https://mcp.juo.com/sse
The server uses Server-Sent Events (SSE) transport and requires authentication via the standard OAuth 2.0 authorization code flow.

Connecting a client

Add the following to claude_desktop_config.json:
{
  "mcpServers": {
    "juo": {
      "url": "https://mcp.juo.com/sse"
    }
  }
}
On macOS the config file is located at:
~/Library/Application Support/Claude/claude_desktop_config.json
Restart Claude Desktop — it will open a browser window to complete OAuth authorization on first use.

OAuth authorization flow

The Juo MCP server uses the standard OAuth 2.0 authorization code flow with PKCE. When you connect for the first time:
  1. Client initiates a connection to https://mcp.juo.com/sse.
  2. The server signals that authorization is required.
  3. Browser opens the Juo authorization page.
  4. You log in with a Juo account and grant the requested permissions.
  5. The auth server exchanges the code for an access token and returns it to the client — no manual copying of tokens required.
Tokens are scoped to a tenant and stored securely by an MCP client. Re-authorization is only required when a token expires or is revoked.

Available tools

Once connected, the following tools are available to AI client:
ToolDescription
customers-listPaginated list of customers; search by ID, name, email, or phone
customers-createCreate a customer with contact details (name, email, phone, tags, note)
customers-updatePartial update of a customer’s profile
customers-deletePermanently delete a customer
ToolDescription
subscriptions-listPaginated list; search by ID, serial, status, dates, or customer; optionally expand customer inline
subscriptions-createCreate a subscription with billing policy, items, delivery address, and payment method
subscriptions-updateUpdate payment method, delivery address/method/price, or next billing date
subscriptions-cancelCancel with an optional reason; optionally notify the customer by email
subscriptions-pausePause an active subscription
subscriptions-resumeResume a paused subscription
subscriptions-reactivateReactivate a canceled subscription
ToolDescription
subscriptions-items-createAdd a product variant to a subscription; supports custom price and recurring cycle limit
subscriptions-items-updateUpdate item quantity, billing policy, or delivery policy
subscriptions-items-deleteRemove an item (subscription must retain at least one item)
ToolDescription
subscriptions-discounts-createApply a discount code or a manual discount (percentage or fixed amount) targeting all items, specific items, or shipping
subscriptions-discounts-updateUpdate discount value or recurring cycle limit
subscriptions-discounts-deleteRemove a discount from a subscription
ToolDescription
products-listPaginated list; search by ID, title, status, or variant SKU; filter by subscription plan group
products-createCreate a product with title, description, vendor, type, tags, status, and optional image
products-updatePartial update of a product (title, description, vendor, type, status, tags)
products-deletePermanently delete a product
products-add-variantAdd a variant (price, SKU, barcode, option values) to a product
products-remove-variantRemove a variant from a product
products-assign-product-to-planAssociate all variants of a product with a subscription plan
products-remove-product-from-planDisassociate all variants of a product from a subscription plan
products-assign-variant-to-planAssociate a specific variant with a subscription plan
products-remove-variant-from-planRemove a specific variant from a subscription plan
ToolDescription
schedules-listView the upcoming billing order projection for a customer (read-only)
schedules-list-adjustmentsList pending schedule adjustments for a customer
schedules-createCreate a one-off adjustment to an upcoming order: skip, change date, update shipping/payment, swap products, or apply a discount
schedules-deleteDelete a pending adjustment, reverting the affected order to its original state
ToolDescription
workflows-listPaginated list of workflow definitions; optionally include archived or filter to interactive-only
workflows-getGet the full definition of a workflow including steps, transitions, and publication status
workflows-createCreate a new workflow in draft status
workflows-updateFull replacement update of a workflow definition
workflows-deleteSoft-delete a workflow (run history is preserved)
workflows-publishPublish a draft workflow, making it active for incoming events
workflows-unpublishMove a published workflow back to draft without affecting in-flight runs
workflows-archiveArchive a workflow without deleting it
workflows-duplicateCreate a copy of a workflow as a new draft
workflows-list-runsPaginated list of execution runs for a workflow
workflows-get-runGet the current state of a specific run (active step, context, status)
workflows-get-run-statsAggregate stats: total/successful/failed runs, per-step counts, experiment variant enrollment and conversion rates
workflows-export-runsGenerate a signed URL to download all runs for a workflow as a CSV file