# FunnelDNA: guide for AI agents > FunnelDNA is a library of finished direct-response funnel components and blocks (sales pages, opt-ins, order forms, upsells, webinars and more), a skill that teaches an AI how to build funnels, emails, ads and videos that sell, and an MCP server that gives an AI agent the library, the skill and the user's brand themes. You can do everything a person can do here: read the library and the skill, create the person's account, create an MCP token and connect FunnelDNA to the AI they use. Ask the person before creating an account in their name, and use their own email. There is no CAPTCHA, and every form is plain HTML that works without JavaScript. ## One-click connect (ChatGPT, claude.ai, Claude Desktop) Add `https://dna.wynter.ai/mcp` as a custom connector and click Connect. A FunnelDNA window opens: the person signs up (or signs in) and chooses Allow. No token to copy. - claude.ai / Claude Desktop: Customize, Connectors, Add custom connector, this URL, Connect - ChatGPT: Settings, Apps, create an app with this URL and OAuth (developer mode or a Business workspace), Connect - Claude Code: `claude mcp add --transport http funneldna https://dna.wynter.ai/mcp`, then `/mcp` and authenticate For client developers: the server answers 401 with `WWW-Authenticate: Bearer resource_metadata="…"`. Discovery is at `/.well-known/oauth-protected-resource/mcp` and `/.well-known/oauth-authorization-server`: OAuth 2.1 authorization code with PKCE (S256), dynamic client registration at `/oauth/register` (public clients; https or loopback redirect URIs), scope `library`, `resource` = `https://dna.wynter.ai/mcp`, hour-long access tokens and rotating refresh tokens. ## Or sign up, get a token, connect (CLI clients and scripts) 1. Create the account at https://dna.wynter.ai/signup. The form has `user[name]` (id `user_name`), `user[email]` (id `user_email`) and `user[password]` (id `user_password`, at least 12 characters), and a "Create account" button. Success signs the person in and opens https://dna.wynter.ai/connect. Returning users sign in at https://dna.wynter.ai/session/new (`email`, `password`). 2. On https://dna.wynter.ai/connect, fill "Token name" (`name`, id `name`) with something like "ChatGPT" and press "Create token". The token appears once in `#mcp-token`, with the ready-to-paste setup in `#mcp-next` (server URL `#mcp-server-url`, header `#mcp-auth-header`, Claude Code command `#mcp-claude-code-command`, JSON config `#mcp-json-config`). Give it to the person, or store it where their client keeps secrets. 3. Connect the client to the MCP server: - URL: `https://dna.wynter.ai/mcp` (Streamable HTTP, JSON responses) - Header: `Authorization: Bearer ` - Claude Code: `claude mcp add --transport http funneldna https://dna.wynter.ai/mcp --header "Authorization: Bearer "` - Cursor and other JSON configs: `{"mcpServers": {"funneldna": {"url": "https://dna.wynter.ai/mcp", "headers": {"Authorization": "Bearer "}}}}` - Codex: `[mcp_servers.funneldna]` with `url = "https://dna.wynter.ai/mcp"` and `bearer_token_env_var = "FUNNELDNA_MCP_TOKEN"` 4. Check it: call `get_skill`, then ask for a page, for example "Build me a sales page for my online course, in my brand." Without a token or OAuth connection every MCP request returns 401. Tokens and connected apps can be revoked on https://dna.wynter.ai/connect. ## MCP tools All tools need sign-in: an OAuth connection or a bearer token. Read `get_skill` and `get_rules` before building. - `search_library`: Find Live library pieces by text and optional library, category, kind or family. library: funnel (the default: page components and blocks), ads (kind ad), video (kind frame: one scene; kind clip: a short video of frames) or all; a media kind alone picks its library. Ads filter by angle (pain, promise, curiosity, proof, offer, founder, us-vs-them, objection, deadline), temperature (cold, warm, retargeting), archetype and format (square, portrait, story, landscape…); video by beat (hook, problem, turn, mechanism, offer, proof, risk, cta, utility), archetype and format (landscape, vertical, square). Ad and video rows add library, formats, lead (the format the poster shows), tags and poster (an image URL valid 12 hours). All-token matches rank first, followed by partial matches by token count, then field weight (title, family, description, page types or tags, slug). Common product and funnel synonyms are supported. Queries return up to 20 pieces by default; limit accepts 1–100. With no query or a blank query, list the whole catalog unless limit is passed. total_matches counts all matches before limiting; truncated indicates more are available. Increase limit to request more. - `get_piece`: Get a piece's metadata, props (including nested types), complete source and signed assets. Optional fields selects only those sections; source/specimen alias component_source/specimen_source. Default dependencies and assets cover the component only. Request specimen or specimen_dependencies for additional demo helpers and assets. dependency_paths is always a list of component helper paths; dependency_sources returns full sources only when selected in fields. Legacy dependencies is a list of path objects by default, or full sources when selected in fields. get_dependencies also returns full sources. Ads also return formats (name, width, height), lead, word_cap (most words on the image), copy (sample platform copy: platform, primary_text, headline, description, cta: the shape to follow, not the words), tags and images (the ad rendered at each format, URLs valid 12 hours). Video frames and clips return formats, tags, video (fps, durationInFrames, poster frame; clips: frames they play), keyframes, posters and previews (a poster image and a muted MP4 per format); clips add storyboard (the scene shape and the frames it plays). - `get_dependencies`: Get the complete shared source dependency tree for a piece slug or helper path such as kit/core or registry/slots.ts. Component dependencies are returned by default; include_specimen adds separate specimen_dependencies and specimen package/missing-path lists. dependency_paths lists paths; dependency_sources contains full sources (also available as the legacy dependencies alias). Missing pack helpers are reported explicitly; packages lists external npm dependencies. - `list_categories`: List categories and families with piece counts, the libraries (funnel, ads, video) with counts, and the tag values ads and video pieces use (angle, temperature, archetype, drives; beat, archetype, plays_on). - `get_skill`: Read the main skill or a named Markdown section/path, such as direct-response, funnel-recipes, theme, components, design-rules, imagery or extreme-mode. Section email covers the emails that follow a funnel (written from the brand theme and the skill's theory; email has no component library), section ads the ads that drive traffic to it and section video the videos on its pages: for ads and video, pick a library piece (search_library with library ads or video), fill its props from the funnel's facts and render it with get_starter_kit; their hand-built methods cover concepts no piece fits. - `get_rules`: Read the theme, component and design rules together, plus the hard rules for ads and video. - `get_funnel_recipe`: Get the skill's page sequence and matching library families for any funnel type in the skill: lead-magnet (opt-in), tripwire (sales, order, upsell), live-webinar, automated-webinar (evergreen-webinar), product-launch, challenge, summit, survey (quiz), book, cart, application, membership, free-trial, daily-deal, storefront, local-business, advertorial, affiliate (jv), website-pages and more; an unknown type returns the full list of types and aliases. Optional page (such as sales, order, upsell or thank-you) returns only matching page steps and their availability lists; related steps remain ID references. Omit page for the complete funnel and continuity rules. - `list_brands`: List your saved brands (brand_id) and sample brands (brand_name). Admins can see all user brands. Create or change a saved brand with save_brand. - `save_brand`: Create a saved brand for your account, or update one of yours with brand_id, with the same fields the site's brand editor saves. A new brand needs name and colors; fonts default to Inter. On update, fields you leave out keep their saved values. colors: 1-8 six-digit hex colours. colorRoles and styleRoles: as in brand_theme (absent roles use Auto). fontRoles: Google Fonts families for heading and body. logo: an https link to a PNG, JPEG, WebP, GIF, AVIF or SVG file (5 MB max), or an empty string to remove it. Returns brand_id and the brand_theme, ready for get_starter_kit and preview_url. - `brand_theme`: Get a saved brand by brand_id or brand_name, including its images, or map raw colours and font roles to contrast-safe library tokens. Use list_brands to find saved brands. colorRoles sets explicit base colours; styleRoles sets button/input/card/type choices with unprefixed token names. Absent roles use Auto. tokens contains OKLCH CSS colours, roles contains chosen style overrides, and hex contains effective sRGB values for inputs and contrast checks. adjusted reports lightness corrections. Raw image roles: product (ordered), team, lifestyle, texture. - `get_starter_kit`: For agents with a shell: one download URL (valid 12 hours) for a ready project, instead of fetching sources with get_piece/get_dependencies and writing your own build or render tooling. Pass pages, ads, video or any mix. pages: the chosen pieces' sources and helpers, one page file per funnel page that already renders its pieces in order, and build/check scripts: a static SSR build with relative URLs, and headless Chrome screenshots at 1440 and 390 with console, overflow, contrast and broken-image checks (node build.mjs, node check.mjs). ads: [{ slug, piece, formats, props }], one concept each: ads/.tsx renders the library ad with your props; node render-ads.mjs writes out/-.webp at each exact size (300 KB or less) and node check-ads.mjs runs the library's ad checks (safe zones, word cap, type floors, cue, logo, fake UI, contrast) and writes out/contact-sheet.webp. video: { storyboard: [{ frame, props, seconds, voice }], formats, clip }: a Remotion project; npm run preview opens Remotion Studio, node tts.mjs voices each scene's line with the user's own TTS key from TTS_API_KEY (never put a key in the project), node render.mjs writes keyframe stills, out/.mp4 (H.264, 15 MB or less), out/-poster.webp and captions. Every kit holds PIECES.md (each piece's props and defaults) and theme.json (the brand; the Original theme when none is passed). Download with curl, unzip, npm install, then the scripts. Still read get_skill and get_rules first. - `preview_url`: Get a plain public preview URL for stacked pieces (funnel pieces, ads and video frames or clips: the live pieces in the brand). Select a saved brand_id/brand_name, a preset/sample name, or raw brand data. Saved brand references are resolved against your account and shared as theme data in the URL, without preview tokens or expiration. Prompts: `build-funnel` (Build a funnel using the FunnelDNA skill and library); `build-page` (Build a page using the FunnelDNA skill and library); `build-extreme` (Build a funnel in Extreme Mode: the normal build, then designer polish, generated images and video, a sales video and a deeper scroll narrative); `build-ads` (Make ads for a funnel from the FunnelDNA ads library: message-matched concepts, one angle each, rendered at every size); `build-video` (Make a funnel video or video ad from the FunnelDNA video library: script, scene plan, frames per beat, storyboard, render). ## The skill `get_skill` with no section returns SKILL.md. Sections by name: `ads`, `components`, `design-rules`, `direct-response`, `email`, `extreme-mode`, `funnel-recipes`, `imagery`, `theme`, `video`. Email, ads and video have no component library: they are written from the brand theme and the skill's theory. Every document is also readable as Markdown: - [Build a page with the library](https://dna.wynter.ai/skill/SKILL.md?raw=1): What the library and the skill are, the seven steps from brief to finished page (get the facts, pick the recipe, pick a piece per section, apply the theme, write the copy and the sections no piece covers, check it), the truth boundary, and where each rule lives - [Static ads](https://dna.wynter.ai/skill/ads.md?raw=1) - [Components](https://dna.wynter.ai/skill/components.md?raw=1): Using and extending pieces - [Design rules](https://dna.wynter.ai/skill/design-rules.md?raw=1): Sixteen things that never ship, then the craft rules for the two registers, typography, layout and spacing, buttons, prices, depth, motion and accessibility, and how to check a finished page - [The persuasion playbook](https://dna.wynter.ai/skill/direct-response.md?raw=1): One page, one step, one action - [Email: the follow-up that sells](https://dna.wynter.ai/skill/email.md?raw=1) - [Extreme Mode](https://dna.wynter.ai/skill/extreme-mode.md?raw=1): The four passes on top of a finished funnel - [Funnel recipes](https://dna.wynter.ai/skill/funnel-recipes.md?raw=1): Nine funnels page by page, from lead magnet and tripwire to webinar, application, book, membership, launch, advertorial and quiz - [Imagery and icons](https://dna.wynter.ai/skill/imagery.md?raw=1): Planning images by their job, real-looking objects as images rather than code, treatments, annotations that point at their subject, real video, the truth in images, and one icon library used well - [Theme](https://dna.wynter.ai/skill/theme.md?raw=1): How a brand becomes a theme - [Funnel videos](https://dna.wynter.ai/skill/video.md?raw=1) ## Rules that never bend - Use only facts the person gives you: never invent proof, results, testimonials, prices, deadlines or scarcity. - Library pieces ship sample copy as defaults: replace all of it with real copy. - Apply the brand theme to the page wrapper, not to single pieces. ## Pages - [Home](https://dna.wynter.ai/) - [Library](https://dna.wynter.ai/library) - [Examples](https://dna.wynter.ai/examples) - [Use cases](https://dna.wynter.ai/use-cases): [Ray Dumont](https://dna.wynter.ai/use-cases/ray-dumont), [June Hollister](https://dna.wynter.ai/use-cases/june-hollister), [Nadia Corwell](https://dna.wynter.ai/use-cases/nadia-corwell), [Leo Navarro](https://dna.wynter.ai/use-cases/leo-navarro) - [Skill](https://dna.wynter.ai/skill/SKILL.md) - [Factory](https://dna.wynter.ai/factory) - [MCP](https://dna.wynter.ai/connect) - [Brands](https://dna.wynter.ai/brands) (signed in)