Skip to content

docs: Add tool discovery proposal#227

Open
rubambiza wants to merge 2 commits intokubernetes-sigs:mainfrom
rubambiza:proposal-tool-discovery-upstream
Open

docs: Add tool discovery proposal#227
rubambiza wants to merge 2 commits intokubernetes-sigs:mainfrom
rubambiza:proposal-tool-discovery-upstream

Conversation

@rubambiza
Copy link
Copy Markdown
Contributor

Summary

  • Proposes optional, opt-in tool discovery for KAN: a controller that calls tools/list on MCP backends, validates schemas, and surfaces discovered tools in XBackend.status
  • Enables policy validation against real backend state, operator visibility via kubectl, and a foundation for response filtering
  • Discovery is advisory (does not affect policy enforcement) and opt-in via annotation

Phasing

  • Phase 1: In-cluster discovery over plain HTTP with graceful failure for auth-required backends
  • Phase 2: External backends with TLS/authentication (deferred pending Backend spec stabilization)
  • Phase 3: AccessPolicy cross-referencing against discovered tools

Prior discussion

This proposal was initially drafted and reviewed on the fork PR (rubambiza#1) with feedback from @evaline-ju and @david-martin incorporated.

Test plan

  • Community review of proposal content and API design
  • Alignment on community consensus points (XBackend.status location, MCP client library, sync interval)

Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 6, 2026

Deploy Preview for kube-agentic-networking ready!

Name Link
🔨 Latest commit 6a59a19
🔍 Latest deploy log https://app.netlify.com/projects/kube-agentic-networking/deploys/69e99a98f65e37000802c668
😎 Deploy Preview https://deploy-preview-227--kube-agentic-networking.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 6, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rubambiza
Once this PR has been reviewed and has the lgtm label, please assign david-martin for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 6, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @rubambiza. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 6, 2026
@evaline-ju
Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 7, 2026
Signed-off-by: Gloire Rubambiza <gloire@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants