Model Context Protocol

Billing ops that live inside your agent.

Connect Duro to Claude Code, Cursor, Windsurf, or VS Code. Your agent can create plans, chase failed renewals, switch payment rails, and pull revenue metrics — without leaving the editor.

28
MCP tools
4
IDE targets
1
key per client
1
Hosted endpoint
What agents can do

Full billing control, zero context switch

Your coding agent becomes an ops console for subscriptions, recovery, customers, and revenue — with the same workspace permissions you already trust.

Operate subscriptions from chat

Create plans, start trials, pause seats, and cancel with proration — all as tool calls your agent can reason over.

Run recovery without the dashboard

List at-risk renewals, retry a charge, switch rails, or fire a WhatsApp nudge the moment a payment fails.

Ship with live context

Pull customers, invoices, webhook deliveries, and MRR snapshots into the same thread where you're writing code.

Stay scoped and keyed

Each MCP key binds to one workspace. Test keys stay in test mode; live keys never touch sandbox data.

In the editor

Ask for recovery. Watch tools fire.

Agents don't just answer — they call Duro tools, read the results, and keep going until the revenue is back.

Agent session
duro · mcp
Which subscriptions failed overnight, and can we recover the ones on card?
list_recovery_cases
12 cases · 8 card · 3 USSD · 1 transfer · ₦2.4M at risk
Eight card failures look recoverable. Retrying those now and switching two soft-declines to USSD.
retry_payment
Retried 8 · 5 succeeded · 2 queued for rail switch
Recovered ₦1.1M. Two remaining — want me to message those customers on WhatsApp?
Tool catalog

Twenty-eight tools across four surfaces

Billing, recovery, customers, and insights — every tool your agent needs to operate Duro without opening the dashboard.

Plans, subscriptions, invoices, and promo codes.

list_plansBrowse plans with price, interval, and trial settings.
create_planCreate a plan with amount, currency, and dunning rules.
list_subscriptionsFilter active, past_due, paused, and canceled subscriptions.
create_subscriptionStart a subscription for a customer on a plan.
update_subscriptionChange plan, quantity, or billing anchor mid-cycle.
cancel_subscriptionCancel immediately or at period end with proration.
list_invoicesList invoices by status, customer, or date range.
create_promo_codeIssue percent or fixed discounts with redemption limits.
Connect in minutes

One endpoint. Any agent.

Paste a prompt, drop a JSON config, or run a single CLI command. Browser sign-in handles auth — nothing secret lives in your repo.

Works in any agent
One prompt, any IDE

Add the Duro MCP to this IDE as a remote HTTP server at https://mcp.useduro.com. Authenticate with an MCP key from your Duro dashboard (Developers, then MCP): paste it as a Bearer token in the config below.

Config file
~/.claude.json
bash
claude mcp add --transport http duro https://mcp.useduro.com --header "Authorization: Bearer mcp_live_xxx"
Or paste this into the IDE's AI

Add the Duro MCP to my Claude Code config as a remote HTTP server. Run `claude mcp add --transport http duro https://mcp.useduro.com --header "Authorization: Bearer mcp_live_xxx"`, replacing mcp_live_xxx with my MCP key from the Duro dashboard (Developers, then MCP).

Hosted endpoint

Point any MCP client at this URL and authenticate with an MCP key from your Duro dashboard (Developers, then MCP). Paste it as a Bearer token, revoke it anytime, and every call is logged.

Prompt playbooks

Ready-made workflows your agent already understands

Copy a playbook into chat. The agent picks the right tools, chains them, and reports what changed.

Overnight recovery sweep

List recovery cases from the last 24 hours. Retry every card soft-decline, switch hard declines to USSD, and summarize recovered MRR.

list_recovery_casesretry_paymentswitch_railget_metrics

Launch a new plan

Create a ₦15,000 monthly Pro plan with a 7-day trial and payday-aware dunning. Then give me the pay link and embed snippet.

create_planget_workspace

Customer rescue

Find customer +234…, show their past_due subscription, retry the latest invoice, and send a WhatsApp recovery message if it fails again.

list_customerslist_subscriptionsretry_paymentsend_recovery_message

Webhook triage

Show failed webhook deliveries for subscription.payment_failed in the last hour and replay any that returned 5xx.

list_webhook_deliveriesreplay_webhooklist_events
Security

Built for agents that touch money

MCP access inherits your workspace controls. No long-lived secrets in config files, and every tool call is auditable.

Scoped MCP keys

Generate a key per client from the dashboard and paste it as a Bearer token. Each key is scoped to one workspace, and you can revoke it anytime.

Workspace isolation

Every tool call runs inside the workspace you signed into. Test and live modes never mix.

Least privilege

Grant read-only or write scopes per connection. Revoke from the dashboard anytime.

Audit trail

Every MCP tool invocation is logged with actor, args, and outcome for compliance review.

Ready when you are

Put recovery in the same place you write code.

Connect mcp.useduro.com, approve access once, and let your agent run billing ops while you stay in flow.