Scrollytelling / MCP server
MCP server

Use the widget library from your coding agent.

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.

Add the server, sign in, done

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:

json
{
  "mcpServers": {
    "scrollytelling": {
      "url": "https://api.scrollytelling.ai/mcp"
    }
  }
}
Install in Cursor →

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"}'
json · .vscode/mcp.json alternative
{
  "servers": {
    "scrollytelling": {
      "type": "http",
      "url": "https://api.scrollytelling.ai/mcp"
    }
  }
}
Install in VS Code →

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.

Access follows your account.

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.

What your agent does with it

Three tools render any widget; the story tools turn a whole page into a hosted, editable story.

1 · find

search_widgets

“a map”, “sticky image”, “chart” — the agent gets slugs, summaries and what each widget is for.

2 · read

get_widget

The widget's docs, the JSON schema of its props and a complete example it can adapt.

3 · render

render_widget

Your 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:

  • Add a sticky-split section to our landing page: the product photo pinned on the left, three short feature paragraphs scrolling on the right.
  • Find a widget for showing our six office locations on a map and render it with our brand colours.
  • Turn this list of quarterly numbers into an animated bar chart I can drop into the report page.
  • Give me the embed code for our published “Annual report 2026” story for the investors page.
  • Which Scrollytelling widget fits a photo essay? Render it with these five images and captions.
  • Turn my research in this chat into a Scrollytelling landing page — scroll-video hero, map, FAQ — and publish it on my subdomain when it's ready.

Code-generator MCPs vs a component MCP

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 MCPScrollytelling (component MCP)
What you getFresh code the model wrote for this requestThe real source of a finished widget, rendered by the engine that publishes every Scrollytelling story
ConsistencyDifferent every time, even for the same promptByte-identical output for the same props — today, next month, in CI
Responsive, accessible, reduced motionIf the model rememberedBuilt in and tested on every widget
StylingUnstyled, or styled to whatever the model guessedDesign tokens (accent, background, text, fonts) applied the same way as in the editor
DebuggingYours — nobody else has ever run that codeOurs — the widget is the one thousands of published stories already run
UpdatesNever; the snippet is frozen the moment it is writtenRender again and you get the current widget; published-story embeds update themselves
CostModel tokens for every line of codeNo 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.

What it covers

  • The full widget library — Carousel, Stacking cards, Slideshow, Split scroll, Sticky split, Interactive map, Stacking images, Bento grid, Process, Focus text, Word roller, Process rail, FAQ cards, FAQ accordion, Expanding strip, Step wipe, Grid chapters, Chart, Scroll video, Video background — rendered as complete, self-contained HTML (inline CSS and JavaScript, media by URL), with your heading, subheading and design tokens applied.
  • Concepts and patterns as agent-readable markdown — which scroll pattern fits which job, pacing and asset guidance, and how to embed the output in any site or framework — served as MCP resources your agent can read before it builds.
  • Stories in your account — your agent can save a whole page (sections of text, images, buttons and widgets) as an editable draft story, replace the drafts it made, and publish a story on your own scrollytelling.ai subdomain or take it offline. It can also list your stories and hand back a published story's URL, iframe embed, oEmbed endpoint and WordPress shortcode. Publishing starts on the Starter plan and follows your plan's published-story allowance, and everything it saves stays editable in the editor.
  • Scrollytelling's own generator — 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).
  • Every plan, including Free — widget rendering and saving pages you author never spend credits, and neither does publishing (from the Starter plan up); only generate_story and a heroVideo do, at the app's prices. Access follows the account you sign in with.

What it doesn't (yet)

  • The Form widget. A form needs a published story to receive submissions, so it cannot be a standalone snippet — build it in the editor, publish, then use get_story_embed.
  • AI Spotlight and custom sections. These are generated per story inside the editor.
  • Shopify-only widgets (Product buy box, Product grid) — they need a connected store.
  • Changing stories you built in the editor, or deleting anything. update_story only replaces stories created through create_story; your own stories are changed in the editor, and nothing is ever deleted over MCP.
  • Raw HTML sections. Stories are built from the editor's own blocks and widgets, so every part stays editable without code.
  • Scroll-video frame scrubbing from a raw clip. Splitting a video into scrub frames happens in the editor or the scroll-video playground; through MCP a videoUrl renders as an autoplay background, and a frame set you already have renders with real scrubbing.
  • Templates and whole-story kits — on the roadmap.

