loongclaw-devkit 0.2.0__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.
@@ -0,0 +1,14 @@
1
+ __pycache__/
2
+ *.pyc
3
+ *.pyo
4
+ *.so
5
+ *.pyd
6
+ *.egg-info/
7
+ dist/
8
+ build/
9
+ .venv/
10
+ .test-venv/
11
+ _staging/
12
+ project.zip
13
+ .publish.json
14
+ *.c
@@ -0,0 +1,38 @@
1
+ # LoongClaw DevKit
2
+
3
+ 开发者工具包,帮助 MCP 插件开发者一键创建、加密、打包、发布插件到 LoongClaw 商店。
4
+
5
+ ## 组成
6
+
7
+ - `src/loongclaw_devkit/server.py` — MCP server(提供 AI 可调用的 3 个开发工具)
8
+ - `src/loongclaw_devkit/publish.py` — 发布脚本(随包分发,也复制到新项目中)
9
+ - `src/loongclaw_devkit/templates/` — 项目模板文件
10
+ - `publish.py` — 根目录副本(向后兼容,开发者直接复制使用)
11
+ - `templates/` — 根目录副本(向后兼容)
12
+
13
+ ## 分发方式
14
+
15
+ ```bash
16
+ # 用户安装(推荐 uvx 零安装)
17
+ uvx loongclaw-devkit
18
+
19
+ # 或 pip 安装
20
+ pip install loongclaw-devkit
21
+ ```
22
+
23
+ ## 开发命令
24
+
25
+ ```bash
26
+ # 本地测试 MCP server
27
+ python -m loongclaw_devkit
28
+
29
+ # 构建 wheel
30
+ python -m build --wheel
31
+
32
+ # 发布到 PyPI
33
+ twine upload dist/*
34
+ ```
35
+
36
+ ## 品牌
37
+
38
+ 统一使用 `loongclaw` / `LoongClaw`,禁止出现 `openclaw`。
@@ -0,0 +1,106 @@
1
+ Metadata-Version: 2.4
2
+ Name: loongclaw-devkit
3
+ Version: 0.2.0
4
+ Summary: LoongClaw MCP 开发者工具包 — 一键创建、加密、打包、发布 MCP 插件
5
+ Author: LoongClaw Team
6
+ License-Expression: MIT
7
+ Keywords: ai,devkit,loongclaw,mcp,plugin
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Topic :: Software Development :: Libraries
12
+ Requires-Python: >=3.9
13
+ Requires-Dist: mcp[cli]>=1.0.0
14
+ Description-Content-Type: text/markdown
15
+
16
+ # LoongClaw DevKit
17
+
18
+ MCP 插件开发者工具包。一键创建、加密打包、发布 MCP 插件到 LoongClaw 商店。
19
+
20
+ ## 安装
21
+
22
+ 推荐使用 [uvx](https://docs.astral.sh/uv/)(零安装直接运行):
23
+
24
+ ```bash
25
+ uvx loongclaw-devkit
26
+ ```
27
+
28
+ 或用 pip 安装:
29
+
30
+ ```bash
31
+ pip install loongclaw-devkit
32
+ ```
33
+
34
+ ## 在 AI 客户端中使用
35
+
36
+ ### LoongClaw 桌面客户端
37
+
38
+ 在 MCP 商店中搜索 `loongclaw-devkit` 一键安装。
39
+
40
+ ### Claude Desktop / Cursor / VS Code
41
+
42
+ 在 MCP 配置文件中添加:
43
+
44
+ ```json
45
+ {
46
+ "mcpServers": {
47
+ "loongclaw-devkit": {
48
+ "command": "uvx",
49
+ "args": ["loongclaw-devkit"]
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## 提供的工具
56
+
57
+ | 工具 | 功能 |
58
+ |------|------|
59
+ | `create_mcp_project` | 创建新的 MCP 插件项目(自动生成模板代码) |
60
+ | `publish_mcp` | 一键加密编译 + 打包 + 发布到 LoongClaw 商店 |
61
+ | `check_mcp_status` | 查看插件的本地和已发布状态 |
62
+
63
+ ## 快速开始
64
+
65
+ 让 AI 帮你完成整个流程:
66
+
67
+ > "帮我创建一个天气查询的 MCP 插件,插件 ID 叫 weather-mcp"
68
+
69
+ AI 会自动调用 `create_mcp_project` 生成项目骨架,你只需编写核心逻辑。
70
+
71
+ 完成后:
72
+
73
+ > "把这个插件发布到 LoongClaw 商店"
74
+
75
+ AI 调用 `publish_mcp` 完成加密编译、打包、上传。
76
+
77
+ ## 发布到商店
78
+
79
+ 上传到 LoongClaw 商店需要 Store Key(专用于插件上传的安全密钥):
80
+
81
+ ```bash
82
+ export LOONGCLAW_STORE_KEY="lc-store-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
83
+ ```
84
+
85
+ Store Key 获取方式:
86
+ 1. 前往 [LoongClaw 开发者中心](https://loongclaw.net.cn/dev/) 登录
87
+ 2. 提交开发者申请,等待管理员审批
88
+ 3. 审批通过后,生成 Store Key
89
+
90
+ 没有 Store Key 也可以正常使用创建项目和本地打包功能。
91
+
92
+ ## 手动使用
93
+
94
+ 也可以不通过 AI,直接命令行运行:
95
+
96
+ ```bash
97
+ # 启动 MCP server(开发调试用)
98
+ loongclaw-devkit
99
+
100
+ # 或用 Python 模块方式
101
+ python -m loongclaw_devkit
102
+ ```
103
+
104
+ ## License
105
+
106
+ MIT
@@ -0,0 +1,91 @@
1
+ # LoongClaw DevKit
2
+
3
+ MCP 插件开发者工具包。一键创建、加密打包、发布 MCP 插件到 LoongClaw 商店。
4
+
5
+ ## 安装
6
+
7
+ 推荐使用 [uvx](https://docs.astral.sh/uv/)(零安装直接运行):
8
+
9
+ ```bash
10
+ uvx loongclaw-devkit
11
+ ```
12
+
13
+ 或用 pip 安装:
14
+
15
+ ```bash
16
+ pip install loongclaw-devkit
17
+ ```
18
+
19
+ ## 在 AI 客户端中使用
20
+
21
+ ### LoongClaw 桌面客户端
22
+
23
+ 在 MCP 商店中搜索 `loongclaw-devkit` 一键安装。
24
+
25
+ ### Claude Desktop / Cursor / VS Code
26
+
27
+ 在 MCP 配置文件中添加:
28
+
29
+ ```json
30
+ {
31
+ "mcpServers": {
32
+ "loongclaw-devkit": {
33
+ "command": "uvx",
34
+ "args": ["loongclaw-devkit"]
35
+ }
36
+ }
37
+ }
38
+ ```
39
+
40
+ ## 提供的工具
41
+
42
+ | 工具 | 功能 |
43
+ |------|------|
44
+ | `create_mcp_project` | 创建新的 MCP 插件项目(自动生成模板代码) |
45
+ | `publish_mcp` | 一键加密编译 + 打包 + 发布到 LoongClaw 商店 |
46
+ | `check_mcp_status` | 查看插件的本地和已发布状态 |
47
+
48
+ ## 快速开始
49
+
50
+ 让 AI 帮你完成整个流程:
51
+
52
+ > "帮我创建一个天气查询的 MCP 插件,插件 ID 叫 weather-mcp"
53
+
54
+ AI 会自动调用 `create_mcp_project` 生成项目骨架,你只需编写核心逻辑。
55
+
56
+ 完成后:
57
+
58
+ > "把这个插件发布到 LoongClaw 商店"
59
+
60
+ AI 调用 `publish_mcp` 完成加密编译、打包、上传。
61
+
62
+ ## 发布到商店
63
+
64
+ 上传到 LoongClaw 商店需要 Store Key(专用于插件上传的安全密钥):
65
+
66
+ ```bash
67
+ export LOONGCLAW_STORE_KEY="lc-store-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
68
+ ```
69
+
70
+ Store Key 获取方式:
71
+ 1. 前往 [LoongClaw 开发者中心](https://loongclaw.net.cn/dev/) 登录
72
+ 2. 提交开发者申请,等待管理员审批
73
+ 3. 审批通过后,生成 Store Key
74
+
75
+ 没有 Store Key 也可以正常使用创建项目和本地打包功能。
76
+
77
+ ## 手动使用
78
+
79
+ 也可以不通过 AI,直接命令行运行:
80
+
81
+ ```bash
82
+ # 启动 MCP server(开发调试用)
83
+ loongclaw-devkit
84
+
85
+ # 或用 Python 模块方式
86
+ python -m loongclaw_devkit
87
+ ```
88
+
89
+ ## License
90
+
91
+ MIT