Skip to content

feat: implement AppLens detector MCP tools #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 11, 2025
Merged

feat: implement AppLens detector MCP tools #64

merged 2 commits into from
Jul 11, 2025

Conversation

feiskyer
Copy link
Member

Fix #57

  • Add three new MCP tools: list_detectors, run_detector, run_detectors_by_category
  • Implement detector client with caching support using Azure Management API
  • Add comprehensive input validation for time parameters and categories
  • Support AKS cluster resource ID format parsing
  • Add unit tests for validation functions

feiskyer added 2 commits July 11, 2025 11:04
- Add three new MCP tools: list_detectors, run_detector, run_detectors_by_category
- Implement detector client with caching support using Azure Management API
- Add comprehensive input validation for time parameters and categories
- Support AKS cluster resource ID format parsing
- Add unit tests for validation functions
Copy link
Member

@gossion gossion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomas1206
Copy link
Contributor

Do we need a common lib for API call?

@feiskyer
Copy link
Member Author

Do we need a common lib for API call?

It is already under azureclient lib

@thomas1206
Copy link
Contributor

For API call, where do we define readonly and readwrite?

@feiskyer
Copy link
Member Author

That's same as CLI commands, they should be defined by us when adding the tool. But all the tools in this PR are readonly

@feiskyer feiskyer merged commit 1c72079 into main Jul 11, 2025
8 checks passed
@feiskyer feiskyer deleted the detector-tool branch July 11, 2025 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tool to call and invoke AppLens detectors
3 participants