docs/guide/work-with-ai.md
Thanks to Slidev being markdown-based, it works great with AI coding agents.
Slidev has a built-in <LinkInline link="features/mcp" /> that gives any MCP-capable agent structured tools to inspect, edit, reorder, and navigate your slides.
When the dev server is running, point your agent to http://localhost:<port>/__mcp:
# e.g. for Claude Code
claude mcp add --transport http slidev http://localhost:3030/__mcp
Or run a standalone stdio server that operates on the files directly:
slidev mcp slides.md
See <LinkInline link="features/mcp" /> for the available tools and configuration.
Slidev provides official skills for AI coding agents, enabling them to understand Slidev's syntax, features, and best practices when helping you create presentations.
Install the Slidev skill to your AI coding agent:
npx skills add slidevjs/slidev
The source code of the skill is here.
Once installed, you can ask agents to help with various Slidev tasks:
Create a Slidev presentation about TypeScript generics with code examples
Add a two-column slide with code on the left and explanation on the right
Set up click animations to reveal bullet points one by one
Configure the presentation for PDF export with speaker notes
The Slidev skill provides knowledge about:
The <LinkInline link="features/vscode-extension" /> provides Language Model Tools that allow VS Code's Copilot and other AI assistants to interact with your Slidev project directly. These tools enable AI to:
See <LinkInline link="features/vscode-extension#ai-integration" /> for more details.