Skip to main content
The Alai MCP Server lets AI agents generate presentations, manage slides, and export content directly through the Model Context Protocol. Authentication is handled via OAuth — your editor opens a browser window for sign-in on first use. No API key required. MCP URL: https://slides-api.getalai.com/mcp/

Getting Started

Run this command in your terminal:
claude mcp add --transport http alai https://slides-api.getalai.com/mcp/
Then type /mcp in a Claude Code session to initiate the OAuth sign-in flow.

Docs for AI

Give your AI agent access to Alai’s docs so it can look up API endpoints, authentication, webhooks, and more while building. For Claude Code, run this command in your terminal:
claude mcp add alai-docs -- uvx mcpdoc --urls "https://docs.getalai.com/llms.txt"
For Claude Desktop, Cursor, or VS Code, add an MCP server with these settings:
{
  "mcpServers": {
    "alai-docs": {
      "command": "uvx",
      "args": [
        "mcpdoc",
        "--urls",
        "https://docs.getalai.com/llms.txt"
      ]
    }
  }
}
Requires uv (provides uvx). Install with brew install uv or see the installation docs for other platforms. Uses mcpdoc by LangChain. Your agent gets a search tool over all Alai documentation, powered by the auto-generated llms.txt and llms-full.txt indexes.

Available Tools

The Alai MCP server exposes 11 tools that map to the Alai API:
ToolDescription
pingVerify authentication and return user ID
get_presentationsList all presentations for the authenticated user
get_themesList theme IDs and names available to the authenticated user
get_vibesList vibe IDs, names, and source (system or custom) for visual style presets
generate_presentationCreate a presentation from text content
get_generation_statusPoll async operation status
create_slideAdd a slide to an existing presentation
delete_slideRemove a slide from a presentation
export_presentationExport to PDF, PPTX, or shareable link
generate_transcriptsGenerate speaker notes for slides
delete_presentationPermanently delete a presentation

Example Usage

Once connected, ask your AI agent to create presentations:
Prompt: “Show me the theme IDs I can use for a presentation”The AI will call get_themes and return the available theme IDs and display names.
Prompt: “Create a 5-slide presentation about the benefits of remote work”The AI can call get_themes first to pick a theme, then generate_presentation and poll get_generation_status until complete.
Prompt: “Add a slide about team collaboration tools to my presentation”
Prompt: “Export my presentation as a PowerPoint file”
Prompt: “Create speaker notes for all slides in my presentation”

Authentication

Authentication is handled via OAuth 2.1. On first connection, your editor opens a browser window where you sign in to Alai. Tokens refresh automatically. MCP clients discover OAuth configuration via:
GET https://slides-api.getalai.com/.well-known/oauth-protected-resource/mcp
For programmatic access (CI, scripts, direct HTTP), use the Alai REST API with an API key instead.

Workflow

Presentation generation is asynchronous:
Most AI agents handle polling automatically. Just describe what you want and the agent will manage the async workflow.

Troubleshooting

  • Make sure your client supports remote MCP servers with OAuth (Claude Code, Claude Desktop, Cursor, VS Code 1.102+, ChatGPT)
  • Check that your firewall allows outbound HTTPS connections
  • Restart your MCP client after adding the server
  • Re-run the OAuth sign-in flow from your client’s MCP settings
  • Make sure you’re signed in to the same Alai account your presentations belong to
  • Some clients require a restart after adding MCP servers
  • Verify the server status indicator (should be green/active)

Next Steps

API Reference

Full API documentation with all endpoints and parameters

Examples

Python examples and use cases for the Alai API

A2A Agent

For autonomous agents that need to delegate edits, not human-driven editors