PowerPoint MCP server

Creates and manipulates PowerPoint presentations directly within conversations, enabling users to generate professional slides with customizable layouts, formatting themes, and preview capabilities.
Back to servers
Provider
DJ Vosper
Release date
Mar 19, 2025
Language
Python
Stats
2 stars

This MCP server allows you to create and manipulate PowerPoint presentations through a simple interface. It provides functionality to programmatically build slide decks with various content types and formatting options.

Installation

To install the MCP PPTX Server to Claude Desktop, use the following command:

fastmcp install .\server.py

Usage Examples

Creating a New Presentation

To create a new PowerPoint presentation:

# Initialize a new presentation
response = await mcp.create_presentation()
presentation_id = response.presentation_id

Adding Slides

Add new slides to your presentation:

# Add a title slide
await mcp.add_slide(
    presentation_id=presentation_id,
    slide_type="TITLE_SLIDE",
    title="My Presentation",
    subtitle="Created with MCP PPTX Server"
)

# Add a content slide with bullet points
await mcp.add_slide(
    presentation_id=presentation_id,
    slide_type="CONTENT_WITH_CAPTION",
    title="Key Points",
    content=[
        "First important point",
        "Second important point",
        "Third important point"
    ]
)

Adding Images

Insert images into your slides:

# Add an image slide
await mcp.add_slide(
    presentation_id=presentation_id,
    slide_type="PICTURE_WITH_CAPTION",
    title="Project Overview",
    image_path="path/to/image.jpg",
    caption="Figure 1: System Architecture"
)

Saving the Presentation

Save your presentation to a file:

# Save the presentation
await mcp.save_presentation(
    presentation_id=presentation_id,
    file_path="my_presentation.pptx"
)

Managing Multiple Presentations

You can work with multiple presentations simultaneously:

# Create multiple presentations
response1 = await mcp.create_presentation()
response2 = await mcp.create_presentation()

# Work with specific presentations using their IDs
await mcp.add_slide(presentation_id=response1.presentation_id, ...)
await mcp.add_slide(presentation_id=response2.presentation_id, ...)

Advanced Features

Custom Slide Layouts

Customize slide layouts for specific needs:

# Create a custom layout slide
await mcp.add_slide(
    presentation_id=presentation_id,
    slide_type="CUSTOM",
    elements=[
        {
            "type": "text_box",
            "text": "Custom positioned text",
            "position": {"x": 2, "y": 2, "width": 4, "height": 1}
        },
        {
            "type": "image",
            "path": "logo.png",
            "position": {"x": 6, "y": 2, "width": 2, "height": 2}
        }
    ]
)

Applying Themes

Apply themes to maintain consistent styling:

# Apply a theme to the presentation
await mcp.apply_theme(
    presentation_id=presentation_id,
    theme_name="Modern"
)

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later