npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-powerpoint

v1.0.0

Published

Pi skill for creating and editing PowerPoint files via CLI, wrapping office-powerpoint-mcp-server

Readme

powerpoint-cli

A standalone CLI for creating and editing PowerPoint (.pptx) files, wrapping office-powerpoint-mcp-server via mcporter.

The original project is an MCP (Model Context Protocol) server for PowerPoint manipulation. This repo packages it as a CLI so it can be used directly from the command line or as an Agent Skills-compatible skill — without loading 37 tool schemas into agent context.

What it does

  • Create presentations from scratch or from templates
  • Add slides, text, bullet points, images, tables, charts, shapes, connectors
  • Apply professional themes and color schemes
  • Auto-generate presentations from a topic
  • Extract text and inspect slide structure
  • Manage hyperlinks, transitions, fonts, and document properties

What it doesn't do

  • Open or display presentations in a GUI
  • Convert to/from PDF or other formats
  • Handle animations or video/audio embeds
  • Edit existing text in-place (you can add new text or replace placeholders)

Requirements

  • Bun runtime
  • uv (for the underlying Python MCP server, installed on first run)

Installation

# Install bun if needed
curl -fsSL https://bun.sh/install | bash

# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone
git clone https://github.com/tmustier/powerpoint-cli.git

As a pi skill

git clone https://github.com/tmustier/powerpoint-cli.git ~/.pi/agent/skills/powerpoint

The skill auto-loads when you ask your agent to work with PowerPoint files.

Usage

Batch mode (for multi-step workflows)

The server is stateful — create, build, then save. Use the batch runner:

echo '{
  "commands": [
    { "tool": "create_presentation" },
    { "tool": "add_slide", "args": { "title": "Hello World" } },
    { "tool": "manage_text", "args": {
      "slide_index": 0, "operation": "add",
      "left": 1, "top": 2, "width": 8, "height": 1,
      "text": "Welcome!", "font_size": 24
    }},
    { "tool": "save_presentation", "args": { "file_path": "./output.pptx" } }
  ]
}' | bun powerpoint-batch.ts

Also accepts a file or --recipe flag:

bun powerpoint-batch.ts recipe.json
bun powerpoint-batch.ts --recipe '{"commands": [...]}'

The batch runner auto-tracks presentation_id across commands.

Single-command mode

For one-off or read-only operations:

bun powerpoint-cli.js list-slide-templates
bun powerpoint-cli.js get-template-info --template-id title_slide
bun powerpoint-cli.js --help

See SKILL.md for the full tool reference with all arguments.

How it works

powerpoint-cli.js is generated by mcporter generate-cli. It spawns office-powerpoint-mcp-server as a subprocess over stdio and translates CLI flags / JSON into MCP tool calls.

powerpoint-batch.ts keeps a single server session alive across multiple commands, working around a known upstream bug where create_presentation doesn't set the active presentation ID (the wrapper that would do this is defined but never applied).

Regenerating

npx mcporter generate-cli \
  --command "uvx --from office-powerpoint-mcp-server ppt_mcp_server" \
  --name powerpoint \
  --output powerpoint-cli.ts \
  --bundle powerpoint-cli.js

Known issues

The upstream MCP server has a state persistence bug with stdio transport: create_presentation stores the presentation in memory but never sets it as the active one (the wrapper code for this exists but is never applied). Some MCP clients also respawn the stdio process per call, losing state entirely.

The batch runner (powerpoint-batch.ts) works around both problems by keeping a single server process alive for the full session and auto-injecting presentation_id into subsequent commands. If you use powerpoint-cli.js directly, each invocation is independent — use it only for stateless/read-only commands.

License

MIT