Skip to content

feat(mcp): pipeline read tools#7715

Open
andypalmi wants to merge 1 commit into
feat/mcp-tools-shared-schemasfrom
feat/mcp-tools-pipelines-read
Open

feat(mcp): pipeline read tools#7715
andypalmi wants to merge 1 commit into
feat/mcp-tools-shared-schemasfrom
feat/mcp-tools-pipelines-read

Conversation

@andypalmi

Copy link
Copy Markdown
Contributor

Summary

Adds Phase 1 read-only MCP tools for DevOps pipelines.

Tool file: forge/ee/lib/mcp/tools/pipelines.js

Tools added:

  • platform_list_team_pipelines - GET /api/v1/teams/:teamId/pipelines
  • platform_list_application_pipelines - GET /api/v1/applications/:applicationId/pipelines
  • platform_get_pipeline_stage - GET /api/v1/pipelines/:pipelineId/stages/:stageId

All three tools carry readOnlyHint: true and destructiveHint: false.

Scopes allow-listed for user:expert-mcp in forge/routes/auth/permissions.js:

  • team:pipeline:list
  • application:pipeline:list
  • pipeline:read

Closes #7696

@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.42%. Comparing base (103f9ae) to head (e179669).

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              
Flag Coverage Δ
backend 75.42% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@andypalmi andypalmi force-pushed the feat/mcp-tools-pipelines-read branch from ef3162b to 31f4caf Compare July 4, 2026 13:33
@andypalmi andypalmi self-assigned this Jul 6, 2026
@andypalmi andypalmi added this to the 2.33 milestone Jul 6, 2026
@andypalmi andypalmi linked an issue Jul 6, 2026 that may be closed by this pull request
@andypalmi andypalmi force-pushed the feat/mcp-tools-shared-schemas branch from 8bfb22e to 9742987 Compare July 6, 2026 13:13
@andypalmi andypalmi force-pushed the feat/mcp-tools-pipelines-read branch from 31f4caf to 8396005 Compare July 6, 2026 16:39
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.
@andypalmi andypalmi force-pushed the feat/mcp-tools-pipelines-read branch from 8396005 to e179669 Compare July 6, 2026 22:01
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.

5.5-a Read tools (phase 1)

1 participant