This release is a pre-release and may not be stable for production use.
WPS Writer, ET and WPP automation for AI clients
pip install wps-mcp==2026.10.26.dev11 Copy PIP instructions
WPS MCP 为 AI 助手提供 Word 文档编辑、Excel 表格处理、PowerPoint(PPT)制作及 PDF 导出与预览能力,基于 WPS Office 运行,支持 Windows、Linux 和 macOS。
✅ 支持 · 部分:存在限制 · ❌ 不支持。具体条件见表下角标说明,实际可用性以当前 WPS 版本为准。
下面采用常见的 MCP JSON 配置格式。本文描述当前源码;已发布包的功能以安装版本为准,需要当前分支的功能时使用源码方式。
{ "mcpServers": { "wps": { "command": "uvx", "args": ["wps-mcp@latest"] } } } Linux 必须指定 CPython 3.11:
{ "mcpServers": { "wps": { "command": "uvx", "args": ["--no-config", "--python", "3.11", "wps-mcp@latest"] } } } 使用预发布版本时,将对应配置中的 args 替换为:
# Windows / macOS "args": ["--prerelease", "allow", "wps-mcp@latest"] # Linux "args": ["--no-config", "--python", "3.11", "--prerelease", "allow", "wps-mcp@latest"] 环境配置与故障排查 可选环境变量 通常无需配置。需要指定安装位置、模板或 WPS 实例时,只填写需要的变量,路径使用绝对路径。
从已登录的图形桌面启动 MCP 客户端。若出现 Run in a desktop session with DISPLAY and X authority,在该桌面的终端查询环境变量:
env | grep -E '^(DISPLAY|XAUTHORITY|WAYLAND_DISPLAY|XDG_RUNTIME_DIR|DBUS_SESSION_BUS_ADDRESS)=' 把查询结果填入下面的 env。值仅作示例,请替换为实际输出,未输出的项删掉:
# Windows / macOS uv sync --locked # Linux uv sync --locked --python 3.11 将下面的 项目路径 替换为仓库根目录(包含 pyproject.toml 的目录),例如 d:/projects/wps-mcp 或 /home/user/projects/wps-mcp。
{ "mcpServers": { "wps": { "command": "uv", "args": ["--directory", "项目路径", "run", "wps-mcp"] } } } Linux:
All 2 files in this release have provenance metadata.
automation mcp presentation spreadsheet wps writer
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
All 2 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




