401 resource discovery
Unauthenticated POST /mcp requests return HTTP 401 with WWW-Authenticate pointing directly to https://app.funneltize.com/.well-known/oauth-protected-resource.
Technical reference for connecting OAuth 2.1 Model Context Protocol clients to https://app.funneltize.com/mcp.
All discovery, authorization, and JSON-RPC endpoints are served on app.funneltize.com with zero redirects and mandatory PKCE S256.
| Path | Method | Purpose |
|---|---|---|
/.well-known/oauth-protected-resource |
GET |
Protected resource metadata discovery with zero HTTP redirects |
/.well-known/oauth-authorization-server |
GET |
OAuth 2.1 authorization server metadata and PKCE S256 support |
/oauth/register |
POST |
Dynamic client registration alongside Client ID Metadata Documents (CIMD) |
/oauth/authorize |
GET / POST |
Workspace selection and explicit per-scope user consent |
/oauth/token |
POST |
Authorization code exchange and rotating refresh tokens |
/mcp |
POST / GET / DELETE |
Streamable HTTP Model Context Protocol JSON-RPC transport |
All 18 tools declare explicit readOnlyHint, destructiveHint, idempotentHint, and openWorldHint annotations. Core read and staged draft scopes are pre-selected on consent while AI generation and publishing remain opt-in.
| Scope | Access | Tools |
|---|---|---|
funnels:read |
Read-only (default) | get_account, list_funnels, get_funnel |
funnels:write |
Staged draft (default) | create_funnel_draft, update_funnel, apply_funnel_edits, mint_studio_handoff |
catalog:read |
Read-only (default) | list_offers |
analytics:read |
Read-only (default) | get_analytics_report |
leads:read / bookings:read |
Read-only (default) | list_leads, list_bookings |
generation:write |
Metered AI (opt-in) | generate_funnel, ai_refine_copy, configure_calculator, generate_visual |
funnels:publish |
Live release (opt-in) | publish_funnel, create_ab_variant |
bookings:write |
Booking outcome (opt-in) | update_booking_outcome |
domains:read / billing:read |
Read-only (opt-in) | Enriches get_funnel (custom domains) and get_account (plan tier and AI meter) |
Clients supporting MCP UI resources render interactive preview, diff, and analytics surfaces inline alongside structured JSON tool responses.
| Resource URI | Emitted by | Behavior |
|---|---|---|
ui://funneltize/funnel-preview/{funnelId} |
get_funnel, create_funnel_draft, update_funnel, generate_funnel, generate_visual, publish_funnel |
Renders interactive section outline, readiness, signed preview link, and Studio handoff |
ui://funneltize/edit-diff |
apply_funnel_edits |
Displays before and after copy diffs, ETag status, and 0% direct-edit meter confirmation |
ui://funneltize/analytics-card |
get_analytics_report |
Displays visits, conversion rate, webhook-verified net revenue, and A/B split performance |
Unauthenticated POST /mcp requests return HTTP 401 with WWW-Authenticate pointing directly to https://app.funneltize.com/.well-known/oauth-protected-resource.
apply_funnel_edits validates expectedEtag against the current draft revision and refuses stale writes with HTTP 412 plus the latest currentEtag and digest.
Direct copy edits cannot alter product pricing or checkout URLs, and workspace owners can revoke any OAuth grant immediately inside Studio Settings.