Tools and resources

ToolWhat it doesInputs
search_widgetsFind widgets by name, purpose or keyword; an empty query lists all 21.query (optional)
get_widgetA widget's docs, the JSON schema of its props and a complete example call.slug
render_widgetRender one widget with your content to self-contained HTML, or to an <iframe srcdoc> snippet.type, props, heading, subheading, design, format, iframeHeight
list_storiesYour stories with publish status and public URL.publishedOnly (optional)
get_story_embedA published story's URL, iframe embed, oEmbed endpoint and WordPress shortcode.storyId, height
generate_storyScrollytelling'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_storyA 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_storyA whole page — sections of headings, text, quotes, images, buttons and widgets — as one self-contained HTML document. Saves nothing.title, sections, design, inlineImages
create_storySave 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_storyReplace 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_storyPublish a story on <slug>.scrollytelling.ai, or push the latest changes live. Your plan's live-story allowance applies.storyId, slug, pageTitle, pageDescription
unpublish_storyTake 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.

ResourceContents
scrollytelling://concepts/scroll-driven-storytellingPatterns: what holds, what moves, which widget — plus pacing and asset rules.
scrollytelling://concepts/embeddingUsing 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.

Common errors

  • 401 — not authenticated. Re-run the client's authenticate flow (Claude Code: /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.
  • 403 — signed in, but the account can't be used. The account is suspended or deleted. Sign in to the dashboard to see why, or contact support from there.
  • “Redirect not allowed” on the sign-in page. The client registered one callback address and sent another. Remove the server from your client and add it again so it registers fresh.
  • The browser never opened. Copy the sign-in URL the client printed in its terminal or logs and open it yourself. Approve the connection; the client picks it up.
  • Signed in, approved, but the client still says unauthenticated. The client lost the callback — usually a second sign-in tab or a changed port. Run the authenticate flow once more; a fresh approval replaces the old one.
  • Tools don't show up. Reconnect or restart the client so it re-reads the server's tool list. The URL must be exactly https://api.scrollytelling.ai/mcp over https.
  • Invalid props for <widget>. The tool result says which field is wrong. Images must be public https URLs (or data: URIs), coordinates decimal degrees, and item counts within the limits in get_widget.
  • The widget renders, but images are blank. The image host blocks hot-linking or isn't public. Use a URL anyone can open in a private window, or pass a data: URI.
  • 429 — too many requests. The server allows 120 calls a minute per connection and 30 sign-in operations a minute per address. Wait a moment; nothing is lost.
  • “This connection can read stories but not create or publish them.” The connection was approved before story editing existed, or without that permission. Remove the Scrollytelling connector from your client and add it again (or re-run its authenticate step), and approve Create and publish stories.
  • “Your plan includes 10 published stories, and they are all in use” from publish_story. Every paid plan has a published-story allowance: Starter 10, Pro 100, Pro+ unlimited. The story stays saved as a draft. Take another story offline with 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.
  • “Not published yet” from get_story_embed. Only published stories have a public URL. Publish from the editor's Publish panel, then ask again. Stories beyond the plan's live-story allowance are offline until you upgrade or take another story offline.
  • The map or scroll-video shows nothing inside an iframe. Give the iframe real height (90vh or more): scroll-driven widgets scroll inside their frame. The map also needs the page to reach public tile servers.

Frequently asked questions

Is the MCP server free?

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.

Do I need an API key?

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.

Which clients work?

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.

Does it work with ChatGPT?

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.

Does it use AI or credits?

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.

Will the page look like a story made in the app?

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.

Can it create or publish a story?

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.

Why save a story instead of pasting the HTML?

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.

Can I use the HTML outside Scrollytelling?

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.

Is the output responsive and accessible?

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.

How do I use it in React, Vue or Svelte?

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.

How do I disconnect an agent?

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.

Where do I try the widgets without an agent?

On the widgets pages: search, open any widget, drop in your own text and images, and copy the embed code — no account needed.

Why are the pictures missing in Claude's preview?

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.

Where do sample pictures come from?

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.

What are the limits?

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.

Prefer to see the widgets first?

Search, open and customise every widget in the browser — your own text and images, no account, no AI.