@cloudgrid-io/mcp 0.20.13 → 0.20.15
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 +1 -1
- package/package.json +1 -1
- package/src/corpus/cli-reference.md +4 -4
- package/src/corpus/cloudgrid-yaml.md +3 -2
- package/src/corpus/cookbook.md +7 -4
- package/src/corpus/skill-init.md +21 -17
- package/src/corpus/templates/ai-knowledge-base/AGENTS.md +6 -5
- package/src/corpus/templates/ai-knowledge-base/index.md +2 -1
- package/src/corpus/templates/appointment-booking/AGENTS.md +4 -3
- package/src/corpus/templates/approval-workflow/AGENTS.md +4 -3
- package/src/corpus/templates/billing-dashboard/AGENTS.md +3 -4
- package/src/corpus/templates/billing-dashboard/index.md +3 -2
- package/src/corpus/templates/booking-system/AGENTS.md +3 -4
- package/src/corpus/templates/booking-system/index.md +2 -2
- package/src/corpus/templates/calendar-scheduler/AGENTS.md +6 -5
- package/src/corpus/templates/calendar-scheduler/index.md +2 -1
- package/src/corpus/templates/course-platform/AGENTS.md +3 -4
- package/src/corpus/templates/course-platform/index.md +4 -3
- package/src/corpus/templates/erp/AGENTS.md +3 -4
- package/src/corpus/templates/erp/README.md +2 -1
- package/src/corpus/templates/forum/AGENTS.md +4 -3
- package/src/corpus/templates/forum/README.md +2 -1
- package/src/corpus/templates/hr-portal/AGENTS.md +4 -5
- package/src/corpus/templates/hr-portal/README.md +3 -2
- package/src/corpus/templates/hr-portal/index.md +2 -1
- package/src/corpus/templates/internal-tools-portal/AGENTS.md +5 -6
- package/src/corpus/templates/internal-tools-portal/README.md +2 -2
- package/src/corpus/templates/internal-tools-portal/index.md +2 -1
- package/src/corpus/templates/lms/AGENTS.md +3 -4
- package/src/corpus/templates/lms/index.md +2 -2
- package/src/corpus/templates/marketplace/AGENTS.md +5 -5
- package/src/corpus/templates/marketplace/index.md +2 -1
- package/src/corpus/templates/membership-site/AGENTS.md +4 -3
- package/src/corpus/templates/online-store/AGENTS.md +3 -4
- package/src/corpus/templates/online-store/index.md +3 -2
- package/src/corpus/templates/restaurant-reservations/AGENTS.md +4 -3
- package/src/corpus/templates/restaurant-reservations/index.md +2 -2
- package/src/corpus/templates/semantic-search/AGENTS.md +3 -2
- package/src/corpus/templates/semantic-search/README.md +1 -1
- package/src/corpus/templates/semantic-search/index.md +2 -1
- package/src/corpus/templates/simple-semantic-search/README.md +5 -4
- package/src/corpus/templates/simple-semantic-search/index.md +9 -6
- package/src/corpus/templates/subscription-management/AGENTS.md +4 -3
- package/src/corpus/templates/travel-booking/AGENTS.md +3 -4
- package/src/corpus/templates/travel-booking/index.md +2 -2
- package/src/corpus/workflows/admin-dashboard.md +4 -3
- package/src/corpus/workflows/ai-app.md +3 -3
- package/src/corpus/workflows/ai-knowledge-base.md +5 -3
- package/src/corpus/workflows/analytics-dashboard.md +4 -3
- package/src/corpus/workflows/api-dashboard.md +4 -3
- package/src/corpus/workflows/api-service.md +3 -3
- package/src/corpus/workflows/app-with-data.md +3 -3
- package/src/corpus/workflows/appointment-booking.md +4 -3
- package/src/corpus/workflows/approval-workflow.md +4 -3
- package/src/corpus/workflows/billing-dashboard.md +3 -3
- package/src/corpus/workflows/blog-cms.md +4 -3
- package/src/corpus/workflows/booking-system.md +4 -3
- package/src/corpus/workflows/calendar-scheduler.md +5 -3
- package/src/corpus/workflows/course-platform.md +4 -3
- package/src/corpus/workflows/crm.md +4 -3
- package/src/corpus/workflows/directory.md +4 -3
- package/src/corpus/workflows/erp.md +4 -3
- package/src/corpus/workflows/event-board.md +4 -3
- package/src/corpus/workflows/expense-tracker.md +4 -3
- package/src/corpus/workflows/feature-request-board.md +4 -3
- package/src/corpus/workflows/financial-dashboard.md +4 -3
- package/src/corpus/workflows/forum.md +5 -4
- package/src/corpus/workflows/hr-portal.md +4 -3
- package/src/corpus/workflows/internal-tools-portal.md +4 -3
- package/src/corpus/workflows/inventory.md +4 -3
- package/src/corpus/workflows/invoice.md +4 -3
- package/src/corpus/workflows/job-board.md +4 -3
- package/src/corpus/workflows/kanban.md +4 -3
- package/src/corpus/workflows/lms.md +4 -3
- package/src/corpus/workflows/marketplace.md +5 -3
- package/src/corpus/workflows/membership-site.md +4 -3
- package/src/corpus/workflows/monitoring-dashboard.md +4 -3
- package/src/corpus/workflows/online-store.md +3 -3
- package/src/corpus/workflows/product-catalog.md +4 -3
- package/src/corpus/workflows/project-management.md +4 -3
- package/src/corpus/workflows/property-listings.md +4 -3
- package/src/corpus/workflows/quiz-platform.md +4 -3
- package/src/corpus/workflows/restaurant-reservations.md +4 -3
- package/src/corpus/workflows/revenue-dashboard.md +4 -3
- package/src/corpus/workflows/semantic-search.md +5 -3
- package/src/corpus/workflows/simple-semantic-search.md +5 -5
- package/src/corpus/workflows/subscription-management.md +4 -3
- package/src/corpus/workflows/task-manager.md +4 -3
- package/src/corpus/workflows/ticket-system.md +4 -3
- package/src/corpus/workflows/time-tracking.md +4 -3
- package/src/corpus/workflows/travel-booking.md +3 -3
- package/src/tools/deploy.js +1 -1
- package/src/tools/register.js +11 -11
|
@@ -53,9 +53,10 @@ you build it from the guide.
|
|
|
53
53
|
|
|
54
54
|
## 4. Scaffold
|
|
55
55
|
|
|
56
|
-
`grid_create_project` an app `<name>`.
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
57
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
58
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
59
|
+
Then (a) write the app under **`services/web/`**
|
|
59
60
|
per the AGENTS.md tree, and (b) fill `cloudgrid.yaml` to the shape below.
|
|
60
61
|
|
|
61
62
|
## 5. cloudgrid.yaml + wiring
|
|
@@ -54,9 +54,11 @@ There is no app code to copy — you generate it from the guide.
|
|
|
54
54
|
|
|
55
55
|
## 4. Scaffold + fill cloudgrid.yaml
|
|
56
56
|
|
|
57
|
-
`grid_create_project` an app `<name>`
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
`grid_create_project` an app `<name>` — it scaffolds the project folder and a
|
|
58
|
+
starter `cloudgrid.yaml` with empty `services:{}` (no server entity yet; the
|
|
59
|
+
first `grid plug` auto-creates it from the manifest, honoring its `name:`, and
|
|
60
|
+
writes `.cloudgrid/link.json`). Then put the app under **`services/web/`** and
|
|
61
|
+
set `cloudgrid.yaml` to
|
|
60
62
|
the blueprint's active fields:
|
|
61
63
|
|
|
62
64
|
```yaml
|
|
@@ -53,9 +53,10 @@ workflow:
|
|
|
53
53
|
|
|
54
54
|
## 4. Scaffold
|
|
55
55
|
|
|
56
|
-
`grid_create_project` an app `<name>`.
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
57
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
58
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
59
|
+
Then write the app under **`services/web/`** and
|
|
59
60
|
set `cloudgrid.yaml` to the active shape below.
|
|
60
61
|
|
|
61
62
|
## 5. Build the app following AGENTS.md
|
|
@@ -39,9 +39,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
39
39
|
|
|
40
40
|
## 3. Scaffold
|
|
41
41
|
|
|
42
|
-
`grid_create_project` an app `<name>`.
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
43
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
44
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
45
|
+
Then (a) write the app under **`services/web/`**,
|
|
45
46
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
46
47
|
{ database: true }`).
|
|
47
48
|
|
|
@@ -40,9 +40,9 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
40
40
|
|
|
41
41
|
## 3. Scaffold
|
|
42
42
|
|
|
43
|
-
`grid_create_project` an app `<name>`.
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
44
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
45
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
46
46
|
|
|
47
47
|
## 4. Fetch the blueprint and read AGENTS.md
|
|
48
48
|
|
|
@@ -41,9 +41,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
41
41
|
|
|
42
42
|
## 3. Scaffold
|
|
43
43
|
|
|
44
|
-
`grid_create_project` an app `<name>`.
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
45
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
46
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
47
|
+
Then (a) write the app under **`services/web/`**,
|
|
47
48
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
48
49
|
{ database: true }`).
|
|
49
50
|
|
|
@@ -42,9 +42,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
42
42
|
|
|
43
43
|
## 3. Scaffold
|
|
44
44
|
|
|
45
|
-
`grid_create_project` an app `<name>`.
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
46
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
47
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
48
|
+
Then (a) write the app under **`services/web/`**,
|
|
48
49
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
49
50
|
{ database: true }`).
|
|
50
51
|
|
|
@@ -38,9 +38,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
38
38
|
|
|
39
39
|
## 3. Scaffold
|
|
40
40
|
|
|
41
|
-
`grid_create_project` an app `<name>`.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
42
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
43
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
44
|
+
Then (a) write the app under **`services/web/`**,
|
|
44
45
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
45
46
|
{ database: true }`).
|
|
46
47
|
|
|
@@ -39,9 +39,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
39
39
|
|
|
40
40
|
## 3. Scaffold
|
|
41
41
|
|
|
42
|
-
`grid_create_project` an app `<name>`.
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
43
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
44
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
45
|
+
Then (a) write the app under **`services/web/`**,
|
|
45
46
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
46
47
|
{ database: true }`).
|
|
47
48
|
|
|
@@ -56,9 +56,10 @@ so the deliverable is `cloudgrid.yaml` + `AGENTS.md`, not app code.
|
|
|
56
56
|
|
|
57
57
|
## 4. Scaffold + fill
|
|
58
58
|
|
|
59
|
-
1. `grid_create_project` an app `<name>` —
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
1. `grid_create_project` an app `<name>` — scaffolds the project folder and a
|
|
60
|
+
`cloudgrid.yaml` with an EMPTY `services: {}`. No server entity exists yet —
|
|
61
|
+
the first `grid plug` auto-creates it from the manifest (honoring its
|
|
62
|
+
`name:`) and writes `.cloudgrid/link.json`.
|
|
62
63
|
2. Write the app under **`services/web/`** (`path:` is the URL mount, NOT the
|
|
63
64
|
filesystem path), following `AGENTS.md`.
|
|
64
65
|
3. Set `cloudgrid.yaml` to the blueprint's active fields:
|
|
@@ -38,9 +38,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
38
38
|
|
|
39
39
|
## 3. Scaffold
|
|
40
40
|
|
|
41
|
-
`grid_create_project` an app `<name>`.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
42
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
43
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
44
|
+
Then (a) write the app under **`services/web/`**,
|
|
44
45
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
45
46
|
{ database: true }`).
|
|
46
47
|
|
|
@@ -42,9 +42,11 @@ the **local edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
42
42
|
|
|
43
43
|
## 3. Scaffold
|
|
44
44
|
|
|
45
|
-
`grid_create_project` an app `<name>`
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
`grid_create_project` an app `<name>` — it scaffolds the project folder and a
|
|
46
|
+
starter `cloudgrid.yaml` with empty `services: {}`. No server entity exists yet:
|
|
47
|
+
the first `grid plug` auto-creates it from the manifest (honoring its `name:`)
|
|
48
|
+
and writes `.cloudgrid/link.json`; `grid plug --no-deploy` registers it without
|
|
49
|
+
deploying (useful to set secrets first).
|
|
48
50
|
|
|
49
51
|
## 4. Fetch the template and READ AGENTS.md
|
|
50
52
|
|
|
@@ -5,7 +5,7 @@ needs: vector, ai
|
|
|
5
5
|
deploy: runtime
|
|
6
6
|
editions: local
|
|
7
7
|
capabilities_note: "vector search — needs: { vector: pgvector } (injects VECTOR_PGVECTOR_URL; #1545 shipped, verified live 2026-07-16) + ai: true (embeddings via @cloudgrid-io/runtime, no API key). Runtime app, async build, local edition only."
|
|
8
|
-
summary: "One node service that embeds a document into the entity's own pgvector schema at startup and serves POST /search + a minimal UI — probe-sized vector column, idempotent background seed, /health 503-until-ready, cosine <=> ranking. grid
|
|
8
|
+
summary: "One node service that embeds a document into the entity's own pgvector schema at startup and serves POST /search + a minimal UI — probe-sized vector column, idempotent background seed, /health 503-until-ready, cosine <=> ranking. grid plug (auto-creates the entity from cloudgrid.yaml), live in ~3 minutes."
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
# Workflow: simple-semantic-search
|
|
@@ -47,13 +47,13 @@ services:
|
|
|
47
47
|
## 4. Deploy
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
grid
|
|
51
|
-
|
|
50
|
+
grid plug # first plug registers the entity from cloudgrid.yaml
|
|
51
|
+
# (honors its name:), then async build — live URL in ~2-3 minutes
|
|
52
52
|
grid visibility set <slug> link
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
`.cloudgrid/link.json` (entity_id / org / slug binding) is WRITTEN BY THE CLI
|
|
56
|
-
never hand-author it. If the folder was copied from someone else's project,
|
|
55
|
+
`.cloudgrid/link.json` (entity_id / org / slug binding) is WRITTEN BY THE CLI on
|
|
56
|
+
the first `grid plug` — never hand-author it. If the folder was copied from someone else's project,
|
|
57
57
|
`rm -rf .cloudgrid` first so `grid plug` doesn't update THEIR app.
|
|
58
58
|
|
|
59
59
|
## 5. Verify like it's real
|
|
@@ -60,9 +60,10 @@ workflow:
|
|
|
60
60
|
|
|
61
61
|
## 4. Scaffold
|
|
62
62
|
|
|
63
|
-
`grid_create_project` an app `<name>`.
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
64
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
65
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
66
|
+
Then write the app under **`services/web/`** and
|
|
66
67
|
set `cloudgrid.yaml` to the active shape below.
|
|
67
68
|
|
|
68
69
|
## 5. Build the app following AGENTS.md
|
|
@@ -39,9 +39,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
39
39
|
|
|
40
40
|
## 3. Scaffold
|
|
41
41
|
|
|
42
|
-
`grid_create_project` an app `<name>`.
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
43
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
44
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
45
|
+
Then (a) write the app under **`services/web/`**,
|
|
45
46
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
46
47
|
{ database: true }`).
|
|
47
48
|
|
|
@@ -37,9 +37,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
37
37
|
|
|
38
38
|
## 3. Scaffold
|
|
39
39
|
|
|
40
|
-
`grid_create_project` an app `<name>`.
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
41
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
42
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
43
|
+
Then (a) write the app under **`services/web/`**,
|
|
43
44
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
44
45
|
{ database: true }`).
|
|
45
46
|
|
|
@@ -38,9 +38,10 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
38
38
|
|
|
39
39
|
## 3. Scaffold
|
|
40
40
|
|
|
41
|
-
`grid_create_project` an app `<name>`.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
`grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
42
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
43
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
44
|
+
Then (a) write the app under **`services/web/`**,
|
|
44
45
|
and (b) fill `cloudgrid.yaml` to the shape below (`services.web` + `needs:
|
|
45
46
|
{ database: true }`).
|
|
46
47
|
|
|
@@ -51,9 +51,9 @@ edition** (Claude Desktop / Claude Code) or the CLI.
|
|
|
51
51
|
`flights` / `hotels` / `bookings` / `trips` collections + the overbooking
|
|
52
52
|
guard, how CloudGrid injects the DB and vault secrets, how to wire Stripe +
|
|
53
53
|
auth, and the trip-reminder-cron design).
|
|
54
|
-
2. `grid_create_project` an app `<name>`.
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
2. `grid_create_project` an app `<name>`. It scaffolds the project folder and writes a `cloudgrid.yaml` with an EMPTY
|
|
55
|
+
`services: {}`. No server entity exists yet — the first `grid plug` auto-creates
|
|
56
|
+
it from the manifest (honoring its `name:`) and writes `.cloudgrid/link.json`.
|
|
57
57
|
|
|
58
58
|
## 4. Build the app + set cloudgrid.yaml
|
|
59
59
|
|
package/src/tools/deploy.js
CHANGED
|
@@ -1462,7 +1462,7 @@ export async function runPlug(ctx, input, deps = {}) {
|
|
|
1462
1462
|
lines.push(`Updated in place: ${url}`);
|
|
1463
1463
|
} else if (isInspirationCreate) {
|
|
1464
1464
|
// Authed inspiration create — owned by the caller. Wording mirrors the drop verb.
|
|
1465
|
-
lines.push(ctx.edition === "web" ? `Your app is live: ${url}` : `Published to your
|
|
1465
|
+
lines.push(ctx.edition === "web" ? `Your app is live: ${url}` : `Published to your grid: ${url}`);
|
|
1466
1466
|
if (ctx.edition !== "web") lines.push("Owned by you.");
|
|
1467
1467
|
} else {
|
|
1468
1468
|
lines.push(`Live: ${url}`);
|
package/src/tools/register.js
CHANGED
|
@@ -101,7 +101,7 @@ export function registerTools(server, ctx) {
|
|
|
101
101
|
}));
|
|
102
102
|
|
|
103
103
|
server.registerResource("cloudgrid-org-picker", GRID_PICKER_URI, {
|
|
104
|
-
description: "
|
|
104
|
+
description: "Grid picker card — lets the user choose which grid to publish into.",
|
|
105
105
|
mimeType: "text/html;profile=mcp-app",
|
|
106
106
|
}, async () => ({
|
|
107
107
|
contents: [{
|
|
@@ -593,7 +593,7 @@ export function registerTools(server, ctx) {
|
|
|
593
593
|
inputSchema: {
|
|
594
594
|
visibility: z.enum(["private", "space", "authenticated", "org", "link"]).describe("The new scope."),
|
|
595
595
|
target: z.string().optional().describe("Entity id. Defaults to this session's last drop."),
|
|
596
|
-
org: z.string().optional().describe("
|
|
596
|
+
org: z.string().optional().describe("Grid of the entity. Defaults to the active grid."),
|
|
597
597
|
},
|
|
598
598
|
outputSchema: {
|
|
599
599
|
visibility: z.string().describe("The visibility that was set."),
|
|
@@ -619,11 +619,11 @@ export function registerTools(server, ctx) {
|
|
|
619
619
|
outputSchema: {
|
|
620
620
|
orgs: z.array(z.object({
|
|
621
621
|
slug: z.string().describe("Org slug."),
|
|
622
|
-
name: z.string().describe("Human-readable
|
|
623
|
-
role: z.string().describe("User's role in the
|
|
624
|
-
is_active: z.boolean().optional().describe("True if this is the user's currently active
|
|
625
|
-
render_ready: z.boolean().describe("True if the
|
|
626
|
-
})).describe("The user's
|
|
622
|
+
name: z.string().describe("Human-readable grid name."),
|
|
623
|
+
role: z.string().describe("User's role in the grid."),
|
|
624
|
+
is_active: z.boolean().optional().describe("True if this is the user's currently active grid."),
|
|
625
|
+
render_ready: z.boolean().describe("True if the grid's DNS and TLS are provisioned and pages will load. False means the grid is still being set up."),
|
|
626
|
+
})).describe("The user's grid memberships."),
|
|
627
627
|
},
|
|
628
628
|
annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true },
|
|
629
629
|
},
|
|
@@ -852,7 +852,7 @@ export function registerTools(server, ctx) {
|
|
|
852
852
|
type: z.enum(["node", "nextjs", "python", "static"]).optional().describe("Seed a web service of this type."),
|
|
853
853
|
description: z.string().optional().describe("Initial one-line description."),
|
|
854
854
|
dir: z.string().optional().describe("Target directory. Defaults to ./<name>."),
|
|
855
|
-
org: z.string().optional().describe("Override the active
|
|
855
|
+
org: z.string().optional().describe("Override the active grid for this project."),
|
|
856
856
|
cwd: z.string().optional().describe("Working directory. The CLI runs in this directory. Defaults to the MCP server's working directory."),
|
|
857
857
|
},
|
|
858
858
|
{ readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
@@ -902,7 +902,7 @@ export function registerTools(server, ctx) {
|
|
|
902
902
|
|
|
903
903
|
regTool(
|
|
904
904
|
"grid_feedback",
|
|
905
|
-
"List recent feedback events for the active
|
|
905
|
+
"List recent feedback events for the active grid. Read-only. Wraps `grid feedback list`.",
|
|
906
906
|
{
|
|
907
907
|
since: z.string().optional().describe("Only events newer than this, e.g. 24h, 7d."),
|
|
908
908
|
limit: z.number().int().positive().max(200).optional().describe("Number of events. Default 50, max 200."),
|
|
@@ -923,7 +923,7 @@ export function registerTools(server, ctx) {
|
|
|
923
923
|
|
|
924
924
|
regTool(
|
|
925
925
|
"grid_whoami",
|
|
926
|
-
"Show the signed-in user and active
|
|
926
|
+
"Show the signed-in user and active grid. Wraps `grid whoami`.",
|
|
927
927
|
{},
|
|
928
928
|
{ readOnlyHint: true, destructiveHint: false, openWorldHint: true },
|
|
929
929
|
cliTool(() => ["whoami"]),
|
|
@@ -931,7 +931,7 @@ export function registerTools(server, ctx) {
|
|
|
931
931
|
|
|
932
932
|
regTool(
|
|
933
933
|
"grid_switch_grid",
|
|
934
|
-
"Switch the active
|
|
934
|
+
"Switch the active grid. Wraps `grid use`.",
|
|
935
935
|
{ org: z.string().describe("Org slug to switch to.") },
|
|
936
936
|
{ readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
937
937
|
cliTool(({ org }) => ["use", org]),
|