AM

alexg0405/mcpstudio

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 76 趋势 14

FLStudio转变为MCP

概览

一个FL Studio风格的DAW,运行在Chrome上,设计为扩展:你自己的乐器和效果是TypeScript插件,你直接插入plugins/,演奏时它们会热加载。 它会在 http://localhost:5390 启动开发服务器,并在浏览器中打开(如果已经运行,它直接打开);按 Ctrl+C 停止它。任意点击一次即可启用音频。bin/agstudio 是脚本;用 ln -sf “$PWD/bin/agstudio” ~/.local/bin/agstudio 把它绑定到 PATH(它会在第一次运行时安装依赖)。 手动操作:节点22位于该机器的~/.local/node/bin中(非PATH): 其他脚本包括:npm run check(类型、lint、所有测试)、npm test(单元)、npm run test:audio(无头Chrome)、npm run test:perf(速度断言及其真实极限;在安静机器上运行)、npm run build(在 dist/ 中的生产构建)。

概述(AI 翻译)

一个FL Studio风格的数字音频工作站,运行在Chrome系统中,设计成可扩展的:你自己的乐器和效果器 TypeScript 插件你会插入 plugins/,它们会在你玩的时候热加载。

跑它

AGstudio 可在 macOS、Linux 和 Windows 10/11 上运行,运行于 Chrome 或 Edge,Node 22 或更新版本。(在 Windows 上,参见 以下是Windows的逐步操作。)在macOS和Linux上,任意文件夹中的一个命令:

它会在http://localhost:5390启动开发服务器,并在浏览器中打开(如果已经运行,它就这样 打开它);Ctrl+C 停止它。任意点击一次即可启用音频。bin/agstudio 是脚本(一个小型封装器,用于查找节点和 运行 scripts/agstudio.mjs);它通过 ln -sf "$PWD/bin/agstudio" ~/.local/bin/agstudio 将其链接到 PATH 上一次(它安装了 第一次运行时的依赖)。AGSTUDIO_NO_OPEN=1 agstudio 在不打开窗口的情况下启动它。

手动操作,节点在你的路径上:npm ci 一次,然后是 npm run dev。(所有者的 Mac 将节点 22 保留在 ~/.local/node/bin,即 不在PATH上:export PATH="$HOME/.local/node/bin:$PATH"; npm run dev。)

窗户

需要Windows 10或11,Google Chrome或Microsoft Edge,以及Node 22或更新版本。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

AGstudio

An FL Studio-style DAW that runs in Chrome, built to be extended: your own instruments and effects are TypeScript plugins you drop into plugins/, and they hot-reload while you play.

Run it

AGstudio runs on macOS, Linux and Windows 10/11, in Chrome or Edge, with Node 22 or newer. (On Windows, see Windows below for the step-by-step.) On macOS and Linux, one command from any folder:

agstudio

It starts the dev server on http://localhost:5390 and opens it in your browser (if it is already running, it just opens it); Ctrl+C stops it. Click anywhere once to enable audio. bin/agstudio is the script (a small wrapper that finds Node and runs scripts/agstudio.mjs); link it onto your PATH once with ln -sf "$PWD/bin/agstudio" ~/.local/bin/agstudio (it installs the dependencies on the first run). AGSTUDIO_NO_OPEN=1 agstudio starts it without opening a window.

By hand, with Node on your PATH: npm ci once, then npm run dev. (The owner’s Mac keeps Node 22 in ~/.local/node/bin, which is not on PATH there: export PATH="$HOME/.local/node/bin:$PATH"; npm run dev.)

Windows

Needs Windows 10 or 11, Google Chrome or Microsoft Edge, and Node 22 or newer. Nothing else: no WSL, no Visual Studio.

  1. Install Node. Download the Windows installer (LTS, version 22 or newer) from https://nodejs.org and run it with the defaults (keep “Add to PATH” ticked). Open a new PowerShell or Command Prompt window and check node --version.
  2. Get AGstudio. With Git: git clone AGstudio, or copy the AGstudio folder to your computer, for example to C:\Users\you\AGstudio (a folder inside your user folder is best: see the access token note below).
  3. Install its parts once, inside that folder: cd AGstudio, then npm ci.
  4. Start it: .\bin\agstudio.cmd in PowerShell (bin\agstudio.cmd in Command Prompt), or double-click bin\agstudio.cmd in File Explorer. It starts the dev server on http://localhost:5390 and opens it in your browser; Ctrl+C stops it (Command Prompt then asks “Terminate batch job (Y/N)?”: answer Y). Windows may ask whether Node.js may use the network: AGstudio only needs this computer, so you can choose “Cancel” or allow it on private networks.
  5. Click once in the page to enable audio.

To start it from any folder, put bin on your PATH once (then open a new terminal and type agstudio; agstudio --app works too):

[Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ';' + (Resolve-Path .\bin), 'User')

(Run it inside the AGstudio folder. Or add the folder by hand: Start → “Edit environment variables for your account” → Path → New.)

For a desktop or Start-menu icon: right-click bin\agstudio.cmd → Show more options → Send to → Desktop (create shortcut). To start the app

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "agstudio": { "command": "/path/to/AGstudio/bin/agstudio-mcp", "env": { "AGSTUDIO_URL": "http://localhost:5390" } } } }