mcp-server-kubernetes 4.1.8 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/config/server-config.d.ts +1 -1
- package/dist/config/server-config.js +1 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,6 +351,7 @@ The following destructive operations are disabled:
|
|
|
351
351
|
- `cleanup_pods`: Cleaning up problematic pods
|
|
352
352
|
- `node_management`: Node management operations (can drain nodes)
|
|
353
353
|
- `kubectl_generic`: General kubectl command access (may include destructive operations)
|
|
354
|
+
- `exec_in_pod`: Arbitrary command execution inside a pod (can read service-account tokens and change state)
|
|
354
355
|
|
|
355
356
|
For additional advanced features, see the [ADVANCED_README.md](ADVANCED_README.md) and also the [docs](https://github.com/Flux159/mcp-server-kubernetes/tree/main/docs) folder for specific information on `helm_install`, `helm_template_apply`, node management & pod cleanup.
|
|
356
357
|
|
package/dist/index.js
CHANGED
|
@@ -69,6 +69,7 @@ const destructiveTools = [
|
|
|
69
69
|
cleanupSchema, // Cleanup is also destructive as it deletes resources
|
|
70
70
|
kubectlGenericSchema, // Generic kubectl command can perform destructive operations
|
|
71
71
|
nodeManagementSchema, // Node management can drain nodes (destructive)
|
|
72
|
+
execInPodSchema, // Arbitrary command execution inside a pod; can read SA tokens and mutate state
|
|
72
73
|
];
|
|
73
74
|
// Get all available tools
|
|
74
75
|
const allTools = [
|