Pptx-XlsxSAFE
Antrophics Model context protocol to edit powerpoint files
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
This repository contains Model Context Protocol (MCP) servers for interacting with Microsoft Office applications through AI assistance. Currently supported applications:
- PowerPoint: Create and manipulate presentations
- Excel: Interact with workbooks and spreadsheets
Both servers use pywin32 for COM automation, allowing direct interaction with running Office applications.
Prerequisites
- Windows operating system
- Microsoft Office installed (PowerPoint and/or Excel)
- Python 3.7+
pywin32package
Installation
- Clone the repository:
git clone https://github.com/jenstangen1/mcp-pptx.git cd mcp-pptx
- Install dependencies using
uv:
uv pip install pywin32
- Run the
pywin32post-install script with administrator privileges:
python C:\path\to\your\env\Scripts\pywin32_postinstall.py -install
Setting up with Claude
To integrate these MCP servers with Claude, add the following configuration to your Claude Desktop app settings:
{
"mcpServers": {
"powerpoint_mcp_win32": {
"command": "uv",
"args": [
"run",
"mcp_powerpoint_server_win32.py"
],
"cwd": "C:\\path\\to\\your\\workspace"
},
"excel_mcp_win32": {
"command": "uv",
"args": [
"run",
"mcp_excel_server_win32.py"
],
"cwd": "C:\\path\\to\\your\\workspace"
}
}
}Note: Replace C:\\path\\to\\your\\workspace with your actual workspace path.
PowerPoint MCP Server
The PowerPoint server provides a comprehensive API for AI models to interact with PowerPoint presentations, supporting advanced formatting, financial charts, and data integration.
Features
Presentation Management
- Create and modify PowerPoint presentations
- Add, delete, and modify slides
- Save and load presentations from workspace
- Template manag
b6ac04845c40OBSERVED · 2026-10-08Exposed tools (37)
16 read · 20 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
add_rectangle | write | Adds a rectangle shape to a specific slide (dimensions in points). |
add_shape | write | Add a shape to a slide. |
add_slide | write | Add a new slide to the presentation. |
add_text | write | Add text to a slide. |
add_text_box | write | Adds a text box to a specific slide (dimensions in points). |
add_worksheet | write | Adds a worksheet to the specified workbook. Optionally provide a sheet_name. |
analyze_slide | read | Analyze the content of a slide. |
apply_template | write | Apply a template to a presentation. |
connect_shapes | read | Connect two shapes with a connector. |
create_comparison_table | write | Create a comparison table for companies. |
create_financial_chart | write | Create a financial chart on a slide. |
create_slide_from_template | write | Create a new slide from a template. |
debug_element_mappings | read | Debug tool to inspect element mappings for a slide. |
delete_slide | destructive | Delete a slide from the presentation. |
edit_element | write | Edit an element |
find_element | read | Find elements on a slide based on criteria. |
find_shape_by_text | write | Finds shapes on a slide containing specific text (case-insensitive). Set partial_match=False for exact match. |
find_shapes_by_type | read | Finds shapes on a slide by type name (e.g., |
get_cell_value | read | Gets the value from a specific cell (e.g., |
get_company_financials | read | Get financial data for a company. |
get_placeholder_shape | read | Gets a specific placeholder shape by name (e.g., |
get_range_values | read | Gets values from a range (e.g., |
get_slide_count | read | Get the total number of slides in the presentation. |
list_open_presentations | read | Lists currently open PowerPoint presentations. |
list_open_workbooks | read | Lists currently open Excel workbooks. |
list_presentations | read | List all PowerPoint files in the workspace. |
list_shapes | read | Lists all shapes on a given slide with their ID, Name, and Type. |
list_templates | read | List all available templates. |
list_worksheets | read | Lists worksheets in the specified workbook. |
save_as_template | write | Save a slide as a template. |
save_presentation | write | Save the current presentation. |
save_workbook | write | Saves the specified workbook. Use index, name, or full path as identifier. |
set_background_color | write | Set the background color of a slide. |
set_cell_value | write | Sets the value of a specific cell (e.g., |
set_range_values | write | Sets values in a range starting at start_cell. Expects |
style_element | write | Apply styling to an element. |
upload_presentation | write | Upload a new presentation to the workspace. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (3)
delete_slide
@modelcontextprotocol/sdk
Gates applied: no_behavioural_pass, no_license.
b6ac04845c40full audit observations/trust-audit/mcp-server/jenstangen1__pptx-xlsx.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | b6ac04845c40 | SAFE | B | 89 | first audit |
Questions
What is the Pptx-Xlsx MCP server?
Antrophics Model context protocol to edit powerpoint files
What tools does Pptx-Xlsx expose?
37 in total: 16 read-only, 20 that write, and 1 that can delete or overwrite (delete_slide). Every one is listed on this page with its risk.
Is Pptx-Xlsx safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Pptx-Xlsx need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (b6ac04845c40), read on 2026-10-08. The repository is watched and re-audited when it changes.