You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--toolsets`| Comma-separated list of toolsets to enable. Check the [🛠️ Tools and Functionalities](#tools-and-functionalities) section for more information. |
197
197
|`--disable-multi-cluster`| If set, the MCP server will disable multi-cluster support and will only use the current context from the kubeconfig file. This is useful if you want to restrict the MCP server to a single cluster. |
198
198
199
+
#### Custom Prompts Configuration
200
+
201
+
The server supports defining custom [MCP prompts](https://modelcontextprotocol.io/docs/concepts/prompts) directly in your configuration file, allowing you to create custom workflows without recompiling. See [docs/PROMPTS.md](docs/PROMPTS.md) for detailed documentation.
202
+
203
+
**Configuration file example:**
204
+
205
+
```toml
206
+
# Define prompts inline in your config.toml
207
+
[[prompts]]
208
+
name = "my-custom-prompt"
209
+
description = "A custom troubleshooting workflow"
210
+
211
+
[[prompts.arguments]]
212
+
name = "resource_name"
213
+
required = true
214
+
215
+
[[prompts.messages]]
216
+
role = "user"
217
+
content = "Help me troubleshoot {{resource_name}}"
218
+
219
+
[[prompts.messages]]
220
+
role = "assistant"
221
+
content = "I'll investigate {{resource_name}} for you."
222
+
223
+
# Optionally disable built-in embedded prompts
224
+
disable_embedded_prompts = false
225
+
```
226
+
199
227
## 🛠️ Tools and Functionalities <aid="tools-and-functionalities"></a>
200
228
201
229
The Kubernetes MCP server supports enabling or disabling specific groups of tools and functionalities (tools, resources, prompts, and so on) via the `--toolsets` command-line flag or `toolsets` configuration option.
The Kubernetes MCP Server now supports [MCP Prompts](https://modelcontextprotocol.io/docs/concepts/prompts), which provide pre-defined workflow templates and guidance to AI assistants. Prompts help standardize common Kubernetes operations and provide structured approaches to troubleshooting and deployment tasks.
3
+
The Kubernetes MCP Server supports [MCP Prompts](https://modelcontextprotocol.io/docs/concepts/prompts), which provide pre-defined workflow templates and guidance to AI assistants.
4
4
5
5
## What are MCP Prompts?
6
6
@@ -9,217 +9,188 @@ MCP Prompts are pre-defined templates that guide AI assistants through specific
9
9
-**Parameterization**: Arguments that customize the prompt for specific contexts
10
10
-**Conversation templates**: Pre-formatted messages that guide the interaction
11
11
12
-
## Available Prompts
12
+
## Available Built-in Prompts
13
13
14
-
The Kubernetes MCP Server currently provides the following prompts in the `core` toolset:
14
+
The server provides these prompts in the `core` toolset:
15
15
16
-
### 1. `troubleshoot-pod`
17
-
Guide for troubleshooting a failing or crashed pod in Kubernetes.
16
+
1.**troubleshoot-pod** - Debug failing or crashed pods
17
+
2.**deploy-application** - Deploy new applications
18
+
3.**scale-deployment** - Scale deployments safely
19
+
4.**investigate-cluster-health** - Check overall cluster health
0 commit comments