### Quick start setup commands Source: https://github.com/beatapi/beatdesign/blob/main/README.md Install dependencies, push the database schema, and start the development server. Requires Node.js 22+, pnpm 10+, and a current Chrome browser on macOS or Windows. After running, open http://127.0.0.1:3020. ```bash pnpm install pnpm db:push pnpm dev ``` -------------------------------- ### Start BeatDesign with pnpm Source: https://github.com/beatapi/beatdesign/blob/main/integrations/claude-code/beatdesign/README.md Run these commands from the BeatDesign repository to install dependencies, push the database schema, and start the agent development server. The browser workspace will be available at http://127.0.0.1:3020 and the MCP endpoint at http://127.0.0.1:3031/mcp. ```bash pnpm install pnpm db:push pnpm dev:agent ``` -------------------------------- ### Start BeatDesign MCP server Source: https://github.com/beatapi/beatdesign/blob/main/docs/MCP.md Install dependencies, push the database schema, and start the MCP server in the mode matching your host: stdio for generic hosts, HTTP for QwenWork/Doubao Work, and dev:agent for Claude Code plugin or repository-local WorkBuddy development. ```bash pnpm install pnpm db:push # For generic stdio MCP hosts: pnpm --silent mcp # For QwenWork / Doubao Work connectors (use this instead of stdio): pnpm --silent mcp:http # For the Claude Code plugin or repository-local WorkBuddy development: pnpm dev:agent ``` -------------------------------- ### Install BeatDesign plugin from marketplace Source: https://github.com/beatapi/beatdesign/blob/main/integrations/claude-code/beatdesign/README.md Install the plugin from the repository marketplace once it is available on GitHub. Run /reload-plugins if Claude Code asks to activate the plugin, and keep pnpm dev:agent running while using it. ```text /plugin marketplace add BeatAPI/BeatDesign /plugin install beatdesign@beatdesign ``` -------------------------------- ### Generic stdio MCP configuration (JSON) Source: https://github.com/beatapi/beatdesign/blob/main/integrations/codex/beatdesign/README.md Example configuration for generic MCP hosts. Use this to connect BeatDesign via stdio with the pnpm command. ```json { "mcpServers": { "beatdesign": { "command": "pnpm", "args": ["--silent", "mcp"] } } } ``` -------------------------------- ### OpenCode MCP configuration (JSON) Source: https://github.com/beatapi/beatdesign/blob/main/integrations/codex/beatdesign/README.md Example configuration for OpenCode. Use this to enable the BeatDesign MCP server in OpenCode. ```json { "mcp": { "beatdesign": { "type": "local", "command": ["pnpm", "--silent", "mcp"], "enabled": true } } } ``` -------------------------------- ### Test the plugin with claude --plugin-dir Source: https://github.com/beatapi/beatdesign/blob/main/integrations/claude-code/beatdesign/README.md Launch Claude Code with the BeatDesign plugin from this clone. After starting, check /mcp for the beatdesign server and ask to open a project, import subtitles, and leave the Editor at the first caption for review. ```bash claude --plugin-dir integrations/claude-code/beatdesign ``` -------------------------------- ### Build local managed runtime tarball Source: https://github.com/beatapi/beatdesign/blob/main/integrations/workbuddy/beatdesign/README.md Builds a local copy of the public managed runtime and produces an npm tarball under dist/ for clean local installation tests. Publishing that tarball to npm and submitting the Connector to WorkBuddy are separate external release states. ```bash pnpm integration:pack:workbuddy-runtime ``` -------------------------------- ### Architecture overview (text diagram) Source: https://github.com/beatapi/beatdesign/blob/main/integrations/codex/beatdesign/README.md Shows the two processes (Browser and Agent) and their shared resources. Use to understand how the plugin works. ```text Browser: pnpm dev → http://127.0.0.1:3020 (Canvas/Editor review surface) Agent: MCP stdio → pnpm mcp (Agent calls 29 tools) Both processes share the same local SQLite + project files. ``` -------------------------------- ### Validate and package the Connector Source: https://github.com/beatapi/beatdesign/blob/main/integrations/workbuddy/beatdesign/README.md Run these commands from the repository root to validate and package the Connector. The package command validates metadata, one-server MCP configuration, icon, Skill, and version alignment before creating dist/beatdesign-workbuddy-connector-v.zip. It refuses to overwrite an existing archive; use --output /absolute/path/file.zip to choose another destination. ```bash pnpm integration:check:workbuddy pnpm integration:package:workbuddy ``` -------------------------------- ### Run verification commands Source: https://github.com/beatapi/beatdesign/blob/main/AGENTS.md Run these commands after code changes to verify type checking, tests, internationalization, and build. The commands are executed in sequence. ```text pnpm typecheck pnpm test pnpm i18n:check pnpm build ``` -------------------------------- ### Launch MCP server via tsx or pnpm Source: https://github.com/beatapi/beatdesign/blob/main/integrations/README.md Two equivalent ways to launch the MCP server from any working directory. The direct form requires Node.js on the host PATH; the pnpm form requires pnpm on the host PATH. On Windows use node_modules/.bin/tsx.cmd. ```bash # Direct (requires Node.js to be available on the host PATH; no cwd dependency): /node_modules/.bin/tsx /scripts/mcp-server.ts # Via pnpm (needs pnpm on the host's PATH): pnpm --silent -C "" mcp ``` -------------------------------- ### Register BeatDesign MCP server in generic host Source: https://github.com/beatapi/beatdesign/blob/main/docs/MCP.md Register the BeatDesign MCP server in a generic MCP host. The entry script is working-directory independent; it restarts itself from the repository root when spawned from another directory. On Windows the binary is node_modules/.bin/tsx.cmd. ```json { "mcpServers": { "beatdesign": { "command": "/absolute/path/to/Beat Design/node_modules/.bin/tsx", "args": ["/absolute/path/to/Beat Design/scripts/mcp-server.ts"] } } } ``` -------------------------------- ### Command boundary data flow Source: https://github.com/beatapi/beatdesign/blob/main/docs/ARCHITECTURE.md ASCII diagram showing the flow from UI/MCP through command envelope validation, Canvas/Editor/Generation commands, revision-checked persistence, and finally SQLite and project media files. ```text UI / MCP | Command envelope + validation | Canvas / Editor / Generation commands | revision-checked project persistence | SQLite + project media files ``` -------------------------------- ### Official Skill directory structure Source: https://github.com/beatapi/beatdesign/blob/main/skills/official/README.md Required directory layout for an official BeatDesign Skill. Each accepted Skill lives in skills/official// and must contain exactly these two source files. ```text / ├── skill.json └── SKILL.md ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.