Skip to content

Ha/mcp poc - #535

Draft
heerambavi1998 wants to merge 7 commits into
mainfrom
ha/mcp-poc
Draft

Ha/mcp poc#535
heerambavi1998 wants to merge 7 commits into
mainfrom
ha/mcp-poc

Conversation

@heerambavi1998

Copy link
Copy Markdown
Contributor

Summary

Closes #

Changes

How was this tested?

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5a1224d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@heerambavi1998
heerambavi1998 force-pushed the ha/mcp-poc branch 3 times, most recently from 25ebc44 to 1bd8a25 Compare September 1, 2026 12:08
@thesujai
thesujai force-pushed the cj-truefoundry-ai-gateway-models branch 2 times, most recently from 58b98df to 08fc847 Compare September 1, 2026 17:32
Base automatically changed from cj-truefoundry-ai-gateway-models to main September 1, 2026 17:39
Heer Ambavi and others added 5 commits September 2, 2026 12:22
Add list/get-by-name, authorize, auth status, and delete-auth against v1/mcp,
plus SFY→TrueForge auth status mapping for the POC.

Co-authored-by: Cursor <cursoragent@cursor.com>
Implement IMcpServerStore against ServiceFoundry MCP servers, resolving
gateway proxy URLs and exposing authorize/status/revoke helpers. Writes
and local OAuth client columns throw NotImplemented.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire the MCP registry the same way as model providers: when
TRUEFOUNDRY_SERVICEFOUNDRY_SERVER_URL is set, use the ServiceFoundry-backed
store instead of the local DB store.

Co-authored-by: Cursor <cursoragent@cursor.com>
…eFoundry

Settings create/put return 424 when TFY-managed. List/get/available pull
auth status from SFY; authorize maps consent URLs; tools list passes the
caller token into connection resolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
getMcpConnection uses the gateway proxy URL and Authorization bearer in
TFY mode, pausing via store.authorize when upstream OAuth is still required.
Store-agnostic — no instanceof on TrueFoundryMcpServerStore.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant