@instavar/mcp-server 0.4.1 → 0.6.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.
Files changed (3) hide show
  1. package/README.md +63 -18
  2. package/dist/index.js +1121 -219
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,14 +4,39 @@
4
4
  [![npm](https://img.shields.io/npm/v/%40instavar%2Fmcp-server)](https://www.npmjs.com/package/@instavar/mcp-server)
5
5
  [![Glama score](https://glama.ai/mcp/servers/instavar/mcp-server/badges/score.svg)](https://glama.ai/mcp/servers/instavar/mcp-server)
6
6
 
7
- Make local videos with Instavar's open-source Remotion templates from Claude
8
- Code or Codex. The public template, schema, scaffold, and troubleshooting tools
9
- work without an account or API key.
7
+ One MCP package starts free and grows with the work. Make local videos with
8
+ Instavar's independent, open-source templates for Remotion from Claude Code or
9
+ Codex without an account or API key.
10
+
11
+ Instavar is an independent project and is not affiliated with, sponsored by, or
12
+ endorsed by Remotion AG. Remotion is a trademark of Remotion AG.
10
13
 
11
14
  Add an Instavar API key when you want the hosted workflow:
12
15
  **create → render → approve → publish → metrics**. The authenticated tools are
13
16
  thin HTTP clients to the hosted Instavar API. The package holds **no database
14
- connection** and stores no data of its own.
17
+ connection** and stores no data of its own. You keep the free tools and do not
18
+ install a second server.
19
+
20
+ ## Start with the right capability
21
+
22
+ Use Instavar when an agent needs reusable Remotion video templates, creative
23
+ guidance, a VideoSpec example, or help with a local render error. Call
24
+ `get_capabilities` first, then `get_creative_guide` before drafting copy or design.
25
+ Use `list_templates` and `get_template` to choose a supported structure, and
26
+ `get_example` or `scaffold_video_spec` to prepare its specification.
27
+ `get_render_instructions` supplies the separate local validation, preview and
28
+ render workflow. Planning and scaffolding do not render, upload or publish media.
29
+
30
+ Prefer a hosted HTTP connection for browser-based agents? Use
31
+ `https://instavar.com/api/mcp/templates`, also listed as
32
+ [Instavar Video Templates on Smithery](https://smithery.ai/servers/cheeweijie/instavar-video-templates).
33
+ That related endpoint adds storyboard and editorial-carousel planning. Its
34
+ optional OAuth tools list and review private projects only. It is not identical
35
+ to this npm package or the full protected Studio endpoint. Public planning does
36
+ not require an Instavar account; a directory or gateway may require its own login.
37
+
38
+ Hosted Studio production is optional and may incur costs. Never treat a request
39
+ to plan a video as permission to render a paid job or publish a social post.
15
40
 
16
41
  ## Which model runs?
17
42
 
@@ -34,10 +59,7 @@ hosted services, including rendering,
34
59
  storage, specialist media generation, QA, publishing, and other declared job
35
60
  costs. Using a subscription-backed agent does not make those services free.
36
61
 
37
- For the full architecture, see
38
- [`docs/architecture/studio-agent-workflow-architecture.md`](../../docs/architecture/studio-agent-workflow-architecture.md).
39
- For dated provider evidence, see
40
- [`reports/research/subscription-backed-agent-runtime-2026-07-10.md`](../../reports/research/subscription-backed-agent-runtime-2026-07-10.md).
62
+ For public setup guidance and examples, see [Instavar video templates](https://instavar.com/remotion).
41
63
 
42
64
  ## Setup
43
65
 
@@ -81,18 +103,25 @@ when the key is configured.
81
103
 
82
104
  ## Tools
83
105
 
106
+ From npm 0.6.0 the package also includes `prepare_announcement`: one paired
107
+ announcement card for Remotion and HyperFrames. It returns local source and a
108
+ portable copy document, not a saved hosted project or rendered video. Ask for a
109
+ framework when it is unspecified; continue with the latest returned project and
110
+ matching expectedRevision. Only title, body and action survive a framework switch.
111
+
84
112
  Free local tools:
85
113
 
86
- | Tool | What it does |
87
- | ------------------------- | ------------------------------------------------- |
88
- | `get_capabilities` | Reports free and optional account features. |
89
- | `list_templates` | Lists published Remotion template families. |
90
- | `get_template` | Returns one template contract. |
91
- | `get_video_schema` | Returns the public VideoSpec JSON Schema. |
92
- | `get_example` | Returns a starter VideoSpec. |
93
- | `scaffold_video_spec` | Creates a deterministic VideoSpec skeleton. |
94
- | `get_render_instructions` | Returns the local validation and render workflow. |
95
- | `diagnose_render_error` | Classifies common local render failures. |
114
+ | Tool | What it does |
115
+ | ------------------------- | ------------------------------------------------------ |
116
+ | `get_capabilities` | Reports free and optional account features. |
117
+ | `get_creative_guide` | Reads concise copy, story, design and review guidance. |
118
+ | `list_templates` | Lists published Remotion template families. |
119
+ | `get_template` | Returns one template contract. |
120
+ | `get_video_schema` | Returns the public VideoSpec JSON Schema. |
121
+ | `get_example` | Returns a starter VideoSpec. |
122
+ | `scaffold_video_spec` | Creates a deterministic VideoSpec skeleton. |
123
+ | `get_render_instructions` | Returns the local validation and render workflow. |
124
+ | `diagnose_render_error` | Classifies common local render failures. |
96
125
 
97
126
  Hosted tools, available when `INSTAVAR_API_KEY` is configured:
98
127
 
@@ -101,6 +130,7 @@ Hosted tools, available when `INSTAVAR_API_KEY` is configured:
101
130
  | `list_jobs` | List recent jobs (newest first). |
102
131
  | `get_job_status` | Runs, artifacts, verifications, current video + thumbnail URLs. |
103
132
  | `get_video_state` | Materialized composition state for a job. |
133
+ | `diagnose_render` | Read-only joined render diagnosis with evidence limits and retry recommendations. |
104
134
  | `get_job_metrics` | Platform engagement snapshots for a published job. |
105
135
  | `get_cost_summary` | Infra cost summary (Lambda / RunPod / R2 / WaveSpeed / PoYo). |
106
136
  | `inspect_workflow` | Read the current workflow and its version history. |
@@ -148,3 +178,18 @@ npx @instavar/mcp-server --help
148
178
  ## License
149
179
 
150
180
  MIT
181
+
182
+ ## Creative guidance
183
+
184
+ `get_creative_guide` works without a key. Omit `guideId` to discover the four
185
+ guides, or choose `visual-copy`, `carousel-stories`, `visual-design` or
186
+ `human-review`. The same text is available as Markdown resources at
187
+ `instavar://creative-guides/<guideId>`. The calling assistant applies the guidance
188
+ to the user's brief; this tool does not generate copy, render, save feedback or
189
+ publish media. Carousel recipes are planning guidance, not additional npm renderers.
190
+
191
+ The monorepo sources live in `docs/guides/creative/`. After an edit, run
192
+ `node scripts/build-creative-guides.mjs`; `--check` rejects a stale bundle.
193
+ The generated TypeScript is bundled into the package, so installed clients need
194
+ no checkout files or access to private knowledge stores. Source changes require
195
+ a normal npm release before installed clients receive them.