Skip to content

AI agents and MCP

AI

Kadal Deck speaks the Model Context Protocol (MCP), so an AI agent can work on your decks with the same tools you use. There are four pieces; use whichever fits where the agent runs. For a walkthrough, see Build a deck with an AI agent.

Piece Where it runs What it is for
Local MCP server your computer: kadal-deck mcp a deck’s folder: look things up, write and check slides, look at them, build, export and publish
Agent Skill your agent teaches the deck format, the workflow and how to structure a good talk
Remote MCP server deck.kadal.cc/mcp, nothing to install your account: list and inspect decks, share links, settings, rollbacks, live rooms
AI in the dashboard deck.kadal.cc, with your own AI key or a local model the builder’s assistant, which edits a draft in the browser, and the presenter’s Copilot

Your AI agent, taught the deck format by the Agent Skill, works on a deck's folder through the local MCP server, kadal-deck mcp, which writes and checks slides and renders them as images, and on your account through the remote MCP server at deck.kadal.cc/mcp, which lists decks, share links, settings, rollbacks and live rooms.your AI agentClaude · CursorVS CodeAgent Skillthe format, and howto shape a talkteacheson your computerkadal-deck mcpthe deck's folderdeck.mdx · slide PNGsbuild · export · publishon deck.kadal.ccremote MCPdeck.kadal.cc/mcpyour accountdecks · links · settingsrollbacks · live roomsstdiosigned in

kadal-deck mcp is a stdio MCP server that ships with @kadal/deck. It works on the deck in the folder it starts in, or the one --dir <path> names; every tool also takes a dir inside it. Tools never read or write outside that folder unless the server starts with --allow-outside.

Add it to a client as a command. In Claude Code:

Terminal window
claude mcp add kadal-deck -- npx -y @kadal/deck mcp

In Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):

{
"mcpServers": {
"kadal-deck": {
"command": "npx",
"args": ["-y", "@kadal/deck", "mcp", "--dir", "/path/to/my-talk"]
}
}
}

In VS Code (.vscode/mcp.json):

{
"servers": {
"kadal-deck": { "type": "stdio", "command": "npx", "args": ["-y", "@kadal/deck", "mcp"] }
}
}

With the VS Code extension installed (VS Code 1.101 or later), you don’t need that file: the extension offers the server for the active deck to VS Code’s agents on its own.

The server has 24 tools (@kadal/deck 0.13.0):

Group Tools What they do
Look up deck_reference, deck_frontmatter_schema every component, layout, background, transition, option, key and CLI command, from the engine’s catalog; the frontmatter JSON Schema
Read deck_create, deck_outline, deck_read_slide, deck_check scaffold a deck from the starter; the deck as structure (slides, titles, layouts, clicks, line ranges); one slide’s source; the linter
Edit slide_add, slide_update, slide_remove, slide_move, deck_update_frontmatter, notes_set edits that change only that slide’s lines (or the headmatter), linted on the spot
Look slide_render, deck_preview PNG pictures of slides, every click revealed, from a dev server kept running between calls; the live URLs for you to open
Ship deck_build, deck_export, deck_publish a static dist/; PDF, PNG, PPTX, editable PPTX or Markdown in export/; a published deck on deck.kadal.cc
Sync deck_sync_status, deck_pull, deck_conflicts, deck_resolve the folder against the published deck and its web draft: what is newer where, bring web edits in, list and settle merge conflicts
Media media_search, media_trending, media_used icons, emoji, stickers, GIFs, memes, meme templates, Kadal’s own library and Kadal Store, each with ready MDX and its credit

media_search is how an agent finds a picture without guessing a URL: it returns each result’s MDX ready to paste, its credit and a preview. Because it runs on your computer, it also searches KLIPY’s GIFs, stickers and memes, the way KLIPY asks (straight from your machine, signed in with npx kadal-deck loginpnpm exec kadal-deck loginyarn kadal-deck loginbunx kadal-deck login).

kind: store searches Kadal Store’s shelf, through deck.kadal.cc: patterns, wallpapers, music, sound effects, video, Lottie animations, 3D models, colour grades and the rest, free to place in any deck under the Kadal Deck licence. type narrows it to one of them (pattern, music, lottie, model, lut …), and a pattern or a wallpaper also comes as the slide’s frontmatter, to go behind it. Every result is credited under Kadal Store, with a link to get the files.

slide_render is what makes an agent’s slides good: it looks at what it wrote, sees text that overflows or a colour that doesn’t read, and fixes it. Rendering and export need Playwright in the deck, once:

