lightpdf-aipdf-mcp 0.1.34__py3-none-any.whl → 0.1.35__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.
- lightpdf_aipdf_mcp/server.py +9 -0
- {lightpdf_aipdf_mcp-0.1.34.dist-info → lightpdf_aipdf_mcp-0.1.35.dist-info}/METADATA +1 -1
- {lightpdf_aipdf_mcp-0.1.34.dist-info → lightpdf_aipdf_mcp-0.1.35.dist-info}/RECORD +5 -5
- {lightpdf_aipdf_mcp-0.1.34.dist-info → lightpdf_aipdf_mcp-0.1.35.dist-info}/WHEEL +0 -0
- {lightpdf_aipdf_mcp-0.1.34.dist-info → lightpdf_aipdf_mcp-0.1.35.dist-info}/entry_points.txt +0 -0
lightpdf_aipdf_mcp/server.py
CHANGED
@@ -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):
|
@@ -2,8 +2,8 @@ lightpdf_aipdf_mcp/__init__.py,sha256=PPnAgpvJLYLVOTxnHDmJAulFnHJD6wuTwS6tRGjqq6
|
|
2
2
|
lightpdf_aipdf_mcp/common.py,sha256=ZPm_Wzn7GpMLl9xJXOrTgNgd0hqdI931JVKm57WRa14,6433
|
3
3
|
lightpdf_aipdf_mcp/converter.py,sha256=5oTLHxXOiZ9_PDatWiYbgPZ0LFFqE0L4qHvamX3g9lM,11732
|
4
4
|
lightpdf_aipdf_mcp/editor.py,sha256=mbCGXd1Xzu-ibDWJnn11fOP5Xlf1Vqxi0yQ8Vs_yUKg,21787
|
5
|
-
lightpdf_aipdf_mcp/server.py,sha256=
|
6
|
-
lightpdf_aipdf_mcp-0.1.
|
7
|
-
lightpdf_aipdf_mcp-0.1.
|
8
|
-
lightpdf_aipdf_mcp-0.1.
|
9
|
-
lightpdf_aipdf_mcp-0.1.
|
5
|
+
lightpdf_aipdf_mcp/server.py,sha256=oSLM7gFeZynFul9spV82z7vdDuUe4fsDUsAw59drC5U,36015
|
6
|
+
lightpdf_aipdf_mcp-0.1.35.dist-info/METADATA,sha256=PpYzCdghpIcbF86DfcXDRWlclvWeho288onsaXs25sw,7932
|
7
|
+
lightpdf_aipdf_mcp-0.1.35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
8
|
+
lightpdf_aipdf_mcp-0.1.35.dist-info/entry_points.txt,sha256=X7TGUe52N4sYH-tYt0YUGApeJgw-efQlZA6uAZmlmr4,63
|
9
|
+
lightpdf_aipdf_mcp-0.1.35.dist-info/RECORD,,
|
File without changes
|
{lightpdf_aipdf_mcp-0.1.34.dist-info → lightpdf_aipdf_mcp-0.1.35.dist-info}/entry_points.txt
RENAMED
File without changes
|