From 800f89ce4fd86c8fe10feb5e124fa65326f3c39d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 6 May 2025 11:15:26 +0200 Subject: [PATCH] mcphost: init at 0.7.1 --- pkgs/by-name/mc/mcphost/package.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/mc/mcphost/package.nix diff --git a/pkgs/by-name/mc/mcphost/package.nix b/pkgs/by-name/mc/mcphost/package.nix new file mode 100644 index 000000000000..485d91a0da40 --- /dev/null +++ b/pkgs/by-name/mc/mcphost/package.nix @@ -0,0 +1,27 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule (finalAttrs: { + pname = "mcphost"; + version = "0.7.1"; + + src = fetchFromGitHub { + owner = "mark3labs"; + repo = "mcphost"; + tag = "v${finalAttrs.version}"; + hash = "sha256-4vKzrT/1pEupiW3IaQV6d4Y2QHKNBH8sCA4TP8qn+50="; + }; + + vendorHash = "sha256-yD+83cuOIBFF91Zu4Xi2g+dsP4iUOTrjBOuetowLRQw="; + + meta = { + description = "A CLI host application that enables Large Language Models (LLMs) to interact with external tools through the Model Context Protocol (MCP"; + homepage = "https://github.com/mark3labs/mcphost"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ drupol ]; + mainProgram = "mcphost"; + }; +})