Skip to content

feat: in app mcp instructions#7438

Merged
kyle-ssg merged 13 commits into
mainfrom
feat/in-app-mcp-instructions
Jun 24, 2026
Merged

feat: in app mcp instructions#7438
kyle-ssg merged 13 commits into
mainfrom
feat/in-app-mcp-instructions

Conversation

@kyle-ssg

@kyle-ssg kyle-ssg commented May 6, 2026

Copy link
Copy Markdown
Member

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

  • Tracks viewing an integration
  • Adds generic way to add an integration from anywhere
  • Adds in-app integration for mcp considering both SaaS and Self-Hosted
  • Aligned docs remote config for integration_data to production

Features page cta

image

Organisation page cta

image

Self-hosted example

image

Adds following integration_data

  "mcp": {
    "organisation": true,
    "image": "/static/images/integrations/mcp.svg",
    "docs": "https://docs.flagsmith.com/integrating-with-flagsmith/mcp-server",
    "external": false,
    "customUI": true,
    "title": "Flagsmith MCP Server",
    "description": "Allow AI assistants and agents to interact with your feature flag infrastructure, including managing flags, segments, and release workflows.",
    "categories": [
      "AI"
    ]
  }

How did you test this code?

Hooked up to production mcp, validated code snippets match docs.

kyle-ssg and others added 5 commits May 6, 2026 12:22
…ix Cursor/Codex snippets

- Prefill Mcp-Flagsmith-Server-Url from Constants.getFlagsmithSDKUrl().origin
- Cursor manual config drops "type": "http" to match Cursor's documented schema
- Codex self-hosted uses env_http_headers for the auth token
- Add VIEW_INTEGRATION event (stable name + integration property) fired from openIntegrationModal and IntegrationList

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Match docs and Gram install page exactly: 'Header:value' not 'Header: value'.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kyle-ssg kyle-ssg requested a review from a team as a code owner May 6, 2026 12:51
@kyle-ssg kyle-ssg requested review from talissoncosta and removed request for a team May 6, 2026 12:51

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, reopen this pull request to trigger a review.

@vercel

vercel Bot commented May 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 24, 2026 9:12am
flagsmith-frontend-preview Ready Ready Preview, Comment Jun 24, 2026 9:12am
flagsmith-frontend-staging Ready Ready Preview, Comment Jun 24, 2026 9:12am

Request Review

@github-actions github-actions Bot added front-end Issue related to the React Front End Dashboard feature New feature or request labels May 6, 2026
@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Docker builds report

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

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  44.2 seconds
commit  6cf53e8
info  🔄 Run: #16549 (attempt 1)

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  11.2 seconds
commit  6cf53e8
info  🔄 Run: #16549 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  48.4 seconds
commit  6cf53e8
info  🔄 Run: #16549 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  1 minute, 17 seconds
commit  6cf53e8
info  🔄 Run: #16549 (attempt 1)

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  9.7 seconds
commit  dcd8d81
info  🔄 Run: #16550 (attempt 1)

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  26.9 seconds
commit  dcd8d81
info  🔄 Run: #16550 (attempt 1)

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

passed  2 passed

Details

stats  2 tests across 2 suites
duration  42.9 seconds
commit  dcd8d81
info  🔄 Run: #16550 (attempt 1)

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

passed  17 passed

Details

stats  17 tests across 14 suites
duration  1 minute, 21 seconds
commit  dcd8d81
info  🔄 Run: #16550 (attempt 1)

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  42.9 seconds
commit  a110f0c
info  🔄 Run: #16554 (attempt 1)

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

passed  17 passed

Details

stats  17 tests across 14 suites
duration  55 seconds
commit  a110f0c
info  🔄 Run: #16554 (attempt 1)

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

passed  11 passed

Details

stats  11 tests across 8 suites
duration  33.1 seconds
commit  a110f0c
info  🔄 Run: #16554 (attempt 1)

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

passed  17 passed

Details

stats  17 tests across 14 suites
duration  1 minute, 30 seconds
commit  a110f0c
info  🔄 Run: #16554 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  41 seconds
commit  0e12415
info  🔄 Run: #16904 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  35 seconds
commit  0e12415
info  🔄 Run: #16904 (attempt 1)

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

passed  2 passed

Details

