Local AI BGM and sound effects for Claude Code and any MCP client. Stable Audio 3 on Apple Silicon (MLX) and Windows NVIDIA GPUs (PyTorch). No cloud, no API key.
Python apple-siliconaudio-generationclaude-codecudagame-audiomcpmcp-servermlxmusic-generationpytorchsound-effectsstable-audiowindows
Editable install without the checkout's path in a .pth file (GAME-241)
Kanab4778dc08589
diff --git a/.github/release-notes/v0.3.0.md b/.github/release-notes/v0.3.0.mdindex 27a3305..7dd8e0b 100644--- a/.github/release-notes/v0.3.0.md+++ b/.github/release-notes/v0.3.0.md@@ -48,7 +48,7 @@ From an existing clone:git pull```-The web UI needs no new dependencies, so nothing has to be reinstalled. Restart your MCP client (or the server) so it loads the new version. The model weights stay as they are.+An existing install keeps working after `git pull`; restart your MCP client (or the server) so it loads the new version. The release adds one small package (`editables`, used by the editable install so that folder names with non-English characters work on Windows); it is installed the next time you run the installer or `uv sync`. The model weights stay as they are.New installs follow the README as before, using `--branch v0.3.0`.diff --git a/pyproject.toml b/pyproject.tomlindex 7404c0e..e25d922 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -15,6 +15,7 @@ classifiers = ["Topic :: Multimedia :: Sound/Audio",]dependencies = [+ "editables>=0.5", # import hook of the editable install, see dev-mode-exact below"mcp>=2.3,<3","numpy>=1.24","pydantic>=2",@@ -69,6 +70,11 @@ build-backend = "hatchling.build"[tool.hatch.build.targets.wheel]packages = ["src/audio_studio_mcp"]+# Editable installs (uv sync) load the package through an import hook (the+# `editables` dependency) instead of a .pth file holding the checkout's path:+# Python before 3.13 reads .pth files in the locale encoding, so on Windows a+# non-ASCII path (e.g. a Japanese user name) stops the venv's Python from starting.+dev-mode-exact = true[tool.pytest.ini_options]testpaths = ["tests"]diff --git a/uv.lock b/uv.lockindex 3f422e9..3f33ab1 100644--- a/uv.lock+++ b/uv.lock@@ -62,6 +62,7 @@ name = "audio-studio-mcp"version = "0.2.2"source = { editable = "." }dependencies = [+ { name = "editables" },{ name = "mcp" },{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },{ name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" },@@ -99,6 +100,7 @@ dev = [[package.metadata]requires-dist = [+ { name = "editables", specifier = ">=0.5" },{ name = "einops", marker = "sys_platform != 'darwin' and extra == 'cuda'", specifier = ">=0.8.2" },{ name = "einops-exts", marker = "sys_platform != 'darwin' and extra == 'cuda'", specifier = ">=0.0.4" },{ name = "huggingface-hub", marker = "sys_platform != 'darwin' and extra == 'cuda'", specifier = ">=1.7.1" },@@ -322,6 +324,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/ca/1d/1271f287ff7170ddafc2aad36260c4eec20ccd2fea70f38455e9d56d427b/cryptography-50.0.2-pp311-pypy311_pp80-win_amd64.whl", hash = "sha256:7b75de3c8b3be1cdb1052747c929440c3eea46c1bc2cb8a6e3a48388e9b7b452", size = 3805376, upload-time = "2026-09-30T15:29:58.729Z" },]+[[package]]+name = "editables"+version = "0.6"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/82/f8/02a4e9a0cb961b0feeb431ac96b231c157ecdcbbeacafe9e2fdb4b1dde39/editables-0.6.tar.gz", hash = "sha256:1163834902381c4613787951c5914800fdf155ae08848a373b8ea5006780977c", size = 16763, upload-time = "2026-04-14T10:39:04.677Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/cc/0e/d095533037fc9468f947b19f2da53f869804632b508808de41e86e801797/editables-0.6-py3-none-any.whl", hash = "sha256:d70e4698078a1d033e7786d9c64e5be070d058a67c21417024d38a58ac20aa43", size = 5438, upload-time = "2026-04-14T10:39:03.663Z" },+]+[[package]]name = "einops"version = "0.8.2"