feat(mcp): pipeline read tools#7715
Open
andypalmi wants to merge 1 commit 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 #7715 +/- ##
=================================================================
+ Coverage 75.41% 75.42% +0.01%
=================================================================
Files 426 427 +1
Lines 22551 22563 +12
Branches 5949 5949
=================================================================
+ Hits 17006 17018 +12
Misses 5545 5545
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:
|
ef3162b to
31f4caf
Compare
8bfb22e to
9742987
Compare
31f4caf to
8396005
Compare
Add read-only MCP tools to list team and application pipelines and get a pipeline stage, with unit and equivalence tests. Allow-list their scopes for the expert-mcp platform token.
8396005 to
e179669
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
Adds Phase 1 read-only MCP tools for DevOps pipelines.
Tool file:
forge/ee/lib/mcp/tools/pipelines.jsTools added:
platform_list_team_pipelines- GET/api/v1/teams/:teamId/pipelinesplatform_list_application_pipelines- GET/api/v1/applications/:applicationId/pipelinesplatform_get_pipeline_stage- GET/api/v1/pipelines/:pipelineId/stages/:stageIdAll three tools carry
readOnlyHint: trueanddestructiveHint: false.Scopes allow-listed for
user:expert-mcpinforge/routes/auth/permissions.js:team:pipeline:listapplication:pipeline:listpipeline:readCloses #7696