Skip to main content

WebMCP Integration

WebMCP enables browser-based AI agents to interact with PayLinks directly from the dashboard.

What is WebMCP?

WebMCP (Web Model Context Protocol) is a browser-native protocol that exposes structured tools to AI agents running in Chrome. When enabled, AI assistants can manage your payment links, view analytics, send emails, and more — all through natural language.

How to Enable

WebMCP is an experimental Chrome feature. To enable it:

  1. Open Chrome and navigate to chrome://flags/#enable-webmcp-testing
  2. Set the flag to Enabled
  3. Restart Chrome
  4. Visit paylinks.ro/dashboard

The dashboard automatically exposes WebMCP tools when the flag is enabled.

Available Tools

PayLinks exposes 36 WebMCP tools organized by module:

ToolDescription
list_paylinksList all payment links
get_paylinkGet a specific paylink by ID
create_paylinkCreate a new payment link
update_paylinkUpdate an existing paylink
delete_paylinkDelete a paylink
duplicate_paylinkDuplicate a paylink
ai_draft_paylinkAI-generate a paylink from prompt

Transactions

ToolDescription
list_transactionsList transactions with filters
refund_transactionRefund a transaction

Customers

ToolDescription
list_customersList customers by segment

Analytics

ToolDescription
get_analytics_summaryDashboard summary
get_revenue_dataRevenue over time
get_mrr_dataMonthly recurring revenue
get_payment_methodsPayment method breakdown
trigger_reconciliationReconcile with Stripe

Stripe

ToolDescription
get_stripe_balanceAccount balance
list_stripe_payoutsList payouts
create_stripe_payoutCreate a payout
get_stripe_accountConnected account details
get_stripe_requirementsVerification requirements
create_stripe_account_linkOnboarding link

Disputes

ToolDescription
list_disputesList disputes
get_disputeGet dispute details
submit_dispute_evidenceSubmit evidence

Settings

ToolDescription
get_settingsGet account settings
update_settingsUpdate settings

Subscriptions & Purchases

ToolDescription
list_subscriptionsList seller subscriptions
list_purchasesList buyer purchases
download_purchaseGet download URL
cancel_subscriptionCancel a subscription

Email

ToolDescription
list_broadcastsList email broadcasts
create_broadcastCreate a broadcast
send_broadcastSend a broadcast
ai_draft_broadcastAI-draft a broadcast
list_subscribersList email subscribers
add_subscriberAdd a subscriber

Example Usage

With a WebMCP-compatible AI agent in Chrome:

"Create a payment link for a React course at 149 RON"

The agent will call create_paylink with the appropriate parameters and confirm the result.

"Show me my revenue for the last 30 days"

The agent calls get_analytics_summary and get_revenue_data to display your analytics.

"Send an email broadcast announcing the new course to all subscribers"

The agent calls ai_draft_broadcast, shows you the draft, and then send_broadcast when confirmed.

Security

WebMCP tools inherit the user's authenticated session. The AI agent can only perform actions that the logged-in user is authorized to do. No additional API tokens are needed.

WebMCP at a Glance

PayLinks exposes 36 WebMCP tools across 9 modules: Payment Links (7 tools), Transactions (2), Customers (1), Analytics (5), Stripe (6), Disputes (3), Settings (2), Subscriptions & Purchases (4), and Email (6). All tools are accessible through Chrome's experimental WebMCP flag and inherit the user's authenticated session.

Frequently Asked Questions

Which browsers support WebMCP?

WebMCP is currently an experimental feature available in Google Chrome only. Enable it at chrome://flags/#enable-webmcp-testing. Other Chromium-based browsers may add support in the future.

Do I need a separate API token for WebMCP?

No. WebMCP tools inherit the user's authenticated dashboard session. If you're logged into paylinks.ro, the AI agent can use all tools you're authorized to access. No additional API tokens are needed.

What can AI agents do through WebMCP?

AI agents can perform 36 actions including: creating and managing payment links, viewing transactions and analytics, issuing refunds, managing Stripe payouts, handling disputes, sending email broadcasts, and managing subscribers — all through natural language commands in the browser.