@marlinjai/studio-mcp 0.6.0 → 0.7.0

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
@@ -11,13 +11,13 @@ Every generation spends real money (on prepaid credits without a subscription ro
11
11
  ```bash
12
12
  # one-off, from npm (once published)
13
13
  claude mcp add lumitra-studio \
14
- --env LUMITRA_STUDIO_API_KEY=sk_live_... \
14
+ --env LUMITRA_STUDIO_API_KEY="<your Studio API key>" \
15
15
  -- npx -y @marlinjai/studio-mcp
16
16
 
17
17
  # from this monorepo (before publishing)
18
18
  pnpm --filter @marlinjai/studio-mcp build
19
19
  claude mcp add lumitra-studio \
20
- --env LUMITRA_STUDIO_API_KEY=sk_live_... \
20
+ --env LUMITRA_STUDIO_API_KEY="<your Studio API key>" \
21
21
  -- node /absolute/path/to/packages/studio-mcp/dist/cli.js
22
22
  ```
23
23
 
@@ -38,7 +38,7 @@ If `LUMITRA_STUDIO_API_KEY` is already exported in your shell, drop the `--env`
38
38
  "command": "npx",
39
39
  "args": ["-y", "@marlinjai/studio-mcp"],
40
40
  "env": {
41
- "LUMITRA_STUDIO_API_KEY": "sk_live_...",
41
+ "LUMITRA_STUDIO_API_KEY": "<your Studio API key>",
42
42
  "LUMITRA_STUDIO_BASE_URL": "https://studio.lumitra.co"
43
43
  }
44
44
  }
@@ -51,7 +51,7 @@ See [`examples/cursor-mcp.json`](examples/cursor-mcp.json).
51
51
  ### Streamable HTTP (remote or shared)
52
52
 
53
53
  ```bash
54
- LUMITRA_STUDIO_API_KEY=sk_live_... studio-mcp --http --port 3939
54
+ LUMITRA_STUDIO_API_KEY="<your Studio API key>" studio-mcp --http --port 3939
55
55
  # endpoint: http://127.0.0.1:3939/mcp health: http://127.0.0.1:3939/healthz
56
56
  # bind elsewhere: --host 0.0.0.0
57
57
  ```
@@ -108,6 +108,10 @@ The token is held in memory only. It is never logged, never serialized into a re
108
108
  | `studio_workflow_apply` | Change a saved workflow atomically on top of `baseRevision`. Returns counts, the affected nodes, the projection and `replayed`; every refusal (stale base, invalid patch, missing scope, not editable, lossy import, idempotency mismatch) comes back as a structured `{ ok: false, code, hint }` result. |
109
109
  | `studio_workflow_validate` | Dry-run a document (inline or by `savedId`) with optional ops and run params: the Studio's `{ apply, document, projection, run }` verdict, no side effects, no cost. |
110
110
  | `studio_workflow_screenshot` | Render a saved workflow's document as a diagram (labelled boxes and wires, positioned by the document's own layout), the Figma `get_screenshot` equivalent for a workflow graph. Not a pixel-exact canvas preview, a diagnostic diagram for checking topology. Returns `{ url, width, height }` (a 24h signed link). Free, read-only. |
111
+ | `studio_create_project` / `studio_rename_project` | Create a project by name, or rename one. Any member's key may. |
112
+ | `studio_delete_project` | Delete a project for everyone with its workflows, runs, assets and chats. Needs an admin key, and the PERSON's yes: the tool asks them through the client's confirmation dialog (Model Context Protocol elicitation), or, for a client without one, returns `confirmationRequired` with a `summary` and a one-time `confirmationToken` the agent may only send back after the person said yes in the chat. Refused for the default project and while work is running. |
113
+ | `studio_list_workflows` / `studio_move_workflow` | List a project's saved workflows; move one to another project with its runs and results (reversible, not confirmed). |
114
+ | `studio_list_campaigns` / `studio_delete_campaign` | List the company's campaigns; delete one with its shot list (its images stay), confirmed by the person exactly like a project delete. |
111
115
  | `studio_list_published` | List every published recipe: `{ recipes: [{ slug, label, publishedRevision, updatedAt, hasEffects }] }`. `hasEffects` tells you whether running it creates/attaches an entity record (a character, a brand reference) on success, versus a pure generation recipe. Free, read-only. |
112
116
  | `studio_describe_published` | Describe one published recipe by slug: `{ slug, definition, hasEffects }`. `definition` is the FROZEN workflow (params, node shapes) exactly as it was at publish time, never the live authoring document. Read this before `studio_run_published` to know what params it needs. Free, read-only. |
113
117
  | `studio_run_published` | Run a published recipe by slug against its frozen definition; `params` fill the definition's own param bindings. On success, the recipe's declared post-run effects fire automatically (e.g. minting creates the character and attaches its reference views); effects never fire on a failed, partial or cancelled run. Each node is a paid job. A recipe that creates a character requires `likenessRightsConfirmed: true`, refused before any spend otherwise. |