feat(mcp): application read tools#7716
Open
andypalmi wants to merge 2 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/mcp-tools-shared-schemas #7716 +/- ##
=================================================================
+ Coverage 75.41% 75.64% +0.23%
=================================================================
Files 426 426
Lines 22551 22545 -6
Branches 5949 5939 -10
=================================================================
+ Hits 17006 17054 +48
+ Misses 5545 5491 -54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
f5e73f5 to
0024806
Compare
8bfb22e to
9742987
Compare
0024806 to
d9a1087
Compare
Wrap the read-only application platform routes as MCP tools with unit and tool-vs-route equivalence tests. Entity ids and query-string building use the shared schema fragments.
d9a1087 to
ac0cb49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1 read-only MCP tools for the application resource, added to
forge/ee/lib/mcp/tools/applications.js:platform_list_application_snapshots-GET /applications/:applicationId/snapshotsplatform_export_application_audit_log-GET /applications/:applicationId/audit-log/exportplatform_list_team_application_statuses-GET /teams/:teamId/applications/statusEach tool describes the application resource, so all three are filed with the existing application tools, following the one-file-per-resource convention.
platform_export_application_audit_logis the CSV export counterpart of the already-shippedplatform_get_application_audit_log.platform_list_team_application_statusesreturns the applications in a team with the live status of their instances and devices.All tools are annotated
readOnlyHint: true, destructiveHint: false.Backing scopes are already present in the
user:expert-mcpallow-list (forge/routes/auth/permissions.js):project:snapshot:list,application:audit-log,team:projects:list. No allow-list changes were needed.Closes #7690
Test plan
eslinton changed files passes with no errors