8a362abe52
NixOS Configuration CI / Nix Flake Check (push) Successful in 18s
Cross-platform Apple Music MCP server supporting playlist management, library search, and catalog access via media-user-token (no Apple Developer account required). https://github.com/epheterson/applemusic-mcp
43 lines
861 B
Nix
43 lines
861 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "applemusic-mcp";
|
|
version = "0.15.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
format = "pyproject";
|
|
dist = "py3";
|
|
python = "py3";
|
|
hash = "sha256-qV24IbMAuxMd9uGi7phXl9IvWfbqVU2QO/F1LJ1WJWM=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
hatchling
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
mcp
|
|
requests
|
|
python-dotenv
|
|
pydantic
|
|
playwright
|
|
rich
|
|
];
|
|
|
|
pythonImportsCheck = [ "applemusic_mcp" ];
|
|
|
|
meta = with lib; {
|
|
description = "MCP server for Apple Music — manage playlists, add music, browse your library";
|
|
homepage = "https://github.com/epheterson/applemusic-mcp";
|
|
license = licenses.mit;
|
|
mainProgram = "applemusic-mcp";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|