Skip to content

Commit 1947ccb

Browse files
committed
- fixed e2e
- allow filter tools in helm - fix k8s get events format - default wide Signed-off-by: Dmytro Rashko <dmitriy.rashko@amdocs.com>
1 parent 09dad37 commit 1947ccb

19 files changed

Lines changed: 1607 additions & 90 deletions

DEVELOPMENT.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,24 @@ These tools enhance functionality but aren't required for basic development:
2020
- `istioctl` - Istio service mesh CLI for istio tools
2121
- `cilium` - Cilium CLI for cilium tools
2222

23+
### MCP Tools
24+
```json
25+
{
26+
"mcpServers": {
27+
"kagent-tools": {
28+
"command": "kagent-tools",
29+
"args": ["--stdio", "--kubeconfig", "~/.kube/config", "--tools", "k8s,helm,istio,utils"]
30+
},
31+
"go-sdk-docs": {
32+
"url": "https://gitmcp.io/modelcontextprotocol/go-sdk"
33+
},
34+
"modelcontextprotocol-docs": {
35+
"url": "https://gitmcp.io/modelcontextprotocol/modelcontextprotocol"
36+
}
37+
}
38+
}
39+
```
40+
2341
## Project Structure
2442

2543
```
@@ -272,10 +290,6 @@ func TestToolFunction(t *testing.T) {
272290

273291
```go
274292
func TestIntegration(t *testing.T) {
275-
if testing.Short() {
276-
t.Skip("skipping integration test in short mode")
277-
}
278-
279293
// Setup test environment
280294
ctx := context.Background()
281295
tools := NewTools()

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ run: docker-build
114114
retag: docker-build helm-version
115115
@echo "Check Kind cluster $(KIND_CLUSTER_NAME) exists"
116116
kind get clusters | grep -q $(KIND_CLUSTER_NAME) || bash -c $(KIND_CREATE_CMD)
117+
bash ./scripts/kind/setup-kind.sh
117118
@echo "Retagging tools image to $(RETAGGED_TOOLS_IMG)"
118119
docker tag $(TOOLS_IMG) $(RETAGGED_TOOLS_IMG)
119120
kind load docker-image --name $(KIND_CLUSTER_NAME) $(RETAGGED_TOOLS_IMG)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.25.1
55
require (
66
github.com/google/jsonschema-go v0.3.0
77
github.com/joho/godotenv v1.5.1
8-
github.com/modelcontextprotocol/go-sdk v0.7.0
8+
github.com/modelcontextprotocol/go-sdk v1.0.0
99
github.com/onsi/ginkgo/v2 v2.25.3
1010
github.com/onsi/gomega v1.38.2
1111
github.com/spf13/cobra v1.10.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
3636
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
3737
github.com/modelcontextprotocol/go-sdk v0.7.0 h1:XEQfn3bDx2cAdSUKty3tYEMll5dtRgBUDX88Q65fai0=
3838
github.com/modelcontextprotocol/go-sdk v0.7.0/go.mod h1:nYtYQroQ2KQiM0/SbyEPUWQ6xs4B95gJjEalc9AQyOs=
39+
github.com/modelcontextprotocol/go-sdk v1.0.0 h1:Z4MSjLi38bTgLrd/LjSmofqRqyBiVKRyQSJgw8q8V74=
40+
github.com/modelcontextprotocol/go-sdk v1.0.0/go.mod h1:nYtYQroQ2KQiM0/SbyEPUWQ6xs4B95gJjEalc9AQyOs=
3941
github.com/onsi/ginkgo/v2 v2.25.3 h1:Ty8+Yi/ayDAGtk4XxmmfUy4GabvM+MegeB4cDLRi6nw=
4042
github.com/onsi/ginkgo/v2 v2.25.3/go.mod h1:43uiyQC4Ed2tkOzLsEYm7hnrb7UJTWHYNsuy3bG/snE=
4143
github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=

0 commit comments

Comments
 (0)