Repository: Flux159/mcp-server-kubernetes
Pull request #52: Feat/update gha workflow to enhance summary
Author: login: rr-paras-patel
Created: 2025-03-19T04:20:40Z | Merged: 2025-03-20T04:27:37Z



Diff:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2296008..a963545 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,10 +42,19 @@ jobs:
           # Verify the change took effect
           grep "server:" ~/.kube/config
 
-      - name: Run Tests
+      - name: Run tests and generate JUnit report
         run: |
-          # Your script will now use the modified kubeconfig
-          bun run test
+          # Run tests with JUnit reporter
+          bun run test --reporter junit > junit-results.xml
+
+      - name: Test Report
+        uses: dorny/test-reporter@v2
+        if: always()
+        with:
+          name: Bun Tests # Name of the check run which will be created
+          path: junit-results.xml # Path to test results
+          reporter: jest-junit # Format of test results (jest-junit is compatible with Bun's JUnit output)
+          fail-on-error: true # Fail the workflow if there are test failures
 
       - name: Verify build works
         run: bun run build
diff --git a/README.md b/README.md
index 194e72b..402cf1a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,15 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
+[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/protocol/mcp-server-kubernetes)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
@@ -6,8 +17,6 @@ https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
-[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/server/mcp-server-kubernetes)
-
 ## Usage with Claude Desktop
 
 ```json
@@ -125,28 +134,48 @@ npm run chat
 ├── src/
 │   ├── index.ts              # Main server implementation
 │   ├── types.ts              # Type re-exports
-│   ├── config/              # Configuration files
+│   ├── config/               # Configuration files
 │   │   ├── container-templates.ts  # Container configurations
-│   │   ├── server-config.ts       # Server settings
+│   │   ├── server-config.ts        # Server settings
 │   │   ├── deployment-config.ts    # Deployment schemas
-│   │   └── ...
-│   ├── models/              # Data models and schemas
-│   │   ├── response-schemas.ts    # API response schemas
-│   │   ├── resource-models.ts     # Resource models
-│   │   └── tool-models.ts         # Tool schemas
-│   ├── utils/               # Utility classes
-│   │   └── kubernetes-manager.ts  # K8s management
-│   ├── resources/           # Resource handlers
-│   │   └── handlers.ts      # Resource implementation
-│   └── tools/              # Tool implementations
-│       ├── list_pods.ts
-│       ├── list_services.ts
-│       ├── list_deployments.ts
-│       └── ...
-├── tests/                  # Test files
-│   └── unit.test.ts        # Unit tests
-│   └── helm.test.ts        # Helm tests
-└── ...
+│   │   ├── namespace-config.ts     # Namespace schemas
+│   │   └── cleanup-config.ts       # Resource cleanup configuration
+│   ├── models/               # Data models and schemas
+│   │   ├── response-schemas.ts     # API response schemas
+│   │   ├── resource-models.ts      # Resource models
+│   │   ├── tool-models.ts          # Tool schemas
+│   │   ├── helm-models.ts          # Helm operation schemas
+│   │   └── kubectl-models.ts       # Kubectl operation schemas
+│   ├── utils/                # Utility classes
+│   │   └── kubernetes-manager.ts   # K8s management
+│   ├── resources/            # Resource handlers
+│   │   └── handlers.ts       # Resource implementation
+│   └── tools/                # Tool implementations
+│       ├── list_pods.ts      # Pod listing operations
+│       ├── list_services.ts  # Service listing operations
+│       ├── list_deployments.ts # Deployment listing operations
+│       ├── list_nodes.ts     # Node listing operations
+│       ├── create_pod.ts     # Pod creation operations
+│       ├── delete_pod.ts     # Pod deletion operations
+│       ├── describe_pod.ts   # Pod description operations
+│       ├── get_logs.ts       # Container logs operations
+│       ├── get_events.ts     # Kubernetes events operations
+│       ├── helm-operations.ts # Helm chart operations
+│       └── kubectl-operations.ts # Kubectl utility operations
+├── tests/                    # Test files
+│   ├── unit.test.ts          # Unit tests for basic operations
+│   ├── helm.test.ts          # Helm-specific tests
+│   └── kubectl.test.ts       # Kubectl-specific tests
+├── .github/                  # GitHub configuration
+│   └── workflows/            # CI/CD workflows
+│       ├── ci.yml            # Continuous integration
+│       └── cd.yml            # Continuous deployment
+├── Dockerfile                # Docker container definition
+├── LICENSE                   # MIT license
+├── README.md                 # Project documentation
+├── package.json              # NPM package configuration
+├── tsconfig.json             # TypeScript configuration
+└── vitest.config.ts          # Test configuration
 ```
 
 ### Contributing
