Skip to content

Conversation

@JonLim
Copy link
Contributor

@JonLim JonLim commented Nov 20, 2025

Summary

A change was recently made to the AWS CN page for available services and completely changed its format. This change is to update the tool endpoint function to continue surfacing the available services in AWS CN.

Changes

  • Fetched a table of contents JSON file that contains the supported AWS services in AWS CN partition
  • Added parsing and formatting specific to get_available_services tool

User experience

Ideally, there would be no real change to the user experience, since this change is to restore functionality that was broken from a content update.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Is this a breaking change? N

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

A change was recently made to the AWS CN page for available services
and completely changed its format. This change is to update the tool
endpoint function to continue surfacing the available services in
AWS CN.
@codecov
Copy link

codecov bot commented Nov 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.61%. Comparing base (cfe3eb6) to head (0b2f0be).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1796      +/-   ##
==========================================
+ Coverage   90.42%   90.61%   +0.19%     
==========================================
  Files         851      665     -186     
  Lines       63317    54302    -9015     
  Branches    10253     9038    -1215     
==========================================
- Hits        57254    49207    -8047     
+ Misses       3772     3101     -671     
+ Partials     2291     1994     -297     

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

@scottschreckengaust scottschreckengaust added the waiting-for-codeowners Code owners are needed to review label Nov 20, 2025
@scottschreckengaust scottschreckengaust self-assigned this Nov 20, 2025
@scottschreckengaust scottschreckengaust moved this from To triage to In progress in awslabs/mcp Project Nov 20, 2025
@scottschreckengaust
Copy link
Member

Consider meeting the project's code coverage

AadityaBhoota
AadityaBhoota previously approved these changes Nov 20, 2025
@JonLim
Copy link
Contributor Author

JonLim commented Nov 20, 2025

Consider meeting the project's code coverage

Good call, thanks @scottschreckengaust ! I've updated with better test coverage, I missed it on the initial pass, my mistake.

Copy link
Contributor

@tuanknguyen tuanknguyen left a comment

Choose a reason for hiding this comment

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

2 nit comments

Copy link
Contributor

@tuanknguyen tuanknguyen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Lavoiedavidw Lavoiedavidw left a comment

Choose a reason for hiding this comment

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

LGTM: Looking for clarification on forward looking expectations

@JonLim JonLim added this pull request to the merge queue Nov 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 24, 2025
@Lavoiedavidw Lavoiedavidw added this pull request to the merge queue Nov 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 24, 2025
@JonLim JonLim enabled auto-merge December 2, 2025 15:48
@JonLim JonLim added this pull request to the merge queue Dec 2, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 2, 2025
@JonLim JonLim added this pull request to the merge queue Dec 4, 2025
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2025
#1796)

* fix(aws-documentation-mcp-server): Fix get_available_services endpoint

A change was recently made to the AWS CN page for available services
and completely changed its format. This change is to update the tool
endpoint function to continue surfacing the available services in
AWS CN.

* fix: Updating tests to cover new functionality introduced in change

* Updating object/dict access patterns to use safer approach

* Using existing approach for returning/logging error messages

---------

Co-authored-by: Jonathan Lim <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-codeowners Code owners are needed to review

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

5 participants