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
|`--read-only`| If set, the MCP server will run in read-only mode, meaning it will not allow any write operations (create, update, delete) on the Kubernetes cluster. This is useful for debugging or inspecting the cluster without making changes. |
185
185
|`--disable-destructive`| If set, the MCP server will disable all destructive operations (delete, update, etc.) on the Kubernetes cluster. This is useful for debugging or inspecting the cluster without accidentally making changes. This option has no effect when `--read-only` is used. |
186
186
|`--toolsets`| Comma-separated list of toolsets to enable. Check the [🛠️ Tools and Functionalities](#tools-and-functionalities) section for more information. |
187
+
|`--config`| Path to a TOML configuration file. If provided, the server will load its configuration from this file. |
188
+
189
+
### Configuration File
190
+
191
+
In addition to command-line arguments, the server can be configured using a TOML file specified with the `--config` flag.
192
+
This allows for more advanced configuration options that are not available through command-line arguments.
193
+
194
+
#### Confluence Toolset
195
+
196
+
To enable the Confluence toolset, you need to provide the URL, username, and an API token for your Confluence instance in the configuration file.
197
+
198
+
**Example `config.toml`:**
199
+
```toml
200
+
[confluence]
201
+
url = "https://your-confluence-domain.com"
202
+
username = "your-username"
203
+
token = "your-api-token"
204
+
```
205
+
206
+
#### Advanced Configuration
207
+
208
+
The TOML configuration file also supports more advanced options, such as:
209
+
210
+
-**`denied_resources`**: A list of Kubernetes resources that should not be accessible through the server.
211
+
-**OAuth Integration**: A comprehensive set of options to configure OIDC-based authentication and authorization for the server, including settings for token validation, client registration, and token exchange (STS).
212
+
213
+
For a complete list of all available configuration options, please refer to the `pkg/config/config.go` source file.
187
214
188
215
## 🛠️ Tools and Functionalities <aid="tools-and-functionalities"></a>
189
216
@@ -197,11 +224,12 @@ The following sets of tools are available (all on by default):
0 commit comments