diff --git a/package.json b/package.json
index b76fea3..85da3eb 100644
--- a/package.json
+++ b/package.json
@@ -48,4 +48,4 @@
     "typescript": "^5.6.2",
     "vitest": "2.1.9"
   }
-}
+}
\ No newline at end of file


Reviews:
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-19T22:05:17Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-19T22:05:36Z
user: login: Flux159
body: LGTM, just the 2 small nits
state: APPROVED
author_association: OWNER
submitted_at: 2025-03-19T22:05:54Z
user: login: Flux159
state: CHANGES_REQUESTED
author_association: OWNER
submitted_at: 2025-03-20T01:34:22Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-20T03:21:52Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-20T03:23:12Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-20T03:27:06Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-20T03:30:23Z
user: login: rr-paras-patel
state: COMMENTED
author_association: COLLABORATOR
submitted_at: 2025-03-20T03:33:41Z
user: login: Flux159
state: COMMENTED
author_association: OWNER
submitted_at: 2025-03-20T03:35:52Z
user: login: Flux159
state: APPROVED
author_association: OWNER
submitted_at: 2025-03-20T03:36:22Z

Review comments:
diff_hunk: @@ -6,6 +6,9 @@ on:
   push:
     branches: [main]
 
+permissions:
+  contents: read
path: .github/workflows/ci.yml
user: login: Flux159
body: Is this needed? It might be given by default
created_at: 2025-03-19T22:05:17Z
author_association: OWNER
diff_hunk: @@ -42,10 +45,19 @@ jobs:
           # Verify the change took effect
           grep "server:" ~/.kube/config
 
-      - name: Run Tests
+      - name: Run tests and generate JUnit report
         run: |
-          # Your script will now use the modified kubeconfig
-          bun run test
+          # Run tests with JUnit reporter
+          bun run test --reporter junit > junit-results.xml
+
+      - name: Test Report
+        uses: dorny/test-reporter@v2
+        if: success() || failure() # run this step even if previous step failed
path: .github/workflows/ci.yml
user: login: Flux159
body: can use `always()`
created_at: 2025-03-19T22:05:36Z
author_association: OWNER
diff_hunk: @@ -1,12 +1,60 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
 https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
-## Usage with Claude Desktop
+## Installation
+
+You can install the MCP Server for Kubernetes using npm or yarn:
+
+```bash
+# Using npm
+npm install -g mcp-server-kubernetes
+
+# Using yarn
+yarn global add mcp-server-kubernetes
+
+# Using bun
+bun install -g mcp-server-kubernetes
+
+# Run directly with npx (no installation needed)
+npx mcp-server-kubernetes
+```
+
+### Prerequisites
+
+Before using the server, make sure you have:
+
+1. Node.js 18 or higher installed
+2. kubectl installed and in your PATH
+3. A valid kubeconfig file with contexts configured
+4. Access to a Kubernetes cluster (e.g., minikube, Docker Desktop, GKE, EKS, etc.)
+5. Helm v3 installed (optional, only if you plan to use Helm charts)
+
+### Setting up with Cline
+
+If you're using [Cline](https://github.com/cline-ai/cline) as your client, follow these steps:
+
+1. Install Cline if you haven't already:
+
+```bash
+npm install -g @cline-ai/cline
+```
+
+2. Configure MCP Client to use mcp-server-kubernetes by editing your config file (located at `~/.config/cline/config.json`):
path: README.md
user: login: Flux159
body: @rr-paras-patel There's large Readme changes that I don't think make sense - Claude Desktop is still the standard place to run mcp servers. The badges are good, but should remove these other readme changes from this PR.

