Ecommerce

SamCart Webhook MCP Server

Connect your account, then chat with AI to run tools.

Paste your MCPBundles URL into SamCart notify settings and read orders in chat.

Best forCourse CreatorsDigital Product Sellers

Try this workflow

Last SamCart event

Read export.json.type, customer email, order total, and product or products from the latest notify URL payload.

Managed
4 tools
Agent guide included

Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.

Browse all tools

What you can do with SamCart Webhook

Built for

Course Creators, Digital Product Sellers

Example workflows

Last SamCart event

Interprets order and subscription event JSON.

Try this

Read export.json.type, customer email, order total, and product or products from the latest notify URL payload.

Subscription activity

Filters stored events by type field.

Try this

Find the most recent RecurringPaymentSucceeded, Cancel, or RecurringPaymentFailed delivery and summarize subscription_id, order id, and amounts.

Context to know first

How do I connect SamCart deliveries to MCPBundles?

Save a connection on MCPBundles, copy the hosted ingest URL from the credential panel, and paste it into SamCart where notify URL webhooks are configured. Your agent reads stored deliveries — latest, history, and content — in chat.

Can an agent trigger a new delivery?

No. Ingest is read-only. Data arrives when the upstream system sends it; agents query what already landed.

AI Skill
SKILL.md

Domain knowledge for SamCart Webhook — workflow patterns, data models, and gotchas for your AI agent.

samcart-webhook

SamCart notify-URL webhooks POST JSON when checkout, order, subscription, refund, or course events fire. Each POST is one stored report. Shape depends on which trigger fired upstream — inspect export.json on the latest delivery rather than assuming one fixed schema.

Payload shape

Most purchase and subscription events share nested objects:

  • type — event discriminator. Common values include Order, Refund, PartialRefund, UpsellPurchased, RecurringPaymentSucceeded, RecurringPaymentFailed, Cancel, SubscriptionDelinquent, SubscriptionRestarted, and SubscriptionChargeRefunded.
  • product — single line item when the trigger fires per product (id, name, price, optional quantity, shipping, tax, transaction_id, sku, subscription_id, funnel_info on upsells).
  • products — array of line items on Order Completed only (each entry may include status, transaction_id, subscription_id, funnel_info).
  • customer — buyer identity and billing (first_name, last_name, email, phone_number, customer_id; billing may use billing_address/billing_city/… or billing_address_line1/billing_address_line2/…).
  • order — order metadata (id, total, created_at, ip_address, stripe_id, subscription_id, processor, total_tax, total_shipping, transaction_id as string or array, shipping address fields, custom_fields, upsell_custom_fields, utm_parameters, custom_url_parameters).
  • affiliate — object or empty array depending on event.
  • Refund events — may add processor and refund_transaction_id; order.total reflects remaining balance after partial refunds.
  • Subscription charge success — may include charge_id and fuller billing/shipping address fields on customer and order.

Prospect Created and some lightweight events use a flatter top-level shape (product_id, product_name, product_price, currency, address arrays) without the usual type/product/order nesting.

Missing upstream values arrive as JSON null.

First moves

  1. Latest report — default for “what order or subscription event happened last”; read export.json.type and nested customer / order / product or products.
  2. Recent reports — list when comparing multiple purchases, refunds, subscription charges, or suspected duplicate posts for the same order.id.
  3. One report by id — after listing, when the user names a specific stored delivery.

Response shape

  • export.json — parsed notify-URL body.
  • export.text — raw body when JSON is large or non-object.
  • source.captured_at — when the POST landed here (use order.created_at inside JSON for upstream order time when present).

Operational order

  1. Start with the latest report — do not guess a report id.
  2. If captured_at is older than expected, say so — SamCart sends when the configured trigger fires, not on demand.
  3. List recent reports only for history, duplicate suspicion, or explicit compare-by-date asks.
  4. Read ## This connection in the skill supplement for product- or funnel-specific field notes.

Gotchas

  • Read-only — cannot replay charges, issue refunds, or change SamCart orders from here.
  • Per-product vs whole orderProduct Purchased fires once per line item; Order Completed sends one POST with a products array. Do not treat missing products as “no items” on per-product events.
  • Schema varies by trigger — refunds, cancellations, and failed recurring charges carry slimmer customer/order blocks than full purchase payloads.
  • Duplicate posts — the same order.id may appear across multiple stored reports when several triggers fire; dedupe using type, product.id, and source.captured_at.
  • Address field names — billing and shipping keys differ between older and newer samples; read what is present instead of expecting one naming scheme.
  • Custom checkout dataorder.custom_fields may be an array or a single object with name, slug, and value depending on event age and trigger.

Tools in this Server (4)

Samcart Wh Latest

Return the most recently stored report — tabular rows, raw text, or JSON depending on format. Default starting point for current report questions.

Samcart Wh List

List recent stored reports — ids, capture time, filename, and format. Follow with latest report or get report for full content.

Samcart Wh Report

Return one stored report by report_id — full content with the same source/export envelope as latest report.

Samcart Wh Status

Connection status — whether any reports have landed, when the last file arrived, filename, and stored report count. Includes the ingest URL only when ...

Frequently Asked Questions

How do I connect SamCart deliveries to MCPBundles?

Save a connection on MCPBundles, copy the hosted ingest URL from the credential panel, and paste it into SamCart where notify URL webhooks are configured. Your agent reads stored deliveries — latest, history, and content — in chat.

Can an agent trigger a new delivery?

No. Ingest is read-only. Data arrives when the upstream system sends it; agents query what already landed.

How do I connect SamCart Webhook to my AI agent?

Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/samcart-webhook. Authentication is handled automatically.

How many tools does SamCart Webhook provide?

SamCart Webhook provides 4 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.

What authentication does SamCart Webhook require?

SamCart Webhook uses API Key. SamCart Webhook requires credentials. Connect via MCPBundles and authentication is handled automatically.

Setup Instructions

Connect SamCart Webhook to any MCP client in minutes

MCP URL
https://mcp.mcpbundles.com/bundle/samcart-webhook

One-click install:

The link prefills the Add custom connector dialog — you still review the values and click Add, then Connect to complete OAuth.

Or add manually

  1. Open claude.ai → Settings → Connectors.
  2. Click the + button and choose Add custom connector.
  3. Set Name to SamCart Webhook and paste the MCP URL into Remote MCP server URL.
  4. Click Add. SamCart Webhook will appear under Not connected — select it and click Connect to complete OAuth.
Name: SamCart Webhook
Remote MCP server URL: https://mcp.mcpbundles.com/bundle/samcart-webhook
Authentication: OAuth

Custom connectors at claude.ai require a paid Claude plan (Pro, Max, Team, or Enterprise).

Ready to use SamCart Webhook?

Sign in to connect your credentials and start running tools from the chat.

SamCart Webhook MCP — Read Order Notifications in Chat