spire-presentation-mcp-server

eiceblue/spire-presentation-mcp-server

3.2

If you are the rightful owner of spire-presentation-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Spire.Presentation MCP Server is a powerful tool that allows AI agents to manipulate PowerPoint presentations using the Model Context Protocol (MCP) without the need for Microsoft Office.

Tools
  1. Basic Operations

    Add or delete slides in PowerPoint presentations.

  2. Data Processing

    Create or edit tables in PowerPoint presentations.

  3. Formatting

    Apply styles and save shapes as image files.

  4. Advanced Features

    Create charts and tables.

  5. Conversion

    Convert PowerPoint to PDF, HTML, and images.

What is Spire.Presentation MCP Server?

The Spire.Presentation MCP Server is a robust solution that empowers AI agents to work with Excel files using the Model Context Protocol (MCP). It is totally independent and doesn't require Microsoft Office to be installed on system. This tool enables AI agents to add or delete, read, and convert PowerPoint Presentation seamlessly

Main Features:

How to use Spire.Presentation MCP Server?

Prerequisites

  • Python 3.10 or higher

Installation

  1. Clone the repository:
git clone https://github.com/eiceblue/spire-presentation-mcp-server
cd spire-presentation-mcp-server
  1. Install using uv:
uv pip install -e .

Running the Server

Start the server (default port 8000):

uv run spire-ppt-mcp-server

Custom port (e.g., 8080):

# Bash/Linux/macOS
export FASTMCP_PORT=8080 && uv run spire-ppt-mcp-server

# Windows PowerShell
$env:FASTMCP_PORT = "8080"; uv run spire-ppt-mcp-server

Integration with AI Tools

Cursor IDE

  1. Add this configuration to Cursor:
{
  "mcpServers": {
    "ppt": {
      "url": "http://localhost:8000/sse",
      "env": {
        "PPT_FILES_PATH": "/path/to/ppt/files"
      }
    }
  }
}
  1. The PowerPoint tools will be available through your AI assistant.

Remote Hosting & Transport Protocols

This server uses Server-Sent Events (SSE) transport protocol. For different use cases:

  1. Using with Claude Desktop (requires stdio):

  2. Hosting Your MCP Server:

Environment Variables

VariableDescriptionDefault
FASTMCP_PORTServer port8000
PPT_FILES_PATHDirectory for Presentation files./ppt_files

Available Tools

The server provides a comprehensive set of PowerPoint manipulation tools. Here are the main categories:

  • Basic Operations: Add, or delete slide.
  • Data Processing: Create or Edit Tables in PowerPoint Presentations, apply formulas
  • Formatting: Apply styles, Save Shapes as Image Files in PowerPoint Presentations
  • Advanced Features: Create charts, Create table
  • Conversion: Convert PowerPoint to PDF, HTML, image, and more with high fidelity.

See TOOLS.md for complete documentation of all available tools.

FAQ from Spire.Presentation MCP Server?

Q1. Can I use Spire.Presentation MCP Server for any directory?

Yes, Spire.Presentation MCP Serer works for any directory.

Q2. Is Spire.Presentation MCP Server free to use?

Yes, it is licensed under the MIT License, allowing free use and modification.

Q3. What programming languages does Spire.Presentation MCP Server support?

It is built with Python.

License

MIT