diff --git a/pkgs/by-name/go/godot-mcp/package.nix b/pkgs/by-name/go/godot-mcp/package.nix new file mode 100644 index 000000000000..bf099173ea6d --- /dev/null +++ b/pkgs/by-name/go/godot-mcp/package.nix @@ -0,0 +1,44 @@ +{ + lib, + buildNpmPackage, + fetchFromGitHub, +}: + +buildNpmPackage { + pname = "godot-mcp"; + version = "0-unstable-2026-01-30"; + + src = fetchFromGitHub { + owner = "Coding-Solo"; + repo = "godot-mcp"; + rev = "f341234dfe44613e1d48fe4fbc8bfb9bf2e8e9eb"; + hash = "sha256-cUGaO+6zP+3oUuB4Ni1HfBkb7QVxk9tznUkoxfQqH+s="; + }; + + npmDepsHash = "sha256-9F2QW8+IQiL+qZ4EXSq1pgk3DMmES8aAP3CAwL+fDfc="; + + npmInstallFlags = [ + "--ignore-scripts" + ]; + + npmBuildFlags = [ + "run" + "build" + ]; + + doCheck = false; + + meta = { + description = "MCP server for interfacing with Godot game engine"; + longDescription = '' + A Model Context Protocol (MCP) server for interacting with the Godot + game engine. Enables AI assistants to launch the Godot editor, run + projects, capture debug output, and control project execution. + ''; + mainProgram = "godot-mcp"; + homepage = "https://github.com/Coding-Solo/godot-mcp"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ superherointj ]; + platforms = lib.platforms.all; + }; +}