@marlinjai/studio-mcp 0.6.0 → 0.8.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
  ```
@@ -95,7 +95,7 @@ The token is held in memory only. It is never logged, never serialized into a re
95
95
  | `studio_mint_character` | Run the curated character-sheet workflow inline, wait, create the character, upload the 7 views as references. Requires `likenessRightsConfirmed: true` and refuses before the run starts without it. Returns `slug`, `referenceCount`, `costUsd`, `runId`. |
96
96
  | `studio_create_brand` | Create a brand (style prefix + context). |
97
97
  | `studio_upload_brand_reference` | Upload a reference image to a brand library from a local path or URL. The `brandSlug` must name a brand of the key's company (anything else is a `404`). |
98
- | `studio_run_workflow` | Run an inline workflow DAG (or a saved one by `savedId`), with params, node subsets, repeat count and `visibility`; waits by default. |
98
+ | `studio_run_workflow` | Run an inline workflow DAG (or a saved one by `savedId`), with params, node subsets, repeat count and `visibility`; waits by default. A clip with both a start and an end frame is checked for continuity first: frames that disagree refuse with `continuity_mismatch` and the differences per node, a check that could not run with `continuity_unchecked`; `acknowledgeContinuity: true` runs anyway (also on `studio_run_published`). |
99
99
  | `studio_get_run` | Read a run: overall status, per-node status, URLs, cost, errors. A run parked on a person at a judge node comes back with a `waiting` block naming the node and its candidates. |
100
100
  | `studio_decide_judge` | Submit a PERSON'S approve or reject on a parked judge node; approving resumes the run. Never the agent's own judgement. |
101
101
  | `studio_get_run_output` | Fresh signed URL for one node's output. |
@@ -108,6 +108,18 @@ 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_list_assets` | A project's assets, newest first, optionally one subtype: `Image` for slide backgrounds, `Video` for reel clips, and earlier renders. Free, read-only. |
112
+ | `studio_brand_kit_get` | A brand's kit: colour ids, the headline and body sizes, the primary and secondary fonts with their weights and styles, the light and dark logos. Overlays may use only these. Free, read-only. |
113
+ | `studio_composition_describe` | The composition vocabulary (op types, slide, clip and overlay shapes, aspects, Instagram limits). No request. |
114
+ | `studio_composition_list` / `studio_composition_get` | A project's carousels and reels; one post with its items, overlays and revision. Free, read-only. |
115
+ | `studio_composition_create` / `studio_composition_apply` | Create a carousel or reel (optionally with its first ops) and change it atomically on a `baseRevision`, with the workflow tools' refusal codes plus `not_in_kit` and `invalid_asset`. Free. |
116
+ | `studio_composition_render` | Render a carousel to JPEG slides or a reel to an H.264 MP4 on Studio's own server; waits and returns the asset URLs, or `not_ready` with every reason. Free. |
117
+ | `studio_social_list_projects` | The company's Lumitra Social projects to send to, and the one the brand went to last; `not_connected` until a company owner or admin connects Social in Studio. Free, read-only. |
118
+ | `studio_composition_send_to_social` | Send the rendered post to Lumitra Social as a draft or scheduled post (a reel, an image, or a carousel of 2 to 10 slides). Idempotent: a retry with the same key resumes and never posts twice. |
119
+ | `studio_create_project` / `studio_rename_project` | Create a project by name, or rename one. Any member's key may. |
120
+ | `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. |
121
+ | `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). |
122
+ | `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
123
  | `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
124
  | `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
125
  | `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. |