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:
- Open Chrome and navigate to
chrome://flags/#enable-webmcp-testing - Set the flag to Enabled
- Restart Chrome
- 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:
Payment Links
| Tool | Description |
|---|---|
list_paylinks | List all payment links |
get_paylink | Get a specific paylink by ID |
create_paylink | Create a new payment link |
update_paylink | Update an existing paylink |
delete_paylink | Delete a paylink |
duplicate_paylink | Duplicate a paylink |
ai_draft_paylink | AI-generate a paylink from prompt |
Transactions
| Tool | Description |
|---|---|
list_transactions | List transactions with filters |
refund_transaction | Refund a transaction |
Customers
| Tool | Description |
|---|---|
list_customers | List customers by segment |
Analytics
| Tool | Description |
|---|---|
get_analytics_summary | Dashboard summary |
get_revenue_data | Revenue over time |
get_mrr_data | Monthly recurring revenue |
get_payment_methods | Payment method breakdown |
trigger_reconciliation | Reconcile with Stripe |
Stripe
| Tool | Description |
|---|---|
get_stripe_balance | Account balance |
list_stripe_payouts | List payouts |
create_stripe_payout | Create a payout |
get_stripe_account | Connected account details |
get_stripe_requirements | Verification requirements |
create_stripe_account_link | Onboarding link |
Disputes
| Tool | Description |
|---|---|
list_disputes | List disputes |
get_dispute | Get dispute details |
submit_dispute_evidence | Submit evidence |
Settings
| Tool | Description |
|---|---|
get_settings | Get account settings |
update_settings | Update settings |
Subscriptions & Purchases
| Tool | Description |
|---|---|
list_subscriptions | List seller subscriptions |
list_purchases | List buyer purchases |
download_purchase | Get download URL |
cancel_subscription | Cancel a subscription |
Email
| Tool | Description |
|---|---|
list_broadcasts | List email broadcasts |
create_broadcast | Create a broadcast |
send_broadcast | Send a broadcast |
ai_draft_broadcast | AI-draft a broadcast |
list_subscribers | List email subscribers |
add_subscriber | Add 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.