feat(mcp): catalog read tools - #7721
Draft
andypalmi wants to merge 2 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/mcp-tools-shared-schemas #7721 +/- ##
=================================================================
+ Coverage 75.41% 75.61% +0.19%
=================================================================
Files 426 426
Lines 22551 22576 +25
Branches 5949 5949
=================================================================
+ Hits 17006 17070 +64
+ Misses 5545 5506 -39
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-catalog-read
branch
from
July 4, 2026 13:33
439e08b to
5d7e091
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-catalog-read
branch
from
July 6, 2026 16:38
5d7e091 to
a46d91f
Compare
Add read-only MCP tools to fetch a stack, instance type, template or flow blueprint by id, with unit and equivalence tests. Allow-list their scopes for the expert-mcp platform token.
andypalmi
force-pushed
the
feat/mcp-tools-catalog-read
branch
from
July 6, 2026 22:01
a46d91f to
138f496
Compare
andypalmi
marked this pull request as draft
July 30, 2026 08:20
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
Read tools for the platform catalogs, added to
forge/ee/lib/mcp/tools/platform.js. Adds get-by-id lookups (the list variants already exist) and the team-type catalog reads:platform_get_hosted_instance_type-GET /project-types/:instanceTypeIdplatform_get_stack-GET /stacks/:stackIdplatform_get_template-GET /templates/:templateIdplatform_get_blueprint-GET /flow-blueprints/:flowBlueprintIdplatform_list_team_types-GET /team-typesplatform_get_team_type-GET /team-types/:teamTypeIdTeam types are a global platform catalog with no team in the path, mirroring project-types, so they are filed with the platform catalog tools following the one-file-per-resource convention. All tools are
readOnlyHint: true, destructiveHint: false.Scopes allow-listed for
user:expert-mcpinforge/routes/auth/permissions.js:stack:readtemplate:readflow-blueprint:readteam-type:listteam-type:read(
project-type:readwas already allow-listed.)Closes #7679
Test plan
eslinton changed files passes