Skip to content

Feature/mcp governance#2510

Open
ashishrp-aws wants to merge 195 commits intofeature/mcp-governance-devfrom
feature/mcp-governance
Open

Feature/mcp governance#2510
ashishrp-aws wants to merge 195 commits intofeature/mcp-governance-devfrom
feature/mcp-governance

Conversation

@ashishrp-aws
Copy link
Contributor

Problem

Solution

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ashishrp-aws and others added 2 commits November 18, 2025 15:43
* fix: fix to add the mcp command in logs

* fix: fix to add stderr logs
@ashishrp-aws ashishrp-aws requested a review from a team as a code owner November 20, 2025 05:23
…2511)

* fix: fix upgarde the lsp version to 1.47.0

* fix: fix to provide server error messages for removed errors

* revert: revert package-lock.json changes

* Revert "fix: fix upgarde the lsp version to 1.47.0"

This reverts commit 4086962.

* revert: revert for check interval

* fix: fix for failing unit tests
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2025

Codecov Report

❌ Patch coverage is 37.69231% with 4293 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.29%. Comparing base (30e28b7) to head (a4a1047).
⚠️ Report is 34 commits behind head on feature/mcp-governance-dev.

Files with missing lines Patch % Lines
...anguage-server/netTransform/atxTransformHandler.ts 0.00% 1579 Missing ⚠️
...ge-server/agenticChat/tools/mcp/mcpEventHandler.ts 13.18% 362 Missing ⚠️
...anguage-server/agenticChat/tools/mcp/mcpManager.ts 56.06% 285 Missing and 1 partial ⚠️
...rc/language-server/agenticChat/tools/toolServer.ts 0.00% 228 Missing ⚠️
...ed/amazonQServiceManager/AtxTokenServiceManager.ts 37.18% 223 Missing ⚠️
...c/language-server/agenticChat/tools/chatDb/util.ts 15.76% 203 Missing ⚠️
chat-client/src/client/utils.ts 25.24% 153 Missing and 1 partial ⚠️
...ared/amazonQServiceManager/atxTransformProfiles.ts 0.00% 149 Missing ⚠️
...guage-server/netTransform/atxNetTransformServer.ts 0.00% 132 Missing ⚠️
chat-client/src/client/mcpMynahUi.ts 42.66% 127 Missing and 2 partials ⚠️
... and 37 more
Additional details and impacted files
@@                      Coverage Diff                       @@
##           feature/mcp-governance-dev    #2510      +/-   ##
==============================================================
- Coverage                       62.51%   60.29%   -2.22%     
==============================================================
  Files                             266      279      +13     
  Lines                           60047    66157    +6110     
  Branches                         3863     4201     +338     
