SaaS WebMCP Template
A complete WebMCP template for SaaS product websites. Includes 16 tools for feature discovery, plan comparison, trial signup, demo booking, documentation search, and system status monitoring.
Load live preview on demand to keep template pages fast.
// Register get_features tool
navigator.modelContext.registerTool({
name: "get_features",
description: "List all product features, optionally filtered by category.",
inputSchema: {
"type": "object",
"properties": {
"feature_category": {
"type": "string",
"description": "Filter by feature category (e.g. automation, analytics, collaboration)"
}
},
"required": []
},
annotations: {"readOnlyHint":true},
execute: async (params) => {
const response = await fetch("/api/get_features", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(params),
});
return response.json();
}
});What's Included
Agents can browse features by category and compare plans side-by-side to recommend the right tier.
Structured pricing data with monthly and annual billing cycles for all tiers.
Declarative HTML forms for self-serve trial activation and demo scheduling.
Searchable list of 200+ integrations with availability status and version info.
Full-text doc search lets agents find answers without leaving the conversation.
Real-time service status, uptime metrics, and product update history.
Why This Template Works
Designed for AI agent interoperability with structured tool definitions.
Self-Serve Conversion Flow
Agents can qualify prospects, compare plans, and activate trials entirely through structured tools.
Technical Credibility
API status, documentation, and changelog tools demonstrate product maturity and transparency.
Comprehensive Discovery
16 tools cover the full buyer journey from feature exploration to post-purchase support.
Integration Confidence
Agents can verify specific integration availability before recommending the product.
Implementation Guide
Follow these steps to deploy the template on your website.
Copy the HTML template
Download or copy the complete HTML file with all styles, markup, and tool registrations.
Replace mock data
Update the JavaScript data objects with your real features, pricing, integrations, and documentation.
Connect form handlers
Wire start_free_trial and book_demo forms to your backend API or growth tools (Segment, HubSpot).
Connect real-time data
Point get_system_status and get_api_status to your actual monitoring service (e.g. Statuspage API).
Customize branding
Update product name, colors (CSS variables), copy, and pricing to match your SaaS product.
Deploy and verify
Host the page and verify all 16 tools register correctly using browser DevTools.
Download Options
Other Industry Templates
Ready to Make Your Site Agent-Ready?
Deploy this template and start receiving structured traffic from AI agents.