Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Slidev MCP — build and manage Slidev presentations (slides.md).

Typical flow:

  1. init_presentation (or attach to an existing slides.md automatically).

  2. Add content. For bulk work, choose the cheapest tool (see below).

  3. set_theme / set_style / set_slide_transition for look & feel.

  4. verify_presentation to catch structural errors; repair_presentation to fix them.

  5. export_presentation to render the deck.

TOKEN-EFFICIENT BULK AUTHORING — pick the right tool: • import_markdown(path) — CHEAPEST. The slide Markdown is read from disk on the server and never passes through the model's tokens. Use this when the deck (or a large block of it) already exists as a file. Ideal for a 50-slide deck: one call. • add_slides(slides[]) — author many slides in ONE call. One parse + one write for the whole batch. Use when the model is generating the content inline. • add_slide(content) — a single slide. Do NOT loop this to build a deck: N calls cost O(N^2) in accumulated context. Use add_slides or import_markdown instead.

Every mutating tool accepts dry_run:true to preview the slides.md diff without writing. import_markdown mode=replace backs up the previous slides.md to slides.md.bak.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
init_presentationA

Initialize a new Slidev presentation project. Creates the project directory, installs dependencies, and generates a slides.md file. The agent-dark preset includes clean Slidev/Shiki-friendly code styling without code borders. Set dry_run=true to preview create/attach/overwrite plans without writing, deleting, setting project state, or running pnpm install.

add_slideA

Add a new slide to the current presentation. Optionally specify a layout and an insertion index (1-based). If index is omitted, the slide is appended at the end. Set dry_run=true to preview the slides.md diff without writing.

add_slidesA

Add multiple slides to the current presentation in a single call, inserted as one contiguous block. Use this instead of repeated add_slide calls when adding several slides at once — it is dramatically cheaper in tokens (one parse + one write for the whole batch). Optionally specify a 1-based insertion index; if omitted, the block is appended. Set dry_run=true to preview the slides.md diff without writing.

import_markdownA

Import a full multi-slide Markdown document into the current presentation in a single call — the token-efficient way to build or replace a large deck. Pass path to read the Markdown from disk (content never touches the model's tokens) or content to import inline. mode=replace swaps the entire slides.md (backing up the old one to slides.md.bak); mode=append adds the slides after the existing ones. The document is validated before writing; structural errors abort the import. Set dry_run=true to preview the diff without writing.

update_slideA

Replace the content of an existing slide (1-based slide number). The global frontmatter is not counted. Replaces the entire slide content including any existing per-slide frontmatter. Set dry_run=true to preview the slides.md diff without writing.

export_presentationC

Export the current presentation to PDF, PNG, or SPA. Supports custom output paths inside the project, dry-run, timeout, slide range, and syntax verification.

list_slidesA

List all slides in the current presentation. Returns each slide's number, a content preview, and whether it has per-slide frontmatter.

delete_slideA

Delete a slide from the current presentation by its 1-based slide number. The global headmatter is not counted. Cannot delete the last remaining slide. Set dry_run=true to preview the slides.md diff without writing.

set_themeA

Change the theme of the current Slidev presentation. Updates the global frontmatter and optionally installs the theme package. Supports all built-in Slidev themes (default, seriph, apple-basic, etc.) and community themes. Set dry_run=true to preview slides.md/package.json diffs without writing or running pnpm install.

set_styleA

Manage CSS styling for the Slidev presentation. Supports three modes: 'global' (writes to style.css, applied to all slides), 'slide' (injects a block into a specific slide), and 'unocss' (adds UnoCSS/TailwindCSS utility classes to a slide's frontmatter). Set dry_run=true to preview the file diff without writing. Reference: https://sli.dev/custom/directory-structure#style

set_slide_transitionA

Add transitions, click animations (v-click), and motion effects (v-motion) to Slidev slides. Supports: slide transitions (per-slide or global), v-click step-by-step reveals, v-mark highlights, and v-motion enter/leave animations. Set dry_run=true to preview the slides.md diff without writing. Reference: https://sli.dev/guide/animations

add_diagramA

Add a Mermaid diagram to a Slidev presentation slide. Supports all Mermaid diagram types including flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, pie charts, git graphs, mind maps, timelines, and more. The diagram is wrapped in a ```mermaid code block as required by Slidev. Can append a new slide, insert at a position, or replace an existing slide. Set dry_run=true to preview the slides.md diff without writing. Reference: https://mermaid.js.org/intro/syntax-reference.html

verify_presentationB

Verifies the current Slidev presentation. Syntax mode parses slides.md; render/full also run a Slidev build check in a system temporary output directory and clean it afterward.

get_project_infoA

Return information about the active Slidev project, including paths, slide count, theme, package versions, and syntax verification status.

repair_presentationB

Safely repair slides.md structure: remove BOM/leading whitespace and serialize the parsed presentation into canonical Slidev form. Never drops slide content silently.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 15 tools

Disambiguation4/5

Most tools target a distinct operation, and descriptions explicitly disambiguate the tricky cases (add_slides vs repeated add_slide, import_markdown vs add_slides). The boundaries blur slightly: import_markdown in append mode overlaps with add_slides, and add_diagram can append or replace slides, overlapping with add_slide/update_slide. Descriptions resolve these well enough that an agent can choose correctly.

Naming Consistency5/5

All 15 tools use a consistent snake_case verb_noun pattern: add_slide, update_slide, delete_slide, set_theme, verify_presentation, get_project_info, etc. The only variation is the singular/plural pair add_slide/add_slides, which is intentional and predictable.

Tool Count5/5

15 tools is well within a sensible range for a slide-authoring server. Each tool covers a distinct lifecycle stage (init, author, style, animate, verify, export, repair), so none feel redundant despite the size.

Completeness4/5

Slide CRUD is fully covered (add/add_slides/import/list/update/delete), plus project init, theme, styling, transitions, diagrams, repair, verify, and export—a thorough lifecycle surface. Minor gaps exist: no tool to reorder/move existing slides, no full get_slide to read a single slide's exact content (list_slides only gives a preview), and no duplicate_slide.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues