class Mcpkill < Formula
desc "Universal MCP proxy — semantic cache + chunking to kill token waste"
homepage "https://github.com/rustkit-ai/mcpkill"
version "0.1.0"
license "MIT"
on_macos do
on_arm do
url "https://github.com/rustkit-ai/mcpkill/releases/download/v#{version}/mcpkill-aarch64-apple-darwin.tar.gz"
sha256 "PLACEHOLDER_AARCH64_DARWIN"
end
on_intel do
url "https://github.com/rustkit-ai/mcpkill/releases/download/v#{version}/mcpkill-x86_64-apple-darwin.tar.gz"
sha256 "PLACEHOLDER_X86_64_DARWIN"
end
end
on_linux do
on_arm do
url "https://github.com/rustkit-ai/mcpkill/releases/download/v#{version}/mcpkill-aarch64-unknown-linux-gnu.tar.gz"
sha256 "PLACEHOLDER_AARCH64_LINUX"
end
on_intel do
url "https://github.com/rustkit-ai/mcpkill/releases/download/v#{version}/mcpkill-x86_64-unknown-linux-gnu.tar.gz"
sha256 "PLACEHOLDER_X86_64_LINUX"
end
end
def install
bin.install "mcpkill"
end
test do
assert_match "mcpkill", shell_output("#{bin}/mcpkill --version")
end
end