Skip to content

fix: improved list features mcp description#7522

Open
Zaimwa9 wants to merge 1 commit into
mainfrom
fix/list-features-mcp-description-wrongly-interpreted
Open

fix: improved list features mcp description#7522
Zaimwa9 wants to merge 1 commit into
mainfrom
fix/list-features-mcp-description-wrongly-interpreted

Conversation

@Zaimwa9
Copy link
Copy Markdown
Contributor

@Zaimwa9 Zaimwa9 commented May 15, 2026

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

While testing out the MCP locally, my client struggled to list all the feature states for an environment. The description was too vague and the environment field wasn't surfaced enough.

  • Fixing pre-emptively as the description will be re-used in MCP v3

How did you test this code?

  1. Ask MCP to grab an organization
  2. choose one project
  3. choose one environment and list the features states

It would iterate on each feature

@Zaimwa9 Zaimwa9 requested a review from a team as a code owner May 15, 2026 09:02
@Zaimwa9 Zaimwa9 requested review from khvn26 and removed request for a team May 15, 2026 09:02
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored May 15, 2026 9:02am
flagsmith-frontend-preview Ignored Ignored May 15, 2026 9:02am
flagsmith-frontend-staging Ignored Ignored May 15, 2026 9:02am

Request Review

@github-actions github-actions Bot added api Issue related to the REST API fix labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-7522 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-7522 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-7522 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-7522 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-7522 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-7522 Finished ✅ Results

@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.47%. Comparing base (6168392) to head (b6f1c00).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7522   +/-   ##
=======================================
  Coverage   98.47%   98.47%           
=======================================
  Files        1400     1400           
  Lines       52980    52980           
=======================================
  Hits        52170    52170           
  Misses        810      810           

☔ View full report in Codecov by Sentry.
📢 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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 15, 2026

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  38.6 seconds
commit  b6f1c00
info  🔄 Run: #16771 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  42.1 seconds
commit  b6f1c00
info  🔄 Run: #16771 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  3 passed

Details

stats  3 tests across 3 suites
duration  31.9 seconds
commit  b6f1c00
info  🔄 Run: #16771 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  3 passed

Details

stats  3 tests across 3 suites
duration  42.8 seconds
commit  b6f1c00
info  🔄 Run: #16771 (attempt 1)

@github-actions
Copy link
Copy Markdown
Contributor

Visual Regression

16 screenshots compared. See report for details.
View full report

@Zaimwa9 Zaimwa9 requested review from matthewelwell and removed request for khvn26 May 15, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant