feat(mcp): bill of materials read tools - #7724
Open
andypalmi wants to merge 3 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7724 +/- ##
=======================================
Coverage 76.17% 76.18%
=======================================
Files 440 441 +1
Lines 23604 23612 +8
Branches 6285 6285
=======================================
+ Hits 17981 17989 +8
Misses 5623 5623
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:
|
andypalmi
force-pushed
the
feat/mcp-tools-observability-read
branch
from
July 4, 2026 13:33
16b0fea to
997d30a
Compare
andypalmi
force-pushed
the
feat/mcp-tools-shared-schemas
branch
from
July 6, 2026 13:13
8bfb22e to
9742987
Compare
andypalmi
force-pushed
the
feat/mcp-tools-observability-read
branch
from
July 6, 2026 16:38
997d30a to
880296b
Compare
andypalmi
force-pushed
the
feat/mcp-tools-observability-read
branch
from
July 6, 2026 22:01
880296b to
95b4963
Compare
andypalmi
marked this pull request as draft
July 30, 2026 08:21
andypalmi
force-pushed
the
feat/mcp-tools-shared-schemas
branch
from
August 3, 2026 13:19
103f9ae to
5773bdb
Compare
Add forge/ee/lib/mcp/schemas.js, a shared module of composable zod fragments the platform read tools import instead of redefining entity-id and pagination/search/sort/audit-log query fields in each tool file. - entity-id params: teamId, applicationId, hostedInstanceId (UUID), remoteInstanceId, snapshotId - query fragments composed per route by spreading only the params the backing finder honors: cursorParam/limitParam (basePagination), pageParam, searchQuery, sortParams, auditLogFilters - appendQuery serialises a tool's supported params onto the request URL The module lives one level above tools/ so the tool loader does not register it as a tool module. Closes #7669
andypalmi
force-pushed
the
feat/mcp-tools-shared-schemas
branch
from
August 3, 2026 14:13
eae081f to
e04360f
Compare
andypalmi
force-pushed
the
feat/mcp-tools-observability-read
branch
from
August 3, 2026 15:27
a5b4257 to
efa4e33
Compare
andypalmi
marked this pull request as ready for review
August 3, 2026 15:47
Expose team and application bill-of-materials as read-only MCP tools.
andypalmi
force-pushed
the
feat/mcp-tools-observability-read
branch
from
August 3, 2026 15:56
efa4e33 to
c10c4ca
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 bill of materials, in a new
forge/ee/lib/mcp/tools/bom.jsfile:platform_get_team_bom-GET /teams/:teamId/bomplatform_get_application_bom-GET /applications/:applicationId/bomBoth tools are
readOnlyHint: true, destructiveHint: false. BOM is plan-gated on feature keybom(default disabled); the tools surface a clear "feature not enabled for this team" message instead of a bare error when the team's plan does not have the feature. Team BOM results are filtered to the applications the caller can access.The audit-log, history, and resource-usage read tools are filed with the resource they describe (team audit log in
teams.js, hosted instance audit log/history/resources ininstances.js, remote instance audit log/history indevices.js, application audit-log export inapplications.js), following the one-file-per-resource convention.Scopes allow-listed for
user:expert-mcpinforge/routes/auth/permissions.js:team:bomapplication:bomCloses #7676
Test plan
eslintpasses on changed filesrequiresanity check)