Skip to content

feat(amazonq): added dev override for registry URL#8314

Closed
ashishrp-aws wants to merge 2 commits intoaws:feature/mcp-registry-devfrom
ashishrp-aws:master
Closed

feat(amazonq): added dev override for registry URL#8314
ashishrp-aws wants to merge 2 commits intoaws:feature/mcp-registry-devfrom
ashishrp-aws:master

Conversation

@ashishrp-aws
Copy link
Contributor

@ashishrp-aws ashishrp-aws commented Nov 18, 2025

Problem

Developers need a way to override the MCP registry URL for testing and development purposes without modifying production code or waiting for backend profile configuration changes. Currently, the registry URL is only fetched from the getProfile API call, making it difficult to test against different registry endpoints during development.

Solution

Added a new developer setting aws.dev.amazonqRegistry with a registryUrl field that allows overriding the MCP registry URL from VSCode settings. The override takes precedence over the URL fetched from getProfile, enabling developers to easily test against custom registry endpoints.

Changes:

  • VSCode Extension: Added amazonqRegistry to dev settings, extracted registryUrl from config, and passed it to the language server via initialization options
  • Language Server: Added registryUrl to client capabilities, updated ProfileStatusMonitor to accept and prioritize override URL, and modified McpToolsServer to use the override when initializing MCP Manager

Usage:

{
    "aws.dev.amazonqRegistry": {
        "registryUrl": "https://custom-registry.example.com/manifest.json"
    }
}

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ashishrp-aws ashishrp-aws requested a review from a team as a code owner November 18, 2025 22:55
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

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

Approving for testing

@laileni-aws laileni-aws changed the title feat: added dev override for registry URL feat(amazonq): added dev override for registry URL Nov 18, 2025
@laileni-aws laileni-aws reopened this Nov 18, 2025
@ashishrp-aws ashishrp-aws deleted the master branch November 18, 2025 23:54
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.

3 participants