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