Serveur MCP

marutap

com.marutap/marutap
Commerce et retail Paiements et fintech Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Requests user-approved purchases and subscriptions, supplies scoped payment cards, tracks payment states, and supports order recording and cancellation.

cancel_subscription
Cancel a subscription mandate. Safe — canceling never spends money, and the merchant can never charge again afterwards.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', 'title': 'cancel_subscriptionArguments', 'required': ['mandate_id'], 'properties': {'mandate_id': {'type': 'string', 'title': 'Mandate Id'}}}
get_payment_result
Poll for the outcome of a payment request. Long-polls up to wait_seconds. Returns status one of: pending, approved, settled, declined, expired, not_found, claim_pending. When approved, includes a single-use `card` (number, cvc, exp) locked to this purchase — use it to complete checkout at the merchant. If still "pending"/"claim_pending", call again. For a claim (charge_id = the "clm_…" poll_id from request_payment): pass the agent_secret you received. The first approved result also contains `connect_token` — persist it and send it as the Authorization bearer on all future calls.
Lecture seule
Schéma d’entrée
{'type': 'object', 'title': 'get_payment_resultArguments', 'required': ['charge_id'], 'properties': {'charge_id': {'type': 'string', 'title': 'Charge Id'}, 'agent_secret': {'type': 'string', 'title': 'Agent Secret', 'default': ''}, 'wait_seconds': {'type': 'integer', 'title': 'Wait Seconds', 'default': 20}}}
list_payment_requests
List this agent's payment requests and whether each has been approved yet. Use this to see the state of every request you've made — not just poll one saved charge_id. Each item includes its `status` (pending, approved, settled, declined, expired) so you can tell which are still waiting and which the user has acted on. For a pending request it also returns the `approval_url` (re-surface it to the user); once a request is approved, call get_payment_result(charge_id) to fetch the card. Args: status: which to return — "open" (default, still-pending only) or "all". limit: max requests to return (default 20, capped at 100), newest first.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'title': 'list_payment_requestsArguments', 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20}, 'status': {'type': 'string', 'title': 'Status', 'default': 'open'}}}
list_subscriptions
List the user's subscription mandates and their status.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', 'title': 'list_subscriptionsArguments', 'properties': {}}
record_order
Report the merchant's order reference back after checkout, so the user can later reverse (refund) the purchase. `order_ref` is the merchant's payment id (e.g. a Stripe PaymentIntent).
Idempotent
Schéma d’entrée
{'type': 'object', 'title': 'record_orderArguments', 'required': ['charge_id', 'order_ref'], 'properties': {'charge_id': {'type': 'string', 'title': 'Charge Id'}, 'order_ref': {'type': 'string', 'title': 'Order Ref'}}}
request_payment
Request the user's approval to pay for a purchase. Usually returns `{auto_approved: false, approval_url}` — show the approval_url to the user so they can review the total and approve with one tap, then call get_payment_result. If the user's spending policy auto-approves this purchase (e.g. under their cap at an allowlisted merchant), it returns `{auto_approved: true, status: "approved", card}` immediately — no approval needed, just use the card. Args: amount: Total to charge, in major units (e.g. 18.50 dollars). merchant: Human-readable merchant / store name shown on the approval screen. line_items: Optional list of {"name": str, "quantity": int, "amount_cents": int}. currency: ISO currency code, default "usd".
Accès externe
Schéma d’entrée
{'type': 'object', 'title': 'request_paymentArguments', 'required': ['amount', 'merchant'], 'properties': {'amount': {'type': 'number', 'title': 'Amount'}, 'currency': {'type': 'string', 'title': 'Currency', 'default': 'usd'}, 'merchant': {'type': 'string', 'title': 'Merchant'}, 'line_items': {'anyOf': [{'type': 'array', 'items': {}}, {'type': 'null'}], 'title': 'Line Items', 'default': None}}}
request_subscription
Set up a recurring subscription mandate (e.g. Netflix at up to $16/month). Requires the user's explicit one-time approval — returns an approval_url. The mandate is merchant-locked and capped: the merchant can never charge more than `cap` per period, and the user can cancel anytime (after which the merchant can never charge again). Args: merchant: merchant to authorize (e.g. "Netflix"). cap: max amount per period in major units (e.g. 16.00). interval: "weekly" | "monthly" | "yearly".
Accès externe
Schéma d’entrée
{'type': 'object', 'title': 'request_subscriptionArguments', 'required': ['merchant', 'cap'], 'properties': {'cap': {'type': 'number', 'title': 'Cap'}, 'interval': {'type': 'string', 'title': 'Interval', 'default': 'monthly'}, 'merchant': {'type': 'string', 'title': 'Merchant'}}}
Ajouté
cancel_subscription
17 September 2026 12:36
Ajouté
list_subscriptions
17 September 2026 12:36
Ajouté
request_subscription
17 September 2026 12:36
Ajouté
record_order
17 September 2026 12:36
Ajouté
list_payment_requests
17 September 2026 12:36
Ajouté
get_payment_result
17 September 2026 12:36
Ajouté
request_payment
17 September 2026 12:36