Terminal window
npm i -D playwright && npx playwright install chromium
Terminal window
pnpm add -D playwright && pnpm dlx playwright install chromium
Terminal window
yarn add -D playwright && yarn dlx playwright install chromium
Terminal window
bun add -D playwright && bunx playwright install chromium

deck_publish uses the login saved by npx kadal-deck loginpnpm exec kadal-deck loginyarn kadal-deck loginbunx kadal-deck login (or KADAL_DECK_TOKEN). If nobody is signed in, it says what you must run; it never signs in by itself.

The server also serves, as resources:

URI What
kadal-deck://catalog the whole catalog as JSON
kadal-deck://reference the catalog as one Markdown reference
kadal-deck://schema/frontmatter the frontmatter JSON Schema
kadal-deck://guide/workflow the Agent Skill’s workflow
kadal-deck://guide/authoring, …/components, …/design-guide, …/layouts-and-backgrounds, …/live-room the skill’s references: the file format, every component, how to make a good talk, layouts and backgrounds, the live room

And two prompts: draft_deck (a topic or an outline, with the audience and the length, turned into a finished deck: plan, write, check, render, fix) and review_deck (check, render and critique a deck, then report the problems by slide, or fix them with fix: "yes").

The engine ships an Agent Skill: the workflow (start, plan the arc, write, check, look, ship), the MDX rules, every component, and a design guide (one idea per slide, clicks for pacing, notes for what you’ll say).

In Claude Code, the plugin brings the skill and the local MCP server together:

/plugin marketplace add kadalcc/deck
/plugin install kadal-deck@kadal-deck

For any other agent that reads skills:

Terminal window
npx skills add kadalcc/deck
Terminal window
pnpm dlx skills add kadalcc/deck
Terminal window
yarn dlx skills add kadalcc/deck
Terminal window
bunx skills add kadalcc/deck
https://deck.kadal.cc/mcp

It works with the decks you have published, so it needs nothing on your computer. It signs in with OAuth: when you add it, your AI app opens deck.kadal.cc, you sign in (Google or GitHub, as on the dashboard), pick one workspace for the connection and choose whether it may change decks. The app never sees a password or an API token of yours.

Claude (claude.ai, Claude Desktop and mobile)

Section titled “Claude (claude.ai, Claude Desktop and mobile)”
  1. Open Settings → Connectors and choose Add custom connector.
  2. Name it Kadal Deck and paste https://deck.kadal.cc/mcp as the URL. Leave the advanced OAuth fields empty.
  3. Press Connect, sign in, pick the workspace and approve.

On Team and Enterprise plans an owner adds custom connectors under the organisation’s settings first.

Terminal window
claude mcp add --transport http kadal-deck-account https://deck.kadal.cc/mcp

Then run /mcp inside Claude Code, pick kadal-deck-account and authenticate; the browser does the rest.

In ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
"mcpServers": {
"kadal-deck-account": { "url": "https://deck.kadal.cc/mcp" }
}
}

In .vscode/mcp.json, or through MCP: Add Server… in the command palette:

{
"servers": {
"kadal-deck-account": { "type": "http", "url": "https://deck.kadal.cc/mcp" }
}
}

Any other client that supports remote (Streamable HTTP) MCP servers with OAuth works the same way: give it the URL and it discovers the rest from https://deck.kadal.cc/.well-known/oauth-protected-resource/mcp. Clients register themselves, by dynamic client registration or a client metadata document.

Tool What it does
whoami the person and workspace the connection acts for, its permissions, the plan, its limits and usage
list_decks every deck in the workspace with its links, visibility and the version being served
get_deck one deck: view, presenter (/presenter), audience (/join) and print (?print-pdf) links and more
list_versions the deck’s published versions and which one is live
get_deck_stats analytics, as far as the plan includes them
get_live_room a talk in progress: the current slide, the audience, open polls and results, questions by votes
update_deck change the title, visibility (public, unlisted, passcode) and the viewing or presenter passcode
rollback_deck serve an earlier version again
create_share_link a short link that opens the deck at one slide
publish_deck the commands to publish (the server can’t build MDX; see below)
authoring_guide how to write a good deck, and the MDX syntax
deck_reference the engine’s catalog and these docs, by topic or by search
media_search icons, emoji, Imgflip meme templates, Kadal’s own library and Kadal Store, with ready MDX and credit

media_search here doesn’t search KLIPY: KLIPY’s GIFs, stickers and memes must be fetched from your own machine, so they are in the local server’s media_search and the builder’s Media panel. Its kind: store searches Kadal Store, as the local server’s does.

And two prompts: Summarise my live room’s questions (the room’s questions with their votes, grouped and ranked, with draft answers) and Draft a talk outline (a plan and a first deck.mdx).

Some things to ask:

  • “Which of my decks are public, and when did each last change?”
  • “I’m presenting the launch deck now. What are people asking, and what should I answer first?”
  • “Make the board-update deck unlisted and give me a link to slide 4.”
  • “The last publish of the workshop deck broke something. Roll it back one version.”

Publishing turns a deck’s MDX into a site, which needs the deck’s files and Node, so the remote server doesn’t do it: publish_deck says so and gives the commands for your workspace. Publish from the deck’s folder with npx kadal-deck publishpnpm exec kadal-deck publishyarn kadal-deck publishbunx kadal-deck publish, or let an agent on your computer use the local server’s deck_publish.

Permission Lets the agent
decks:read see the workspace’s decks, versions, analytics and live rooms
decks:write change titles, visibility and passcodes, roll back versions and create share links

Both are asked for by default; switch off Change decks on the approval page to make a connection read-only. A connection reaches the one workspace you picked, and only while you’re a member of it: every call checks again, so leaving or being removed from a workspace cuts its connections off at once. Plan limits apply exactly as they do on the dashboard. Deleting decks, billing and team changes stay on the dashboard.

Access tokens last an hour and renew themselves while the app is in use. A connection unused for 30 days expires, and none lasts more than 90 days without your approving it again.

The dashboard’s API tokens page lists your Connected apps: each app, its workspace, its permissions and when you connected it, with Revoke, which ends that connection immediately. Removing the connector in your AI app forgets it on that side too.

Two AI features on deck.kadal.cc run on a key you bring, from OpenAI, Anthropic, Google, OpenRouter or any OpenAI-compatible API. An owner or admin adds it once for the workspace on the dashboard’s AI keys page (/app/ai); Kadal checks the key with the provider before saving it. Keys are encrypted in Kadal’s secrets vault, used only for that workspace’s AI features, and never sent to the browser: each request is made by the server, which decrypts the key for that request alone. After saving, only a key’s last four characters are shown. The page also lists each key’s models with their prices per million tokens, where the provider publishes them.

  • The builder’s assistant. In the builder (write a deck in the browser), the assistant panel takes a request (“turn my notes into eight slides”, “add a poll after the intro”), and edits the draft you are looking at: each change lands in the editor live, recompiles the preview, is saved as a revision marked Assistant, and can be undone. It checks its work against the compiler and the linter, shows you the slide it is on, and can read and answer the draft’s comments. Ask for a picture (“a celebration sticker on the last slide”, “a meme about Monday deploys”) and it searches the same media as the Media panel, Kadal’s own library, Kadal Store and KLIPY included (KLIPY is searched from your browser), and puts it in with its credit. Pick the model and how long it thinks (Quick, Balanced or Deep); the Deck settings tab sets the talk’s topic, audience, length, tone, theme and more.
  • Copilot. In the presenter view of a published deck, the Copilot tab of the sidebar is a chat whose tools are the deck’s own commands: “go to the results slide”, “black out the screen”, “circle the total on this slide”, “what’s in my notes here?”. It can quiz you on your notes while you rehearse. It can’t edit the deck; the builder does that.

Both can also run on a model on your own computer (Ollama, LM Studio, llama.cpp or any OpenAI-compatible server) with no key: turn on Models on this computer on the AI keys page. The agent then runs in your browser and calls your model directly. See Use a local model.

The AI features are on every plan; you pay your provider for what the model uses (nothing, on a local model). The builder keeps one draft at a time on the Free and Starter plans and any number on Pro and Team.

On Pro and Team, the builder’s assistant also follows the Studio skill: Kadal’s design rules for decks that don’t look like a template. It picks one visual style for the talk (editorial, big kinetic type, a Swiss grid, a cinematic stage, or an explorable explainer) and keeps to it, writes headings that make a point, reaches for the Pro backgrounds and layouts that suit the style, and builds step-by-step explanations so that nothing on the slide jumps or resizes as you click through. It checks every slide against a short list before it reports back. Kadal keeps the skill up to date, so the assistant gets better rules without you changing anything. The Free and Starter assistant writes good decks too, with the standard design guide.

Send feedback