@@ -115,3 +115,40 @@ lint: golangci-lint ## Lint the code
115115.PHONY : update-readme-tools
116116update-readme-tools : # # Update the README.md file with the latest toolsets
117117 go run ./internal/tools/update-readme/main.go README.md
118+
119+ # #@ Tools
120+
121+ .PHONY : tools
122+ tools : # # Install all required tools (kind) to ./bin/
123+ @echo " Checking and installing required tools to ./bin/ ..."
124+ @if [ -f bin/kind ]; then echo " [OK] kind already installed" ; else echo " Installing kind..." ; $(MAKE ) -s kind; fi
125+ @echo " All tools ready!"
126+
127+ # #@ Local Development
128+
129+ .PHONY : local-env-setup
130+ local-env-setup : # # Setup complete local development environment with Kind cluster
131+ @echo " ========================================="
132+ @echo " Kubernetes MCP Server - Local Setup"
133+ @echo " ========================================="
134+ $(MAKE ) tools
135+ $(MAKE ) kind-create-cluster
136+ $(MAKE ) build
137+ @echo " "
138+ @echo " ========================================="
139+ @echo " Local environment ready!"
140+ @echo " ========================================="
141+ @echo " "
142+ @echo " Run the MCP server with:"
143+ @echo " ./$( BINARY_NAME) "
144+ @echo " "
145+ @echo " Or run with MCP inspector:"
146+ @echo " npx @modelcontextprotocol/inspector@latest \$ $( pwd) /$( BINARY_NAME) "
147+ @echo " "
148+
149+ .PHONY : local-env-teardown
150+ local-env-teardown : # # Tear down the local Kind cluster
151+ $(MAKE ) kind-delete-cluster
152+
153+ # Include build configuration files
154+ -include build/*.mk
0 commit comments