If there are other readme changes, should make a separate PR to discuss them separately from the CI summary changes.
created_at: 2025-03-20T01:33:47Z
author_association: OWNER
diff_hunk: @@ -1,11 +1,49 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
 https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
+## Installation
+
+You can install the MCP Server for Kubernetes using npm or yarn:
+
+```bash
+# Using npm
+npm install -g mcp-server-kubernetes
+
+# Using yarn
+yarn global add mcp-server-kubernetes
+
+# Using bun
+bun install -g mcp-server-kubernetes
+
+# Run directly with npx (no installation needed)
+npx mcp-server-kubernetes
+```
+
+### Prerequisites
+
+Before using the server, make sure you have:
+
+1. Node.js 18 or higher installed
+2. kubectl installed and in your PATH
+3. A valid kubeconfig file with contexts configured
+4. Access to a Kubernetes cluster (e.g., minikube, Docker Desktop, GKE, EKS, etc.)
+5. Helm v3 installed (optional, only if you plan to use Helm charts)
+
path: README.md
user: login: Flux159
body: Can you remove both these sections as well - the prereqs are repeated in Claude Desktop section & end users will not get any value from installing via npm directly. Claude Desktop instructions should be first.
created_at: 2025-03-20T03:21:52Z
author_association: OWNER
diff_hunk: @@ -95,28 +131,48 @@ npx @modelcontextprotocol/inspector node build/index.js
 ├── src/
 │   ├── index.ts              # Main server implementation
 │   ├── types.ts              # Type re-exports
-│   ├── config/              # Configuration files
+│   ├── config/               # Configuration files
 │   │   ├── container-templates.ts  # Container configurations
-│   │   ├── server-config.ts       # Server settings
+│   │   ├── server-config.ts        # Server settings
 │   │   ├── deployment-config.ts    # Deployment schemas
