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  ·  论坛 LINUX DO

Metadata

Release files for wps-mcp 2026.10.23.post1

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.post1
File Size Uploaded Provenance
wps_mcp-2026.10.23.post1.tar.gz 335.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 565.9 kB

Release files / wps_mcp-2026.10.23.post1.tar.gz

Download URL wps_mcp-2026.10.23.post1.tar.gz
Size 335.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f93c604fd99a457c6d7adbae1e9f522d28c6fdd9a81beb44cf846cbe09ce8d5b
BLAKE2b-256 checksum
How to use checksums
1e5703ec351d91773fbce6190f11391adb03660c4acfebcde8a9248601b5b6af
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 23, 2026.

Transparency log

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

Download URL wps_mcp-2026.10.23.post1-py3-none-any.whl
Size 230.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2654dfd96e8b9a1d2453a1bb22f33b12d93b7229025778ff45e2f209dddce4fd
BLAKE2b-256 checksum
How to use checksums
41ade5cdb4947554703c780d16e501c30dba5f4751420347137d6198c38ed01f
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 23, 2026.

Transparency log

Security for wps-mcp 2026.10.23.post1

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.post1.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 23, 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