Skip to content

feat(mcp): enforce AI / MCP × Sombra org settings before Sombra calls - #334

Open
dawson-turechek-transcend wants to merge 1 commit into
mcp-sombra-url-lookupfrom
mcp-sombra-org-settings
Open

feat(mcp): enforce AI / MCP × Sombra org settings before Sombra calls#334
dawson-turechek-transcend wants to merge 1 commit into
mcp-sombra-url-lookupfrom
mcp-sombra-org-settings

Conversation

@dawson-turechek-transcend

@dawson-turechek-transcend dawson-turechek-transcend commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Enforce org AiSettings (isAiEnabled + isMcpSombraEnabled) before every Sombra REST call
  • Fail-closed when flags are missing/false; re-check on each call while keeping host sticky
  • Wire assertReady into createTranscendRestClient

Stacks on #333. Part of GitHub Stack #337 — merge top PR (#336) to land all layers.

Test plan

  • Unit tests for AiSettings assert helpers and assertReady re-check / reject behavior
  • Confirm Sombra tools fail with a clear error when MCP × Sombra is disabled
  • Confirm enabled org still reaches Sombra (with or without SOMBRA_URL override)

@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

@transcend-io/airgap.js-types

pnpm add https://pkg.pr.new/@transcend-io/airgap.js-types@334
yarn add https://pkg.pr.new/@transcend-io/airgap.js-types@334.tgz

@transcend-io/cli

pnpm add https://pkg.pr.new/@transcend-io/cli@334
yarn add https://pkg.pr.new/@transcend-io/cli@334.tgz

@transcend-io/design-tokens

pnpm add https://pkg.pr.new/@transcend-io/design-tokens@334
yarn add https://pkg.pr.new/@transcend-io/design-tokens@334.tgz

@transcend-io/internationalization

pnpm add https://pkg.pr.new/@transcend-io/internationalization@334
yarn add https://pkg.pr.new/@transcend-io/internationalization@334.tgz

@transcend-io/privacy-types

pnpm add https://pkg.pr.new/@transcend-io/privacy-types@334
yarn add https://pkg.pr.new/@transcend-io/privacy-types@334.tgz

@transcend-io/sdk

pnpm add https://pkg.pr.new/@transcend-io/sdk@334
yarn add https://pkg.pr.new/@transcend-io/sdk@334.tgz

@transcend-io/type-utils

pnpm add https://pkg.pr.new/@transcend-io/type-utils@334
yarn add https://pkg.pr.new/@transcend-io/type-utils@334.tgz

@transcend-io/utils

pnpm add https://pkg.pr.new/@transcend-io/utils@334
yarn add https://pkg.pr.new/@transcend-io/utils@334.tgz

@transcend-io/mcp

pnpm add https://pkg.pr.new/@transcend-io/mcp@334
yarn add https://pkg.pr.new/@transcend-io/mcp@334.tgz

@transcend-io/mcp-server-admin

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-admin@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-admin@334.tgz

@transcend-io/mcp-server-assessment

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-assessment@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-assessment@334.tgz

@transcend-io/mcp-server-base

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-base@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-base@334.tgz

@transcend-io/mcp-server-consent

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-consent@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-consent@334.tgz

@transcend-io/mcp-server-discovery

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-discovery@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-discovery@334.tgz

@transcend-io/mcp-server-docs

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-docs@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-docs@334.tgz

@transcend-io/mcp-server-dsr

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-dsr@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-dsr@334.tgz

@transcend-io/mcp-server-inventory

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-inventory@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-inventory@334.tgz

@transcend-io/mcp-server-preferences

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-preferences@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-preferences@334.tgz

@transcend-io/mcp-server-workflows

pnpm add https://pkg.pr.new/@transcend-io/mcp-server-workflows@334
yarn add https://pkg.pr.new/@transcend-io/mcp-server-workflows@334.tgz

commit: 9421fbd

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