@josephyan/qingflow-app-builder-mcp 0.2.0-beta.17 → 0.2.0-beta.18
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.
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Install:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install @josephyan/qingflow-app-builder-mcp@0.2.0-beta.
|
|
6
|
+
npm install @josephyan/qingflow-app-builder-mcp@0.2.0-beta.18
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx -y -p @josephyan/qingflow-app-builder-mcp@0.2.0-beta.
|
|
12
|
+
npx -y -p @josephyan/qingflow-app-builder-mcp@0.2.0-beta.18 qingflow-app-builder-mcp
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Environment:
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -28,6 +28,8 @@ def build_server() -> FastMCP:
|
|
|
28
28
|
instructions=(
|
|
29
29
|
"Use auth_login first, then workspace_list and workspace_select. "
|
|
30
30
|
"All resource tools operate with the logged-in user's Qingflow permissions.\n\n"
|
|
31
|
+
"For analytics, use record_schema_get first, let the model build field_id-based DSL, "
|
|
32
|
+
"then call record_analyze. Use record_query for list/detail browsing only.\n\n"
|
|
31
33
|
"Task Center (待办/已办) handling:\n"
|
|
32
34
|
"- Use task_statistics to get counts of pending tasks (todo_count), timeouts, urged, etc.\n"
|
|
33
35
|
"- Use task_list to query tasks. Type values: 1=todo (待办), 2=initiated (我发起的), 3=cc (抄送), 5=done (已办).\n"
|
|
@@ -18,8 +18,9 @@ def build_user_server() -> FastMCP:
|
|
|
18
18
|
server = FastMCP(
|
|
19
19
|
"Qingflow App User MCP",
|
|
20
20
|
instructions=(
|
|
21
|
-
"Use this server for Qingflow record queries,
|
|
22
|
-
"directory lookups, and approval actions.
|
|
21
|
+
"Use this server for Qingflow record queries, schema-first analytics via record_schema_get and record_analyze, "
|
|
22
|
+
"record writes, task center operations, directory lookups, and approval actions. "
|
|
23
|
+
"Use record_query for list/detail reads only. Avoid builder-side app or schema changes here."
|
|
23
24
|
),
|
|
24
25
|
)
|
|
25
26
|
sessions = SessionStore()
|