mcpcn-office-powerpoint-mcp-server 2.1.0__py3-none-any.whl → 2.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcpcn_office_powerpoint_mcp_server-2.1.0.dist-info → mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info}/METADATA +1 -1
- {mcpcn_office_powerpoint_mcp_server-2.1.0.dist-info → mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info}/RECORD +6 -6
- tools/content_tools.py +5 -4
- {mcpcn_office_powerpoint_mcp_server-2.1.0.dist-info → mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info}/WHEEL +0 -0
- {mcpcn_office_powerpoint_mcp_server-2.1.0.dist-info → mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info}/entry_points.txt +0 -0
- {mcpcn_office_powerpoint_mcp_server-2.1.0.dist-info → mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcpcn-office-powerpoint-mcp-server
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: MCP Server for PowerPoint manipulation using python-pptx - Consolidated Edition
|
|
5
5
|
Project-URL: Homepage, https://github.com/GongRzhe/Office-PowerPoint-MCP-Server.git
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/GongRzhe/Office-PowerPoint-MCP-Server.git/issues
|
|
@@ -3,7 +3,7 @@ slide_layout_templates.json,sha256=ryA8zIZv6WBwjhBQaJXRWES3uqE7esqqFmXyiPEdauU,1
|
|
|
3
3
|
tools/__init__.py,sha256=b53px-U7Ny4-FMnAdFLoJMtPxD7lt7DB8ydvcdATCz0,983
|
|
4
4
|
tools/chart_tools.py,sha256=vvXI53gm9_2mfNOiG-qCfwLdqqr2pe_uDXHN9adVsZk,3124
|
|
5
5
|
tools/connector_tools.py,sha256=8cUPAfTZ-5vvooLCVQIWfblMzcFe3cPdh_bG5UezykQ,3402
|
|
6
|
-
tools/content_tools.py,sha256=
|
|
6
|
+
tools/content_tools.py,sha256=cJcAy8ZH3yD7icduajgIX8swb81jOyOzN6mwz2JmPdU,36813
|
|
7
7
|
tools/hyperlink_tools.py,sha256=EweAxbYGvOpNpzDxH5DnrFzGMQmnzNGGehEoCCx9d18,5920
|
|
8
8
|
tools/master_tools.py,sha256=05a7ZUEDN5a7ySwG97Sj4UJK7Y0pcCxang553Bh7iOM,4986
|
|
9
9
|
tools/presentation_tools.py,sha256=rnVRYOu4A0Sw97sf8qKBK6-q5dYnK1vO2XNAzN8je4o,7977
|
|
@@ -18,8 +18,8 @@ utils/design_utils.py,sha256=vEstbqsBe202PYS4NvqdOLL3Aq5na7G2SBJnY-BYD_g,23761
|
|
|
18
18
|
utils/presentation_utils.py,sha256=9Y4F0twPvr0srjq53_Szkwxcn7dh06IWy3snRLaMuM8,6262
|
|
19
19
|
utils/template_utils.py,sha256=8iSJcJIgoOmi53TtlRnMwRLTDI84EfSW2PWj8EW3Z1k,44574
|
|
20
20
|
utils/validation_utils.py,sha256=0OiwFE1WZh05ZP-0hLzidyxKSUIJaJ3QrV0_s6FpxZk,11775
|
|
21
|
-
mcpcn_office_powerpoint_mcp_server-2.1.
|
|
22
|
-
mcpcn_office_powerpoint_mcp_server-2.1.
|
|
23
|
-
mcpcn_office_powerpoint_mcp_server-2.1.
|
|
24
|
-
mcpcn_office_powerpoint_mcp_server-2.1.
|
|
25
|
-
mcpcn_office_powerpoint_mcp_server-2.1.
|
|
21
|
+
mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info/METADATA,sha256=mLpc5PNzUJ2IkoQdVS2oJQCHbbiF4WvLaiL4cK_rpS0,35856
|
|
22
|
+
mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
23
|
+
mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info/entry_points.txt,sha256=4iWuiBR6HdlTqSJjCVyqyqVGpSGiD4ssw7LkEzmgvXw,75
|
|
24
|
+
mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info/licenses/LICENSE,sha256=A-aSf9c0K2FKh7xtMkSr5Ot76NX8mrdLffsajnmZGKs,1064
|
|
25
|
+
mcpcn_office_powerpoint_mcp_server-2.1.1.dist-info/RECORD,,
|
tools/content_tools.py
CHANGED
|
@@ -507,7 +507,7 @@ def register_content_tools(app: FastMCP, presentations: Dict, get_current_presen
|
|
|
507
507
|
统一的图片处理工具(添加/增强)。
|
|
508
508
|
|
|
509
509
|
功能
|
|
510
|
-
- operation="add":将图片插入到指定幻灯片位置,支持本地文件或 Base64
|
|
510
|
+
- operation="add":将图片插入到指定幻灯片位置,支持本地文件或 Base64 图片源或图片地址。
|
|
511
511
|
- operation="enhance":对已有图片文件进行画质增强与风格化处理,输出增强后的图片路径。
|
|
512
512
|
|
|
513
513
|
参数
|
|
@@ -516,9 +516,10 @@ def register_content_tools(app: FastMCP, presentations: Dict, get_current_presen
|
|
|
516
516
|
- image_source: str —
|
|
517
517
|
* 当 source_type="file":本地图片文件路径。
|
|
518
518
|
* 当 source_type="base64":图片的 Base64 字符串。
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
*
|
|
519
|
+
* 当 source_type="url":图片的 http/https 地址。
|
|
520
|
+
- source_type: str — "file"、"base64" 或 "url"。
|
|
521
|
+
* add 支持 "file"、"base64"、"url"(仅允许 http/https)。
|
|
522
|
+
* enhance 仅支持 "file"(不接受 base64 或 url)。
|
|
522
523
|
- left, top: float — 插入位置(英寸)。
|
|
523
524
|
- width, height: Optional[float] — 插入尺寸(英寸)。可只提供一项以按比例缩放;都不提供则按图片原始尺寸。
|
|
524
525
|
- enhancement_style: Optional[str] — "presentation" 或 "custom"。当 operation="add" 且需要自动增强时可用;"presentation" 走预设的专业增强流程。
|
|
File without changes
|
|
File without changes
|