@cloudgrid-io/mcp 0.20.14 → 0.20.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudgrid-io/mcp",
3
- "version": "0.20.14",
3
+ "version": "0.20.16",
4
4
  "description": "Use CloudGrid via MCP to brainstorm, build, deploy, and improve apps, games, websites, dashboards, and tools and get a live URL - templates, recipes, managed databases and AI, instant single-page publish, and full-app deploys, for developers and non-technical users. Three editions: local stdio (full toolset), hosted web (light, CLI-free), and a public docs-search server, over MCP.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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 org: ${url}`);
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}`);
@@ -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: "Org picker card — lets the user choose which organization to publish into.",
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: [{
@@ -288,7 +288,7 @@ export function registerTools(server, ctx) {
288
288
  // they validate: (1) the grid-picker "which grid?" ask (resolveGridOrAsk),
289
289
  // and (2) the signed-in CLI-fallback recovery.
290
290
  needs_grid: z.boolean().optional().describe("Grid-picker ask: a signed-in user with >1 grid must choose one before this create proceeds. Pass the chosen slug back in `grid`."),
291
- needs_org: z.boolean().optional().describe("Alias of needs_grid (legacy org-picker widget)."),
291
+ needs_org: z.boolean().optional().describe("Alias of needs_grid (legacy picker alias)."),
292
292
  grids: z.array(z.object({
293
293
  slug: z.string(),
294
294
  name: z.string(),
@@ -302,7 +302,7 @@ export function registerTools(server, ctx) {
302
302
  role: z.string(),
303
303
  render_ready: z.boolean(),
304
304
  is_active: z.boolean(),
305
- })).optional().describe("Alias of grids (legacy org-picker widget)."),
305
+ })).optional().describe("Alias of grids (legacy picker alias)."),
306
306
  via: z.string().optional().describe("Recovery marker: 'cli-fallback' when a signed-in create was published through the bundled CloudGrid CLI."),
307
307
  },
308
308
  annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
@@ -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("Org of the entity. Defaults to the active org."),
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 org name."),
623
- role: z.string().describe("User's role in the org."),
624
- is_active: z.boolean().optional().describe("True if this is the user's currently active org."),
625
- render_ready: z.boolean().describe("True if the org's DNS and TLS are provisioned and pages will load. False means the org is still being set up."),
626
- })).describe("The user's org memberships."),
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 org for this init."),
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,11 +902,11 @@ export function registerTools(server, ctx) {
902
902
 
903
903
  regTool(
904
904
  "grid_feedback",
905
- "List recent feedback events for the active org. Read-only. Wraps `grid feedback list`.",
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."),
909
- org: z.string().optional().describe("Read another org's feed where you have access."),
909
+ org: z.string().optional().describe("Read another grid's feed where you have access."),
910
910
  },
911
911
  { readOnlyHint: true, destructiveHint: false, openWorldHint: true },
912
912
  cliTool(({ since, limit, org }) => {
@@ -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 org. Wraps `grid whoami`.",
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 org. Wraps `grid use`.",
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]),