Skip to main content

WPS MCP

让 AI 直接操作你正在使用的 WPS。

https://github.com/user-attachments/assets/59574cdb-c623-48a9-850d-c4488c5acacc

核心能力

  • 实时编辑:创建新文档,也能接着修改已打开的文件,随时在 WPS 中查看结果。
  • 原生可编辑:文字、表格、图表和形状保留原生结构,方便继续手动调整。
  • 预览与导出:编辑后查看页面预览,保存文档或导出 PDF。

覆盖 45 个工具组、261 项操作,重点支持:

组件 典型任务
WPS 文字 报告排版、表格与图片、样式、修订、引用与邮件合并
WPS 表格 数据整理、公式、图表、透视表、条件格式与数据验证
WPS 演示 幻灯片制作、文字与形状排版、图片、主题、动画与导出

快速开始

需要 Windows(Linux 和 macOS 兼容版仍在开发中)、Python 3.11+、WPS Office(已注册 COM 接口) 和 uv。

推荐通过 PyPI 接入,uvx 会自动安装并启动服务。在 MCP 配置文件中添加:

{
  "mcpServers": {
    "wps": {
      "command": "uvx",
      "args": ["wps-mcp"]
    }
  }
}
本地接入

克隆项目后,在项目根目录安装依赖:

uv sync --locked

在 MCP 配置文件中添加:

{
  "mcpServers": {
    "wps": {
      "command": "uv",
      "args": [
        "--directory", "真实项目路径",
        "run", "wps-mcp"
      ]
    }
  }
}

许可证 · AGPL-3.0-only

Metadata

Release files for wps-mcp 2026.10.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wps-mcp 2026.10.23
File Size Uploaded Provenance
wps_mcp-2026.10.23.tar.gz 335.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wps-mcp 2026.10.23
File Interpreter ABI Platform
wps_mcp-2026.10.23-py3-none-any.whl Python 3 none any Details

Total release size: 565.7 kB

Release files / wps_mcp-2026.10.23.tar.gz

Download URL wps_mcp-2026.10.23.tar.gz
Size 335.0 kB
Tags Source
SHA-256 checksum
How to use checksums
723cdaee99a44eb21d907b0ee9ce7113f735bafbdd7fce74c92b27a647c417da
BLAKE2b-256 checksum
How to use checksums
9ddbed6393fc5303957f7365e79bfa8371b24367a03e969e99407a5bfe099c0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / wps_mcp-2026.10.23-py3-none-any.whl

Download URL wps_mcp-2026.10.23-py3-none-any.whl
Size 230.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9745b476db407432cd754e3aabdc8314a4a7a01ca5fd7e9554f7036947186653
BLAKE2b-256 checksum
How to use checksums
51551386a13a26acda2a61c5e364c8e83d57e15716a5361c7cfbd111476ba34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for wps-mcp 2026.10.23

Provenance

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wps_mcp-2026.10.23.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page