Vecmo

io.github.chibataku0815由 GitHub 账号 chibataku0815 发布v0.1.0更新于 Oct 24, 2026

Vector motion editor MCP: 26 typed tools to observe, validate and edit documents, then export code.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

Vecmo 的本地 MCP 服务器提供 26 个带类型的工具,让助手观察、校验并编辑矢量动效文档,再导出运行时代码。

可以做什么
  • 观察并校验 Vecmo 项目带类型的场景/动效文档
  • 应用场景与动效编辑命令,修改项目内容
  • 导出画板与动效产物为自包含的 JS 运行时代码及类型声明
  • 通过 vmactl 命令行相同的命令封装进行无界面操作
适用场景
适合在已有 Vecmo 矢量动效项目时使用,让助手检查场景、执行结构化编辑或触发代码导出,而不必在浏览器编辑器中手动操作。
运行要求
以本地 stdio 进程运行,需从仓库启动(bun run mcp:agent),因此需要 Bun 运行时和已检出的 Vecmo 仓库;README 建议把仓库的 .mcp.json 加入 Claude Code 或 Cursor。未声明账号、API 密钥或环境变量。
安装前请注意
这些工具会修改项目文档并写出导出文件,改动应先行审阅。vecmo.dev 托管服务(账号、云端项目、计费)是独立的私有后端,不包含在此仓库中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vecmo,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Vecmo

A browser vector-motion editor that exports dependency-free runtime code.

  • Export motion as code, not video: a self-contained JS runtime with typed .d.ts, not a rendered clip.
  • Agent-native: a typed scene/motion document, vmactl for headless/live command work, and 26 MCP tools let an agent read and edit a project.
  • GPU Look Graph effects (grain, halftone, riso, CRT, VHS, lens) export to a .dctl file for DaVinci Resolve Studio 18+.

[hello-motion exported artifact playing standalone (48.2 KB gzip)]

Quick start

sh
bun install && bun run dev

/ opens the editor. It runs entirely in the browser: local-first, and nothing in this build talks to a server.

Checks: bun run check. Build: bun run build. No test suite ships in this repo (see CONTRIBUTING.md).

Try it

  1. bun run dev, then open /?ref=hello-motion.
  2. Export → Motion / Code → EMBED ("Motion Artifact", self-contained embeddable artifact).
  3. Unzip the download: hello-motion.runtime.js, its .d.ts, a manifest, and a demo HTML page.

Other reference scenes live at /?ref=<slug>; see src/features/reference-scenes/model/registry.ts for the full list.

Headless, without the GUI: bun run export:motion-artifact -- --ref hello-motion --out ./out writes the same four files (deterministic; --commands plan.json applies an agent edit plan first, --dump-documents emits raw scene/motion JSON for the MCP tools).

Example consumer

vecmo-example — live at https://vecmo-example.pages.dev — is an unrelated Vite site that imports only the exported files at runtime (no Vecmo source, no SDK): a WebGL look-graph piece as hero, scroll-driven seekProgress, palette re-theming, a measured size ladder (49.8 KB / 118 KB / 198 KB gzip), Lighthouse 0.98 desktop / 0.91 mobile, a zero-leak mount/destroy probe, and one real MCP edit → CLI re-export loop.

Export sizes (measured, gzip -9)

SceneProfileSize
hello-motionEMBED (Motion Artifact)48.2 KB
Effects-heavy reference scenes (grain, masks, motion grammar)EMBED (Motion Artifact)115–152 KB

Reproduce: bun run export:motion-artifact -- --ref <slug> --out ./out (prints raw/gzip bytes and tier), or bun run dev → /?ref=<slug> → Export → EMBED → gzip the <slug>.runtime.js inside the zip.

Other export targets: WebGL player, PDF, WebM, SVG, and DCTL (DaVinci Resolve look export).

MCP

Add the repo's .mcp.json to Claude Code or Cursor; it launches bun run mcp:agent (scripts/vma-agent-mcp.ts) as a local stdio server exposing 26 tools over a typed scene/motion document, for example observe_document, apply_scene_commands, and export_artboard. For headless or scripted work, bun run vmactl talks the same command envelope directly, without an MCP client. Read docs/agent-command-catalog.md for the full command reference and docs/live-mcp-agent-runbook.md for live-editing over the local relay (bun run agent:bridge).

Scope

This repository is the editor: it runs fully in the browser, and nothing here talks to a server. The vecmo.dev hosted service (accounts, cloud projects, billing) is a separate, private backend and is not included.

Architecture

Start at docs/architecture.md for the responsibility layers (app -> pages -> widgets -> features -> entities -> shared) and docs/codemap.md for where each subsystem lives.

Contributing

See CONTRIBUTING.md.

License

The editor is AGPL-3.0-only. A developer layer (the agent/CLI toolkit, the runtime player control/manifest code, and packages/editor-kernel) is MIT; see REUSE.toml for the exact file list. Everything you export — the runtime JS, the WebGL player, their .d.ts files, and your scene/motion/backup documents — carries an added AGPL §7 permission (the Vecmo Runtime Output Exception), so you can embed exported artifacts in proprietary sites and owe nothing back for them. Details: LICENSING.md.

来源:README.md,提交 63070cf

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分