Files
Jonathan Miller bd5f676e0a
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Merge remote-tracking branch 'origin/dev'
# Conflicts:
#	cli/manifest_licensing.php
2026-06-06 11:49:30 -05:00

50 lines
1.2 KiB
Makefile

# SSH MCP Server Makefile
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
# Based on mcp-ssh-manager by MCP SSH Manager Contributors (MIT License)
# SPDX-License-Identifier: MIT
PROJECT_NAME := ssh-mcp
PROJECT_VERSION := 3.4.0
NPM := npm
COLOR_RESET := \033[0m
COLOR_GREEN := \033[32m
COLOR_BLUE := \033[34m
.PHONY: help
help: ## Show this help message
@echo "$(COLOR_BLUE)$(PROJECT_NAME) v$(PROJECT_VERSION)$(COLOR_RESET)"
@echo ""
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " $(COLOR_BLUE)%-20s$(COLOR_RESET) %s\n", $$1, $$2}'
.PHONY: install-deps
install-deps: ## Install dependencies
@$(NPM) install
@echo "$(COLOR_GREEN)✓ Dependencies installed$(COLOR_RESET)"
.PHONY: start
start: ## Start the MCP server
@$(NPM) run start
.PHONY: test
test: ## Run tests
@$(NPM) test
.PHONY: lint
lint: ## Run linter
@$(NPM) run lint
.PHONY: server-add
server-add: ## Add a server (interactive)
@./cli/ssh-manager.js server add
.PHONY: server-list
server-list: ## List configured servers
@./cli/ssh-manager.js server list
.PHONY: tools-list
tools-list: ## List available tools and status
@./cli/ssh-manager.js tools list
.DEFAULT_GOAL := help