==============================================================
+ Hits                            37536    39890    +2354     
- Misses                          22435    26184    +3749     
- Partials                           76       83       +7     
Flag Coverage Δ
unittests 60.29% <37.69%> (-2.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

ashishrp-aws and others added 25 commits November 20, 2025 15:49
* feat: add MCP registry service and validator for governance (#2433)

* feat: add MCP registry service and validator for governance

* fix: fix for unit tests

* fix: fix for using httpUtils with proxy agent

* feat: add MCP registry validation and server config conversion (#2440)

* feat: add MCP registry validation and server config conversion

* fix: fix for mcpManager failures

* feat: implement MCP registry service with validation, error handling, and synchronization (#2443)

* feat(amazonq): add MCP registry sync, enterprise validation. (#2450)

* feat(amazonq): add MCP registry sync, enterprise validation, ACG support, version caching

* fix: fix for test failures

* fix: removed Agentcore check

* feat: add OCI registry support, improve MCP initialization flow (#2465)

* feat: add OCI registry support, improve MCP initialization flow, and enhance registry validation

* fix: fix for failing tests

* fix: fix to make registryActive non-optional

* fix(amazonq): separate server discovery from init (#2480)

* fix(amazonq): separate server discovery from init and improve error handling

* fix: update package-lock.json

* fix: fix for delete, save and cancel buttons for registry mcps

* fix: fix to add addiotnal header and variables to registry mcps

* fix: fix for failing registryUrl tests

* fix: move OCI environment variables to config.env and correct mcpRegistryUrl property name (#2486)

* fix: fix for arguments for local docker mcp servers (#2489)

* fix: fix for env variables for local docker mcp servers

* fix: imporve readability for oci check

* feat: add Docker env var support and enable timeout config for MCP (#2494)

* feat: add Docker env var support and enable timeout config for MCP registry servers

* fix: fix for unit tests

* fix: fix for compilation failure

* fix(amazonq): fix for server refresh

* fix: fix for server refresh

* fix: fix for server init

* fix: fix to add the mcp command in logs (#2499)

* fix: fix to add the mcp command in logs

* fix: fix to add stderr logs

* fix: fix to provide error messages for removed errors from registry (#2511)

* fix: fix upgarde the lsp version to 1.47.0

* fix: fix to provide server error messages for removed errors

* revert: revert package-lock.json changes

* Revert "fix: fix upgarde the lsp version to 1.47.0"

This reverts commit 4086962.

* revert: revert for check interval

* fix: fix for failing unit tests

---------

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
Co-authored-by: Richard Li <742829+rli@users.noreply.github.com>
* chore(release): release packages from branch main

* fix: fix for dependency failures

* fix: fix for install failures

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ashish Reddy Podduturi <ashishrp@amazon.com>
Co-authored-by: aws-toolkit-automation <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
* Atx riv final (#2520)

* feat: add atx fes integration for transform profiles

* feat: implement Transform profile discovery via ATX FES with cache clearing

* fix: remove unsupported eu-central-1 region from ATX FES endpoints

* feat: add separate flow for RTS and ATX listavailableprofile api

* fix: remove profile handling from atxnettransformserver

* feat: separating qdev and aws transform

* fix: fixing unit tests

* fix: adding tests

* fix: updating as per langugae server runtime updates

* feat: add starttranform and workspace

* feat: added getTransformInfo and its support methods

* fix: with new runtimes

* feat: add stopjob support

* merged stopjob and added upload plan

* chore: force use of new runtimes

* fix: completed getting plan, worklogs, and final artifact

* chore: deleting unused RPC messages

* feat: added list worklogs before planning

* fix: remove unused methods

---------

Co-authored-by: Pranav Firake <pranavfi@amazon.com>
Co-authored-by: pranav firake <pranav.firake7@gmail.com>
Co-authored-by: Jordan Miao <gzmiao@amazon.com>

* fix: adding atxcredentials details

* fix: updating plan for completed status

* fix: separating aws atx and q credentials storage

* fix: changed customer_output to customer_input

* fix: added new atx-fes-client models to allow CUSTOMER_INPUT types

* fix: multiple accounts token auth

* fix: auto-sync transform profiles using TransformConfigurationServer and prevent us-east-1 defaults

* fix: set default fallback transform request from net 8 to net 10

* fix: changed back q flow to net 8, added target framework to create job requests

* fix: updates aws-server-runtimes to 0.3.8 and added Syd endpoint to constants

* fix: maintaining backwards compatibility

* fix: fixing failing test

* fix: fixing tests

* fix: get endpoints by stage

* fix: regex for appUrl not handling gamma stage and return default region

* fix: fix for initInstance and moved init of atx servers to be after base server is initialized

* fix: fixing tests

* fix: fixing tests

* fix: fixing tests

* chore: bumping lsp version to 0.3.8

* chore: revert naming from Q back to codewhisperer

* chore: deleting stale function

* chore: updating folder

* fix: changed transformserver to log caught errors instead of throwing

* chore: reverting changes and adding todo

* fix: tests with changes

* fix: tests with changes

* chore: removing debug logs

---------

Co-authored-by: Pranav Firake <pranavfi@amazon.com>
Co-authored-by: pranav firake <pranav.firake7@gmail.com>
Co-authored-by: Jordan Miao <gzmiao@amazon.com>
Co-authored-by: Sherry Lu <75588211+XiaoxuanLu@users.noreply.github.com>
Co-authored-by: Chris Long <longachr@amazon.com>
* chore(release): release packages from branch main

* fix(release): update package-lock.json

* fix(release): manually update versions in packages

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manodnya Bhoite <manodnyb@amazon.com>
Co-authored-by: aws-toolkit-automation <>
aws-toolkit-automation and others added 30 commits February 24, 2026 09:22
…indexing bundle to AWSVectorConsolasLocalWorkspaceIndexing `d6762f8b` (#2629)

* fix: support stripped indexing folder in bundled LSP and also update indexing bundle

* fix: show @workspace as 'failed' instead of 'pending' when native modules missing

* Revert "fix: show @workspace as 'failed' instead of 'pending' when native modules missing"

This reverts commit 5e37380.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
* fix: bump @aws/language-server-runtimes to 0.3.15

Regenerate lockfile to pick up 0.3.15 which removes mac-ca (CVE-2026-22036)
and registry-js (CVE-2021-3807) from the dependency tree.

* update package-lock.json

* style: fix prettier formatting
* fix: tools always ask for permissions

* fix: tests

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aws-toolkit-automation <>
* fix: rules created in default file is not workin

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
* fix: rules created in default file is not working (#2652)

* fix: rules created in default file is not workin

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

* fix: deduplicate rules in multi workspace mode (#2659)

* fix: rules created in default file is not workin

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

* fix: rules created in default file is not working

Use dependency injection for McpManager.getResources() in
AdditionalContextProvider to avoid pulling node:process and
node:stream into the webworker webpack bundle, which caused
packaging to fail with UnhandledSchemeError.

---------

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
…vent (#2665) (#2668)

Add a dedicated boolean metric to distinguish @workspace usage from
regular folder context in telemetry. Previously both were counted
under cwsprChatFolderContextCount with no way to differentiate.

The metric is true when the user uses @workspace (inline or pinned),
false otherwise. Wired through the existing triggerContext.hasWorkspace
flag into the telemetry pipeline.

Co-authored-by: aws-toolkit-automation <43144436+aws-toolkit-automation@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.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.