The Scrollytelling MCP server connects the widget library to Claude, ChatGPT, Claude Code, Cursor, VS Code and any other MCP client. Your agent searches the widgets and pulls finished, paste-ready HTML — carousels, sticky splits, interactive maps, charts — without you leaving the editor. It works on every plan, including Free; only generating a story with Scrollytelling’s AI spends credits.
Pick your client. Every path ends the same way: a browser opens, you sign in with your normal Scrollytelling account (email or Google), approve the connection, and the client handles tokens and refresh from there. No keys to copy.
One command, then run /mcp, pick scrollytelling and choose Authenticate:
claude mcp add --transport http scrollytelling https://api.scrollytelling.ai/mcp
No API key needed. Your client opens a browser sign-in with your normal Scrollytelling account the first time it connects. Add --scope user to make it available in every project.
Add this to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project), then open Cursor Settings → Tools & MCP and click Needs login next to scrollytelling:
{
"mcpServers": {
"scrollytelling": {
"url": "https://api.scrollytelling.ai/mcp"
}
}
}Cursor opens the browser sign-in and stores the tokens itself.
Run this in a terminal (VS Code 1.101 or newer, Copilot agent mode), then pick Allow when VS Code asks to sign in:
code --add-mcp '{"name": "scrollytelling", "type": "http", "url": "https://api.scrollytelling.ai/mcp"}'{
"servers": {
"scrollytelling": {
"type": "http",
"url": "https://api.scrollytelling.ai/mcp"
}
}
}VS Code supports the sign-in flow natively — no keys, no secrets file.
In Claude (web or desktop) open Settings → Connectors → Add custom connector. Name it Scrollytelling, paste the server URL, click Add, then Connect and sign in:
https://api.scrollytelling.ai/mcp
Custom connectors are available on Claude's paid plans (Pro, Max, Team and Enterprise) — that's Claude's rule, not ours. The connector then works in chat and in Claude's desktop app.
ChatGPT connects custom MCP servers in developer mode. Turn it on (on a workspace plan an admin enables it for the workspace first), then create an app from Settings → Apps: name it Scrollytelling, paste the server URL, choose OAuth, scan the tools and create it. ChatGPT opens the Scrollytelling sign-in; approve the connection:
https://api.scrollytelling.ai/mcp
OpenAI decides who can add custom MCP apps: at the time of writing developer mode is offered on its workspace plans (Business, Enterprise, Edu), while Free, Plus and Pro accounts use apps from ChatGPT's app directory. Leave client registration on automatic — there is no client ID or secret to paste. ChatGPT asks you to confirm before a tool creates, generates or publishes anything. OpenAI's developer-mode guide has the current menu names.
Any client that speaks MCP over Streamable HTTP with OAuth 2.1 (PKCE and dynamic client registration) needs the URL alone. A script or a client without OAuth can send a personal API key as the bearer token instead — create one under Settings → Integrations:
curl https://api.scrollytelling.ai/mcp \
-H "Authorization: Bearer stl_your_personal_api_key" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Discovery lives at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server on the API origin. The server is stateless JSON-RPC: POST only, no server-sent streams.
The connection identifies you; what it can read is decided live, per request. Widget tools work on every plan and never spend credits; generating spends them as the app does. Story tools only ever see the stories of the account you signed in with. Disconnect an agent any time under Settings → Integrations — and the same connection works again the moment you approve it.
Three tools render any widget; the story tools turn a whole page into a hosted, editable story.
search_widgets“a map”, “sticky image”, “chart” — the agent gets slugs, summaries and what each widget is for.
get_widgetThe widget's docs, the JSON schema of its props and a complete example it can adapt.
render_widgetYour content in, a self-contained HTML document out — or an iframe snippet for an existing page.
For a whole page, the agent hands Scrollytelling's generator a brief and the research from your conversation (generate_story), or authors the sections itself (create_story, with an optional AI scroll-video hero). Either way the page lands as a draft in your account and the agent gives you the editor link. When you say publish, publish_story puts it live on your scrollytelling.ai subdomain.
Try asking:
Most scrollytelling, GSAP and animation MCP servers you find on registries are code generators: you describe an effect and the model writes fresh code from scratch. Useful for one-off snippets, but the output is whatever the model produces that day — untested, unstyled, and yours to debug. Ask twice and you get two different carousels.
The Scrollytelling server is the other kind: a component MCP, the same model shadcn/ui uses. Your agent searches a library of finished, production-tested widgets and gets the real thing — rendered by the exact engine that publishes every Scrollytelling story, with responsive layout, reduced-motion support, lazy-loaded media and documented props already handled. Generation gives you a starting point; a component MCP gives you the shipped thing.
| Code-generator MCP | Scrollytelling (component MCP) | |
|---|---|---|
| What you get | Fresh code the model wrote for this request | The real source of a finished widget, rendered by the engine that publishes every Scrollytelling story |
| Consistency | Different every time, even for the same prompt | Byte-identical output for the same props — today, next month, in CI |
| Responsive, accessible, reduced motion | If the model remembered | Built in and tested on every widget |
| Styling | Unstyled, or styled to whatever the model guessed | Design tokens (accent, background, text, fonts) applied the same way as in the editor |
| Debugging | Yours — nobody else has ever run that code | Ours — the widget is the one thousands of published stories already run |
| Updates | Never; the snippet is frozen the moment it is written | Render again and you get the current widget; published-story embeds update themselves |
| Cost | Model tokens for every line of code | No AI, no credits — a library lookup |
The two are not rivals: let a generator write the glue code around a page, and let the component server hand it the sections that have to work.
A third kind is the prompt-library MCP, such as the one MotionSites offers: it hands your agent a design brief, and the agent still writes every line from it. How MotionSites compares with Scrollytelling.
generate_story runs the same pipeline as “Create story” in the app on your brief, the research your agent gathered or a source URL: an AI scroll-video hero, written sections, generated images and scroll widgets, in your account and fully editable. It spends credits exactly as the app does (the Free plan's 60 monthly credits cover about one new AI story).generate_story and a heroVideo do, at the app's prices. Access follows the account you sign in with.get_story_embed.update_story only replaces stories created through create_story; your own stories are changed in the editor, and nothing is ever deleted over MCP.videoUrl renders as an autoplay background, and a frame set you already have renders with real scrubbing.| Tool | What it does | Inputs |
|---|---|---|
search_widgets | Find widgets by name, purpose or keyword; an empty query lists all 21. | query (optional) |
get_widget | A widget's docs, the JSON schema of its props and a complete example call. | slug |
render_widget | Render one widget with your content to self-contained HTML, or to an <iframe srcdoc> snippet. | type, props, heading, subheading, design, format, iframeHeight |
list_stories | Your stories with publish status and public URL. | publishedOnly (optional) |
get_story_embed | A published story's URL, iframe embed, oEmbed endpoint and WordPress shortcode. | storyId, height |
generate_story | Scrollytelling's generator builds a complete story — scroll-video hero, sections, images, widgets — from a brief plus your research or a source URL. Runs in the background (3–5 minutes); spends credits like the app. | brief, content, sourceUrl |
get_story | A story's generation progress, hero-video state, publish status, links and section outline. Can wait up to 50 seconds for a running generation. | storyId, waitSeconds |
render_story | A whole page — sections of headings, text, quotes, images, buttons and widgets — as one self-contained HTML document. Saves nothing. | title, sections, design, inlineImages |
create_story | Save a page your agent authors as a new draft story. Add heroVideo to open it with an AI scroll-video hero. Returns the editor link and a preview link. | title, sections, design, heroVideo |
update_story | Replace the title, sections or design of a story created through create_story; keeps its hero clip unless heroVideo asks for a new one. | storyId, title, sections, design, heroVideo |
publish_story | Publish a story on <slug>.scrollytelling.ai, or push the latest changes live. Your plan's live-story allowance applies. | storyId, slug, pageTitle, pageDescription |
unpublish_story | Take a story offline (back to draft) and free its live-story slot. | storyId |
The widget tools, render_story, get_story and the two story readers are read-only. generate_story, create_story, update_story, publish_story and unpublish_story write to your account and need the Create and publish stories permission you approve when connecting; generate_story and heroVideo spend credits. render_widget accepts design tokens — accentColor, backgroundColor, textColor, headingFont, bodyFont — and format: "iframe" for an <iframe srcdoc> snippet.
| Resource | Contents |
|---|---|
scrollytelling://concepts/scroll-driven-storytelling | Patterns: what holds, what moves, which widget — plus pacing and asset rules. |
scrollytelling://concepts/embedding | Using the rendered HTML as a file, inside a page (iframe srcdoc), or in React/Vue/Svelte. |
scrollytelling://widgets/{slug} | Per-widget docs and props schema, one resource per widget. |
/mcp → scrollytelling → Authenticate), or check the API-key header if you use one. Tokens last 24 hours and refresh automatically; a disconnected agent (Settings → Integrations) gets a 401 until you approve it again.https://api.scrollytelling.ai/mcp over https.get_widget.unpublish_story, or upgrade under Settings → Billing. On the Free plan publish_story answers “Publishing starts on the Starter plan” instead: Free is for building and editing stories.Yes. It works on every plan, including Free. Rendering widgets and saving pages your agent writes cost nothing, and publishing (from the Starter plan up) spends no credits; generating a story or a scroll-video hero with Scrollytelling's AI spends credits exactly as it does in the app.
No. Your client opens a browser sign-in with your normal Scrollytelling account (email or Google), you approve the connection, and the client keeps its own tokens. A personal API key is only for scripts or clients that don't support OAuth.
Claude Code, Cursor, VS Code (Copilot agent mode), Claude's custom connectors, ChatGPT's developer mode, and any client that speaks MCP over Streamable HTTP with OAuth 2.1. The setup block above covers each one.
Yes, as a custom app in ChatGPT's developer mode: paste the server URL, choose OAuth and sign in. OpenAI currently offers developer mode on its workspace plans (Business, Enterprise, Edu); on Free, Plus and Pro, ChatGPT only runs apps from its own directory.
Only when you ask it to generate. generate_story runs Scrollytelling's generator (writing, images and the hero video) and heroVideo makes a scroll-video opening — both spend the account's credits at the app's prices, and the agent says so first. Every other tool is a library lookup with no AI.
With generate_story, it is one: the same generator, the same scroll-video hero, images and widgets. Pages your agent authors with create_story use the same widgets and section layout, and heroVideo gives them the same opening.
Yes, with your permission. When you connect, you approve Create and publish stories; your agent can then save a page as a draft story (create_story), update its own drafts and publish them on your scrollytelling.ai subdomain when you ask. Every story stays fully editable in the editor, it never touches stories you built yourself, and it never deletes anything.
A story is hosted, editable without code, publishable on your own domain and counted in your analytics. Sandboxed previews such as Claude artifacts block map tiles and external images; a published story shows the real map, real pictures and scroll video.
Yes. The rendered widget is a complete, self-contained HTML document with no runtime dependency on us (the map loads its tiles from public servers). Save it, host it, embed it — anywhere.
Yes. Every widget is the same one published stories ship: responsive layouts, real DOM text, lazy-loaded media, keyboard controls where there are controls, and reduced-motion support.
Treat the HTML as a static asset: render an iframe with srcdoc (ask for format "iframe"), or write the file to your public folder and point an iframe at it. Don't inject it with innerHTML — inline scripts won't run that way.
Settings → Integrations → Connected agents → Disconnect. The agent gets a 401 until you approve it again. Removing the server from the client also stops it using the connection.
On the widgets pages: search, open any widget, drop in your own text and images, and copy the embed code — no account needed.
Claude's artifact preview (and ChatGPT's canvas) blocks every external image, so a widget that references pictures by URL shows empty frames there even though the downloaded file is fine. Ask the agent to render with inlineImages: true: the pictures are embedded as downscaled data URIs (about 15–40 KB each) so the preview shows them. Keep plain URLs for the page you actually ship.
Every get_widget answer lists a small library of free, permanent sample stills with descriptions — the same pictures the editor seeds onto a fresh widget. When you have no images yet, the agent picks the closest match; give it your own image URLs and it uses those instead. It never invents a URL.
120 calls a minute per connection, 24 items per list widget (12 process steps, 40 pins on a map, 50 chart points), images under 1.5 MB as data: URIs, and a 4 MB request. Enough for any page; ask us if you need more.
Search, open and customise every widget in the browser — your own text and images, no account, no AI.