Skip to content

MCP platform server scaffolding#7596

Open
cstns wants to merge 3 commits into
mainfrom
7426_mcp-scaffolding
Open

MCP platform server scaffolding#7596
cstns wants to merge 3 commits into
mainfrom
7426_mcp-scaffolding

Conversation

@cstns

@cstns cstns commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

Lays the groundwork for the MCP platform tools server. No functional endpoint yet, just the wiring so subsequent PRs have somewhere to land.

  • Adds @modelcontextprotocol/sdk and zod as dependencies
  • Registers expertPlatformAutomation feature flag, same gate as expertAssistant (AI + expert enabled)
  • Reorganizes forge/ee/routes/mcp/: renames existing registration routes to registrations.js, adds empty server.js shell, new index.js router wires both up
  • Route shell at POST /api/v1/mcp returns 501 for now, gates on feature flag, rejects non-user tokens
  • Existing registration endpoints (/api/v1/teams/:teamId/mcp/*) are unchanged

Related Issue(s)

closes #7426

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.52632% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.97%. Comparing base (1dc01e3) to head (6b598c8).
⚠️ Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
forge/ee/routes/mcp/registrations.js 83.05% 10 Missing ⚠️
forge/ee/routes/mcp/server.js 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7596      +/-   ##
==========================================
+ Coverage   76.93%   76.97%   +0.04%     
==========================================
  Files         410      412       +2     
  Lines       21084    21101      +17     
  Branches     5138     5141       +3     
==========================================
+ Hits        16221    16243      +22     
+ Misses       4863     4858       -5     
Flag Coverage Δ
backend 76.97% <85.52%> (+0.04%) ⬆️

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.

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.

Scaffolding: Dependencies, Feature Flag, and Route Shell

1 participant