We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f3844 commit 8c80cfeCopy full SHA for 8c80cfe
pkg/mcp/configuration.go
@@ -9,7 +9,7 @@ import (
9
)
10
11
func (s *Server) initConfiguration() []server.ServerTool {
12
- return []server.ServerTool{
+ tools := []server.ServerTool{
13
{mcp.NewTool("configuration_view",
14
mcp.WithDescription("Get the current Kubernetes configuration content as a kubeconfig YAML"),
15
mcp.WithBoolean("minified", mcp.Description("Return a minified version of the configuration. "+
@@ -18,6 +18,7 @@ func (s *Server) initConfiguration() []server.ServerTool {
18
"(Optional, default true)")),
19
), configurationView},
20
}
21
+ return tools
22
23
24
func configurationView(_ context.Context, ctr mcp.CallToolRequest) (*mcp.CallToolResult, error) {
0 commit comments