Skip to content

Commit b1d0bd6

Browse files
committed
tools local run
Signed-off-by: Dmytro Rashko <[email protected]>
1 parent 5be9c27 commit b1d0bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ build:
8686
run: docker-build
8787
@echo "Running tool server on http://localhost:8084/mcp ..."
8888
@echo "Use: npx @modelcontextprotocol/inspector to connect to the tool server"
89-
@docker run --rm -p 8084:8084 -e KAGENT_TOOLS_PORT=8084 $(TOOLS_IMG)
89+
@docker run --rm --net=host -p 8084:8084 -e OPENAI_API_KEY=$(OPENAI_API_KEY) -v $(HOME)/.kube:/home/nonroot/.kube -e KAGENT_TOOLS_PORT=8084 $(TOOLS_IMG) -- --kubeconfig /root/.kube/config
9090

9191
PHONY: retag
9292
retag: docker-build

0 commit comments

Comments
 (0)