Skip to content

fix(card): list the alert tools on the server card; pin card to list_tools - #20

Merged
FoundryNet merged 1 commit into
mainfrom
fix/server-card-alert-tools
Nov 3, 2026
Merged

FoundryNet merged 1 commit into
mainfrom
fix/server-card-alert-tools

Conversation

@FoundryNet

Copy link
Copy Markdown
Owner

What

After #17 deployed, /.well-known/mcp/server-card.json had a computed tool count of 36 but still listed 32 tools. Its tools[] array is hand-written, and #17 didn't add set_alert, list_alerts, delete_alert or alert_history to it. This PR adds those four entries.

So it can't drift again

tests/test_server_card_tools.py fetches the card through the real ASGI app and asserts that its names equal mcp.list_tools(), with no duplicates. Without the card fix, it fails with missing from card: ['alert_history', 'delete_alert', 'list_alerts', 'set_alert'].

CI was already red on main; this fixes that too

The release-gate step "every test file is listed" was failing because tests/test_oauth_disabled.py and tests/test_path_param_encoding.py were on disk but missing from SUITES. Both are now listed, along with the new test.

🤖 Generated with Claude Code

…list_tools

The card's tools[] is hand-written; #17 added set_alert/list_alerts/
delete_alert/alert_history to the server but not the card (count 36, list 32).
New test asserts card names == mcp.list_tools(). Also lists
test_oauth_disabled.py and test_path_param_encoding.py in the CI SUITES,
whose absence had main's release gate red.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@FoundryNet
FoundryNet merged commit ecb8b25 into main Nov 3, 2026
4 checks passed
@FoundryNet
FoundryNet deleted the fix/server-card-alert-tools branch November 3, 2026 00:58
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