Repository navigation
Getting Started
karlmoriaty edited this page Dec 6, 2026
·
1 revision
Linux:
curl -fsSL https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.sh | bashWindows PowerShell:
irm https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.ps1 | iexPackage managers:
npm install -g cmd_op
scoop install cmd_opVerify:
cmd_op --versioncmd_op create deck.pptx
cmd_op add deck.pptx / --type slide --prop title="Hello, World!"
cmd_op view deck.pptx screenshot -o deck.pngOpen deck.png. No PowerPoint or Office installation is involved.
Live preview:
cmd_op watch deck.pptxThen open http://localhost:26315; every edit refreshes the preview.
Auto-register for a known client:
cmd_op mcp cursorAlso supported: claude, vscode, lmstudio, opencode.
Generic configuration:
{
"mcpServers": {
"cmd_op": {
"command": "cmd_op",
"args": ["mcp"]
}
}
}Without the binary installed:
{
"mcpServers": {
"cmd_op": {
"command": "npx",
"args": ["-y", "cmd_op", "mcp"]
}
}
}Python:
pip install cmd-op-sdkNode:
npm install cmd-op-sdkBoth use a resident pipe, so repeated edits do not spawn a process per call. See the repository README for the API and examples.
Apache-2.0 · © 2026 karlmoriaty · Repository · Docs