stats  2 tests across 2 suites
duration  55.9 seconds
commit  0e12415
info  🔄 Run: #16904 (attempt 1)

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

passed  2 passed

Details

stats  2 tests across 2 suites
duration  42.8 seconds
commit  0e12415
info  🔄 Run: #16904 (attempt 1)

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

passed  2 passed

Details

stats  2 tests across 2 suites
duration  40.6 seconds
commit  3d9b183
info  🔄 Run: #17580 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  45 seconds
commit  3d9b183
info  🔄 Run: #17580 (attempt 1)

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

failed  1 failed

Details

stats  1 test across 1 suite
duration  45.6 seconds
commit  3d9b183
info  📦 Artifacts: View test results and HTML report
🔄 Run: #17580 (attempt 1)

Failed tests

firefox › tests/project-permission-test.pw.ts › Project Permission Tests › Project-level permissions control access to features, environments, audit logs, and segments @enterprise

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

failed  1 failed

Details

stats  1 test across 1 suite
duration  45.1 seconds
commit  3d9b183
info  📦 Artifacts: View test results and HTML report
🔄 Run: #17580 (attempt 2)

Failed tests

firefox › tests/project-permission-test.pw.ts › Project Permission Tests › Project-level permissions control access to features, environments, audit logs, and segments @enterprise

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  34.2 seconds
commit  3d9b183
info  🔄 Run: #17580 (attempt 3)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  44 seconds
commit  3d9b183
info  🔄 Run: #17580 (attempt 3)

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

failed  1 failed

Details

stats  1 test across 1 suite
duration  45.8 seconds
commit  3d9b183
info  📦 Artifacts: View test results and HTML report
🔄 Run: #17580 (attempt 3)

Failed tests

firefox › tests/project-permission-test.pw.ts › Project Permission Tests › Project-level permissions control access to features, environments, audit logs, and segments @enterprise

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

failed  1 failed

Details

stats  1 test across 1 suite
duration  45.8 seconds
commit  3d9b183
info  📦 Artifacts: View test results and HTML report
🔄 Run: #17580 (attempt 4)

Failed tests

firefox › tests/project-permission-test.pw.ts › Project Permission Tests › Project-level permissions control access to features, environments, audit logs, and segments @enterprise

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  42.2 seconds
commit  541ae8e
info  🔄 Run: #17763 (attempt 1)

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

passed  1 passed

Details

stats  1 test across 1 suite
duration  47.6 seconds
commit  541ae8e
info  🔄 Run: #17763 (attempt 1)

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

passed  3 passed

Details

stats  3 tests across 3 suites
duration  47.2 seconds
commit  541ae8e
info  🔄 Run: #17763 (attempt 1)

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

passed  3 passed

Details

stats  3 tests across 3 suites
duration  45.1 seconds
commit  541ae8e
info  🔄 Run: #17763 (attempt 1)

@github-actions

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Visual Regression

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

# Conflicts:
#	frontend/web/components/base/forms/Button.tsx
… URL placeholder

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Add .hljs-header.callout-bar--dark modifier using the --gold-500 token
- Drop inline colour styles and hex constants from CalloutBar
- Chevron/icon/prefix inherit white via currentColor
- Use cursor-pointer class instead of inline cursor style
- Remove caller's inline white icon style in FeaturesSDKIntegration

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added feature New feature or request and removed feature New feature or request labels Jun 17, 2026
@kyle-ssg kyle-ssg marked this pull request as ready for review June 17, 2026 11:37
@kyle-ssg kyle-ssg requested a review from Zaimwa9 June 17, 2026 11:37
@github-actions github-actions Bot added feature New feature or request and removed feature New feature or request labels Jun 17, 2026

@Zaimwa9 Zaimwa9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks really good to me. Added the configuration to staging, re-ran the CI (it looked flaky) and just need to remember adding config to prod 👍

@github-actions github-actions Bot added feature New feature or request and removed feature New feature or request labels Jun 17, 2026
@github-actions github-actions Bot added feature New feature or request and removed feature New feature or request labels Jun 24, 2026
@kyle-ssg kyle-ssg merged commit ca07878 into main Jun 24, 2026
29 of 30 checks passed
@kyle-ssg kyle-ssg deleted the feat/in-app-mcp-instructions branch June 24, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants