SuperAPI AI Directory

MCP-Manim-Slides

Generate and render Manim-Slides presentations: run Manim code headlessly, compile to Reveal.js HTML, PDF or PPTX, and preview slides as images, videos or GIFs.

Open website

About this tool

Purpose: To add the "execution and orchestration" step for Manim presentations to AI programming assistants. Traditional assistants can only write Manim code; running the code and organizing it into a readable presentation format still requires manual work; this MCP server lets AI clients directly call tools to complete rendering, preview, and export.

Main capabilities: execute_manim_code renders Manim code headlessly in a secure temporary script and returns the media path, caches by scene content hash, and only re-renders changed scenes; sync_deck completes incremental rendering and recompilation in a single call; compile_presentation outputs HTML/Reveal.js, PDF, PPTX, and zip via manim-slides convert; export_revealjs_html supports themes, transitions, controls, page numbers, deep links, looping, and offline single files; export_video uses FFmpeg to concatenate into a single MP4 and supports crossfade; preview_slide extracts a single-page image, video clip, or GIF; screenshot_deck uses Playwright to capture each page headlessly; contact_sheet uses FFmpeg to generate grid thumbnails; serve_revealjs_html starts a local HTTP service for one-click preview. It also provides status://server, revealjs://config, and slides://list resources, as well as title_slide, agenda, code_walkthrough, math_derivation, and two_column_comparison prompt templates.

Usage: Requires installing uv, Manim Community Edition (depends on FFmpeg and LaTeX); the screenshot feature requires the vision extra (pip install "mcp-manim-slides[vision]") and running playwright install chromium. Add this server to the configuration JSON of an MCP-compatible client.

Applicable scenarios: AI generates teaching, mathematical derivation, and code explanation presentations and automatically renders and exports them.

Limitations: Tools other than screenshots do not require Playwright; specific configuration examples and complete parameters are subject to the repository documentation, and the resourdocumentation does not provide pricing and platform support details.