MCP tools
Listed live from the Decks MCP server, exactly as your AI sees them. 18 tools.
decks.lol hosts responsive slide decks written as files: deck.json, MDX slides and React components. Call describe_format before writing deck content, and describe_component before restyling a built-in component.
whoamiRead-only
Who am I
Show the decks.lol account this connection acts as.
No inputs.
describe_formatRead-only
Describe the deck format
How a deck is written: deck.json, MDX slides, built-in components, your own React components, sizing rules, themes and CSS hooks. Read this before creating or editing a deck.
No inputs.
describe_componentRead-only
Describe built-in components
Full reference for built-in components: every prop with type, default and description, examples with the exact HTML they render, and the default CSS to override in style.css. Pass names, or leave them out for all. Describes the latest component library unless you pass the deck's "library" version.
| Input | Type | Description |
|---|---|---|
names | string[] | Built-in component names, e.g. ["Stat", "Columns"] |
library | integer | Component library version from deck.json "library" (latest: 1) (≥ -9007199254740991, ≤ 9007199254740991) |
list_decksRead-only
List decks
List the decks you own on decks.lol, most recently edited first.
No inputs.
get_deckRead-only
Get deck
Read a deck's current draft: every file (deck.json, slides, components, style.css), plus publish status and links.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
create_deckWrites
Create deck
Create a new deck. Pass files to fill it in one step (must include deck.json and every slide it lists); otherwise it starts from a short starter deck. The draft is private until publish_deck.
| Input | Type | Description |
|---|---|---|
titlerequired | string | The deck's title; also used for its URL (at least 1 characters) |
files | { [key: string]: string } | Map of path to full file content: deck.json, style.css, slides/<name>.mdx, components/<Name>.tsx. See describe_format. |
write_filesWritesDestructiveIdempotent
Write files
Create, replace or delete files in a deck's draft. Send whole file contents; null deletes a file. The deck is built after every write and build problems are returned with file and line. Saved drafts are versioned in the deck's history; visitors see changes only after publish_deck.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
filesrequired | { [key: string]: string | null } | Map of path to new full content, or null to delete the file. Files you leave out are unchanged. |
reason | string | Short note for the deck's history |
preview_deckRead-onlyOpen world
Preview deck
Build the current draft and look at it. Returns build problems (file, line, message) or screenshots: by default a contact sheet of every slide for desktop (16:9) and phone (stories), labelled with slide ids; pass slides to get full-size screenshots of specific slides as a viewer sees them, and viewports to check other devices (presets like iphone-se, iphone-16-plus, ipad-landscape, projector-4-3, or a custom size). Check your work with this after writing files.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
slides | string[] | Slide ids (file names without .mdx, as labelled on the contact sheet) to screenshot at full size (at most 8 items) |
viewports | ("desktop" | "desktop-1080p" | "projector-4-3" | "ipad-landscape" | "ipad-portrait" | "phone" | "iphone-se" | "iphone-16" | "iphone-16-plus" | "iphone-16-pro-max" | "pixel-9" | { width: integer, height: integer, scale?: number, mobile?: boolean })[] | Devices to render. Presets: desktop, desktop-1080p, projector-4-3, ipad-landscape, ipad-portrait, phone, iphone-se, iphone-16, iphone-16-plus, iphone-16-pro-max, pixel-9. Defaults to ["desktop","phone"]. (at least 1 items, at most 4 items) |
publish_deckWritesIdempotentOpen world
Publish deck
Publish the current draft so anyone with the deck's view URL sees it.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
unpublish_deckWritesDestructiveIdempotentOpen world
Unpublish deck
Take a published deck offline: its view URL, embeds and cover image stop working. The draft, history and comments are kept, and publish_deck puts it back.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
list_commentsRead-only
List comments
Comments the owner pinned on slides while viewing the draft deck. Each has the slide file, the point it was pinned at (x, y as % of the slide from the top left), the text the owner selected if any (selected), and the note. Open comments come with a screenshot of each slide, the pins drawn on it and numbered by comment id. The pin shows what the comment is about and roughly where the change belongs: follow that intent, but make the change fit the slide's layout and look good rather than placing it at the exact point. A comment with newSlideAfter instead of file asks for a new slide right after that one, its point placed on the empty new slide; the comments sharing a newSlideAfter describe one slide. Its screenshot is the slide before it, for style. Write the new slide under a name for its content, add it to deck.json after that slide, and leave the other slides' file names alone. Make the edits with write_files, check them with preview_deck, then mark each comment done with resolve_comment.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
includeResolved | boolean | Also return resolved comments, default false |
resolve_commentWritesIdempotent
Resolve comment
Mark a comment from list_comments as addressed, with a short note on what you changed (or why you didn't). The owner sees the note in the deck's comments panel.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
idrequired | integer | Comment id from list_comments (≥ -9007199254740991, ≤ 9007199254740991) |
noterequired | string | What you changed, in a sentence (at least 1 characters, at most 4000 characters) |
add_media_from_urlWritesIdempotentOpen world
Add media from URL
Copy an image (png, jpeg, gif, webp, svg, avif) or video (mp4, webm) up to 25 MB from a public URL into the deck's media storage. Returns a /media/... path to use as src in <Media> or <img>. For a local file, use create_media_upload.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
urlrequired | string | Public http(s) URL of the file |
create_media_uploadWrites
Upload media file
Get a URL to upload a local image (png, jpeg, gif, webp, svg, avif) or video (mp4, webm) up to 25 MB into the deck's media storage, e.g. a file on the user's machine or one you generated. Send the raw bytes with an HTTP PUT, such as `curl -sS -T photo.jpg '<uploadUrl>'`; the response is JSON with the /media/... path to use as src in <Media>, <img> or CSS url(). The URL works for several files until it expires. Use add_media_from_url instead when the file is already online.
| Input | Type | Description |
|---|---|---|
slugrequired | string | The deck's slug, from list_decks |
list_feature_requestsRead-only
List feature requests
Feature requests on the public decks.lol roadmap (https://decks.lol/roadmap), most upvoted first, with status and whether you already voted. Check this before request_feature so you upvote an existing request instead of adding a duplicate.
No inputs.
request_featureWrites
Request a feature
Add a feature request to the public decks.lol roadmap (https://decks.lol/roadmap) when the user asks for something decks.lol can't do yet. Call list_feature_requests first: if a request already covers it, use upvote_feature_request instead. The title and description are public, so write them about the feature, not the user or their deck. Your vote is added automatically.
| Input | Type | Description |
|---|---|---|
titlerequired | string | Short public title, e.g. "Speaker notes in presenter view" (at least 3 characters, at most 120 characters) |
descriptionrequired | string | Public description of the feature and the problem it solves (at least 10 characters, at most 2000 characters) |
note | string | Private context for the decks.lol team: what the user is trying to do and why. Never shown publicly. (at most 2000 characters) |
upvote_feature_requestWritesIdempotent
Upvote a feature request
Add the user's vote to a feature request on the decks.lol roadmap. Voting again only updates the private note. Visitors see an anonymous avatar, never who voted.
| Input | Type | Description |
|---|---|---|
idrequired | integer | The feature request's id, from list_feature_requests (≤ 9007199254740991) |
note | string | Private context for the decks.lol team: what the user is trying to do and why. Never shown publicly. (at most 2000 characters) |
remove_feature_voteWritesDestructiveIdempotent
Remove a feature vote
Take back the user's vote on a feature request.
| Input | Type | Description |
|---|---|---|
idrequired | integer | The feature request's id, from list_feature_requests (≤ 9007199254740991) |