Enables automated presentation generation through n8n workflows, allowing presentations to be created and exported as part of workflow automation pipelines.
๐จ Slidev MCP Server
AI-powered presentation creation and PDF export via Model Context Protocol
Transform ideas into professional presentations instantly. Create beautiful Slidev presentations and export to PDF through AI agents like Claude Desktop, n8n workflows, and any MCP-compatible client.
๐ฌ Demo
What it looks like in action:
Demo GIF coming soon - showing complete workflow from AI chat to PDF
Real-world examples:
Business presentation โ Create "Q4 Results" in 30 seconds
Technical documentation โ GraphQL API Guide with code blocks
Educational content โ JavaScript Fundamentals course slides
Try it live: Claude Desktop Setup | n8n Workflows
๐ฏ Why Slidev MCP Server?
The Problem: Creating professional presentations is time-consuming. Switching between AI chat and presentation tools breaks workflow. Existing solutions lack AI integration.
The Solution:
โ Create presentations directly in AI chat (Claude, n8n workflows, custom clients)
โ Instant PDF export with professional quality
โ Professional themes (Apple Basic, Default, and custom)
โ Code syntax highlighting for technical content
โ No context switching - everything in your AI workflow
Perfect for:
๐ Business professionals creating client presentations
๐ฉโ๐ป Developers documenting technical concepts
๐ Educators preparing course materials
๐ค AI workflow automation (n8n, Zapier, etc.)
๐ Quick Start
Option 1: Claude Desktop (Recommended)
Clone the repository:
git clone https://github.com/raykuonz/slidev-mcp-server.git cd slidev-mcp-server npm install npm run setup # Auto-installs PDF dependenciesAdd to Claude Desktop config (
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS):{ "mcpServers": { "slidev": { "command": "node", "args": ["/full/path/to/slidev-mcp-server/src/index.js"] } } }Restart Claude Desktop and start creating:
"Create a 5-slide presentation about AI trends in 2024 with apple-basic theme"
Option 2: Development Setup
Dependencies auto-installed:
Node.js 18+ โ
Playwright (for PDF export) โ
Slidev CLI โ
Test it works:
โจ Features
๐จ Presentation Creation
Atomic Operations: Build complete presentations in one command
Smart Templates: Business, technical, educational layouts
Theme Support: Apple Basic, Default, and custom themes
Content Types: Text, code blocks, images, tables, math equations
๐ PDF Export
Cross-directory support: Works from any execution context
Dependency auto-detection: Handles missing Playwright/Slidev automatically
Export options: Slide ranges, click animations, dark mode
High-quality output: Vector graphics and sharp text rendering
๐ค AI Integration
Claude Desktop: Native MCP integration
n8n Workflows: Automated presentation generation
VS Code: Direct integration via MCP extension
Custom Clients: Standard MCP protocol support
๐ก๏ธ Production Ready
59 comprehensive tests: Unit, integration, and workflow testing
Error handling: Graceful degradation with helpful messages
Performance: Optimized for large presentations (20+ slides)
Cross-platform: Windows, macOS, Linux support
๐ฆ Installation
Method 1: Git Clone (Current)
Method 2: NPM (Coming Soon)
Dependencies
Node.js 18+ (Required)
Playwright (Auto-installed for PDF export)
@slidev/cli (Auto-installed)
@slidev/theme-apple-basic (Auto-installed)
Verify Installation
๐ Usage
Basic Presentation Creation
In Claude Desktop:
Result: Complete presentation with PDF in seconds โจ
Advanced Features
Business Presentation with Data:
n8n Workflow Integration
Available Tools
Tool | Description | Use Case |
| Create full presentation | Complete slide decks |
| Add single slide | Incremental building |
| Generate PDF | Final deliverable |
| View current status | Debugging/workflow |
Available Scripts
Script | Command | Purpose |
STDIO Server |
| For Claude Desktop integration |
HTTP Server |
| For web-based clients |
SSE Server |
| For real-time streaming |
Simple API |
| Basic HTTP API |
MCP Inspector |
| Debug MCP tools |
โ๏ธ Configuration
MCP Client Setup
Claude Desktop
VS Code MCP Extension
Environment Variables
Custom Themes
Install theme:
npm install @slidev/theme-your-themeUse in presentations:
"theme": "your-theme"Available themes: Slidev Theme Gallery
๐ง Troubleshooting
Common Issues
"playwright-chromium not found"
"Command not found: slidev"
"Cannot find presentation file"
The server looks for presentations in multiple locations:
./presentations/(project directory)~/presentations/(home directory)Current working directory
PDF export fails in n8n
n8n runs in a different environment. The server handles this automatically by:
Detecting execution context
Using absolute paths
Installing dependencies in the correct location
MCP Server not connecting to Claude Desktop
Check the path in your Claude Desktop config is absolute
Restart Claude Desktop after config changes
Test the server runs manually:
node src/index.js
Performance Tips
Use
build_complete_presentationinstead of individual slidesLimit presentations to <50 slides for optimal performance
Use standard themes for faster rendering
Testing
Getting Help
๐ Issues - Bug reports and feature requests
๐ฌ Discussions - Community support
๐ Documentation - Complete guides and API reference
๐ค Contributing
We welcome contributions! This project thrives because of community involvement.
Quick Start for Contributors
How to Contribute
๐ Bug Reports: Open an issue
โจ Feature Requests: Start a discussion
๐ Documentation: Help improve our docs
๐งช Testing: Add test cases or improve coverage
๐จ Themes: Create new Slidev themes
Development Workflow
Fork the repository
Create feature branch:
git checkout -b feature/amazing-featureRun tests:
npm testCommit changes:
git commit -m 'Add amazing feature'Push branch:
git push origin feature/amazing-featureOpen a Pull Request
Code of Conduct
We follow the Contributor Covenant. Please be respectful and inclusive.
๐งฐ Tech Stack
Core Technologies
Node.js 18+ - Runtime environment
JavaScript ES Modules - Modern module system
Model Context Protocol - AI integration standard
Slidev - Presentation framework by Anthony Fu
Playwright - PDF export engine
MCP Integration
@modelcontextprotocol/sdk ^1.17.1 - Official MCP SDK
Zod ^3.25.76 - Schema validation
Express ^4.18.2 - HTTP server framework
Transport Protocols: STDIO, HTTP, SSE
Testing Framework
Jest - Testing framework
59 comprehensive tests - Unit, integration, and workflow
Mock infrastructure - Isolated, fast testing
0.232s execution time - Lightning fast feedback
Architecture
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
What this means:
โ Commercial use allowed
โ Modification allowed
โ Distribution allowed
โ Private use allowed
โ No liability or warranty
๐ Credits & Acknowledgments
Built With
Slidev - Amazing presentation framework by Anthony Fu
Playwright - Reliable browser automation
Inspiration
This project was inspired by the need for seamless AI-powered presentation creation and the amazing possibilities of the Model Context Protocol ecosystem.
Special Thanks
@antfu for creating the incredible Slidev framework
Anthropic for developing the Model Context Protocol
The MCP Community for inspiration, feedback, and collaboration
Made with โค๏ธ for the AI and presentation community
If this project helped you, please consider giving it a โญ star on GitHub!