lightpdf-aipdf-mcp 0.1.34__tar.gz → 0.1.35__tar.gz

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.
@@ -18,3 +18,4 @@ mcp_server/docs/
18
18
  homepage/backend/uploads
19
19
  .version
20
20
  lightpdf-mcp.zip
21
+ build.zip
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lightpdf-aipdf-mcp
3
- Version: 0.1.34
3
+ Version: 0.1.35
4
4
  Summary: MCP Server for LightPDF AI-PDF
5
5
  Author: LightPDF Team
6
6
  License: Proprietary
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "lightpdf-aipdf-mcp"
7
- version = "0.1.34"
7
+ version = "0.1.35"
8
8
  description = "MCP Server for LightPDF AI-PDF"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -870,6 +870,15 @@ async def handle_call_tool(name: str, arguments: dict | None) -> list[types.Text
870
870
  return [types.TextContent(type="text", text=error_msg)]
871
871
 
872
872
  async def main():
873
+ """应用主入口"""
874
+ # 打印版本号
875
+ try:
876
+ import importlib.metadata
877
+ version = importlib.metadata.version("lightpdf-aipdf-mcp")
878
+ print(f"LightPDF AI-PDF MCP Server v{version}")
879
+ except Exception as e:
880
+ print("LightPDF AI-PDF MCP Server (版本信息获取失败)")
881
+
873
882
  import mcp.server.stdio as stdio
874
883
 
875
884
  async with stdio.stdio_server() as (read_stream, write_stream):