-│   │   └── ...
-│   ├── models/              # Data models and schemas
-│   │   ├── response-schemas.ts    # API response schemas
-│   │   ├── resource-models.ts     # Resource models
-│   │   └── tool-models.ts         # Tool schemas
-│   ├── utils/               # Utility classes
-│   │   └── kubernetes-manager.ts  # K8s management
-│   ├── resources/           # Resource handlers
-│   │   └── handlers.ts      # Resource implementation
-│   └── tools/              # Tool implementations
-│       ├── list_pods.ts
-│       ├── list_services.ts
-│       ├── list_deployments.ts
-│       └── ...
-├── tests/                  # Test files
-│   └── unit.test.ts        # Unit tests
-│   └── helm.test.ts        # Helm tests
-└── ...
+│   │   ├── namespace-config.ts     # Namespace schemas
+│   │   └── cleanup-config.ts       # Resource cleanup configuration
+│   ├── models/               # Data models and schemas
+│   │   ├── response-schemas.ts     # API response schemas
+│   │   ├── resource-models.ts      # Resource models
+│   │   ├── tool-models.ts          # Tool schemas
+│   │   ├── helm-models.ts          # Helm operation schemas
+│   │   └── kubectl-models.ts       # Kubectl operation schemas
+│   ├── utils/                # Utility classes
+│   │   └── kubernetes-manager.ts   # K8s management
+│   ├── resources/            # Resource handlers
+│   │   └── handlers.ts       # Resource implementation
+│   └── tools/                # Tool implementations
+│       ├── list_pods.ts      # Pod listing operations
+│       ├── list_services.ts  # Service listing operations
+│       ├── list_deployments.ts # Deployment listing operations
+│       ├── list_nodes.ts     # Node listing operations
+│       ├── create_pod.ts     # Pod creation operations
+│       ├── delete_pod.ts     # Pod deletion operations
+│       ├── describe_pod.ts   # Pod description operations
+│       ├── get_logs.ts       # Container logs operations
+│       ├── get_events.ts     # Kubernetes events operations
+│       ├── helm-operations.ts # Helm chart operations
+│       └── kubectl-operations.ts # Kubectl utility operations
+├── tests/                    # Test files
+│   ├── unit.test.ts          # Unit tests for basic operations
+│   ├── helm.test.ts          # Helm-specific tests
+│   └── kubectl.test.ts       # Kubectl-specific tests
+├── .github/                  # GitHub configuration
+│   └── workflows/            # CI/CD workflows
+│       ├── ci.yml            # Continuous integration
+│       └── cd.yml            # Continuous deployment
+├── Dockerfile                # Docker container definition
+├── LICENSE                   # MIT license
+├── README.md                 # Project documentation
+├── package.json              # NPM package configuration
+├── tsconfig.json             # TypeScript configuration
+└── vitest.config.ts          # Test configuration
 ```
path: README.md
user: login: Flux159
body: This is fine for now, but I think follow up after this PR lands will be to move this into it's own file since it's getting kinda large
created_at: 2025-03-20T03:23:12Z
author_association: OWNER
diff_hunk: @@ -1,11 +1,50 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
+[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/protocol/mcp-server-kubernetes)
path: README.md
user: login: Flux159
body: Rebase since this was added in https://github.com/Flux159/mcp-server-kubernetes/pull/55 below the glama badge
created_at: 2025-03-20T03:27:06Z
author_association: OWNER
diff_hunk: @@ -1,11 +1,40 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
+[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/protocol/mcp-server-kubernetes)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
 https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
+## Installation
+
+You can install the MCP Server for Kubernetes using npm or yarn:
+
+```bash
+# Using npm
+npm install -g mcp-server-kubernetes
+
+# Using yarn
+yarn global add mcp-server-kubernetes
+
+# Using bun
+bun install -g mcp-server-kubernetes
+
+# Run directly with npx (no installation needed)
+npx mcp-server-kubernetes
+```
+
path: README.md
user: login: Flux159
body: Remove this section too please - this is not how end users should use the mcp server
created_at: 2025-03-20T03:30:23Z
author_association: OWNER
diff_hunk: @@ -1,11 +1,40 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
+[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/protocol/mcp-server-kubernetes)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
 https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
+## Installation
+
+You can install the MCP Server for Kubernetes using npm or yarn:
+
+```bash
+# Using npm
+npm install -g mcp-server-kubernetes
+
+# Using yarn
+yarn global add mcp-server-kubernetes
+
+# Using bun
+bun install -g mcp-server-kubernetes
+
+# Run directly with npx (no installation needed)
+npx mcp-server-kubernetes
+```
+
path: README.md
user: login: rr-paras-patel
body: I have seen in many instances where npx installation doesn't work smoothly.  let me remove if there is need we will introduce back 
created_at: 2025-03-20T03:33:41Z
author_association: COLLABORATOR
diff_hunk: @@ -1,11 +1,40 @@
-# mcp-server-kubernetes
+# MCP Server Kubernetes
+
+[![CI](https://github.com/Flux159/mcp-server-kubernetes/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/mcp-server-kubernetes/actions/workflows/ci.yml)
+[![Language](https://img.shields.io/github/languages/top/Flux159/mcp-server-kubernetes)](https://github.com/yourusername/mcp-server-kubernetes)
+[![Bun](https://img.shields.io/badge/runtime-bun-orange)](https://bun.sh)
+[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=flat&logo=kubernetes&logoColor=white)](https://kubernetes.io/)
+[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
+[![Stars](https://img.shields.io/github/stars/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/stargazers)
+[![Issues](https://img.shields.io/github/issues/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/issues)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Flux159/mcp-server-kubernetes/pulls)
+[![Last Commit](https://img.shields.io/github/last-commit/Flux159/mcp-server-kubernetes)](https://github.com/Flux159/mcp-server-kubernetes/commits/main)
+[![smithery badge](https://smithery.ai/badge/mcp-server-kubernetes)](https://smithery.ai/protocol/mcp-server-kubernetes)
 
 MCP Server that can connect to a Kubernetes cluster and manage it.
 
 https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed
 
 <a href="https://glama.ai/mcp/servers/w71ieamqrt"><img width="380" height="200" src="https://glama.ai/mcp/servers/w71ieamqrt/badge" /></a>
 
+## Installation
+
+You can install the MCP Server for Kubernetes using npm or yarn:
+
+```bash
+# Using npm
+npm install -g mcp-server-kubernetes
+
+# Using yarn
+yarn global add mcp-server-kubernetes
+
+# Using bun
+bun install -g mcp-server-kubernetes
+
+# Run directly with npx (no installation needed)
+npx mcp-server-kubernetes
+```
+
path: README.md
user: login: Flux159
body: Can you add a new issue around that in case it needs to be investigated? That seems odd since from my understanding npx should essentially download to a tmp directory & run from there
created_at: 2025-03-20T03:35:52Z
author_association: OWNER

PR comments:
user: login: rr-paras-patel
created_at: 2025-03-19T05:15:02Z
body: @Flux159 can you check repo permission ? 
![image](https://github.com/user-attachments/assets/23d886b0-dd85-47ad-a03c-ee7d6250f153)

author_association: COLLABORATOR
user: login: Flux159
created_at: 2025-03-19T05:20:14Z
body: I just updated the last checkmark
<img width="823" alt="Screenshot 2025-03-18 at 10 19 30 PM" src="https://github.com/user-attachments/assets/21c20a61-895e-40ef-9c14-8c725322de27" />

Try again now?

author_association: OWNER
user: login: Flux159
created_at: 2025-03-19T16:36:48Z
body: I think this is failing because of this comment "Note that, if the PR comes from a fork, it will have only read permission despite the permissions given in the action for the pull_request event" in https://github.com/marketplace/actions/comment-pull-request#permissions
author_association: OWNER
user: login: rr-paras-patel
created_at: 2025-03-19T19:40:55Z
body: @Flux159 can you add `GITHUB_TOKEN` under repo secrets ?
author_association: COLLABORATOR
user: login: Flux159
created_at: 2025-03-19T19:50:36Z
body: GitHub token is automatically passed to the action - it has the permissions that I put above.

You should be able to fix this if you clone flux159/mcp-server-kubernetes and make a branch here & then put up a PR from the branch. Right now you're trying to merge from your fork. This would only work for you as a collaborator though - it would error out for anyone who forks, so probably isn't a great solution.

I would say just leave the comment as an artifact on the action - you can see it there & it's still linked from the PR.
author_association: OWNER
user: login: dhruvthak3r
created_at: 2025-03-19T21:07:28Z
body: _![Screenshot_2025-03-20-02-25-22-13_320a9a695de7cdce83ed5281148d6f19.jpg](https://github.com/user-attachments/assets/f01179dc-41cc-43bc-94df-5ba5b1892bc5)

maybe try this? this is from my old project btw it worked fine for me
author_association: CONTRIBUTOR
user: login: rr-paras-patel
created_at: 2025-03-19T21:33:03Z
body: @dhruvthak3r tried it in previous commit. any way this is not important. and most likely it is due to what @Flux159 because of repo fork PR. 
author_association: COLLABORATOR
user: login: rr-paras-patel
created_at: 2025-03-19T22:03:13Z
body: @Flux159  i am fine with keepit under "Job Summary" we don't need it part of PR comment for now. let's review changes 
author_association: COLLABORATOR