Repository navigation
MCP: titles on every tool + destructiveHint on browse/ask - #298
Merged
Merged
Conversation
Claude Connectors Directory and ChatGPT app rules want a human title and explicit readOnly/destructive/openWorld booleans on each tool. Test asserts it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 2 file(s) this pull request changes. Nothing in the files this pull request changes. 55 pre-existing finding(s) elsewhere in the repository — **HIGH**: 12 | **MEDIUM**: 32 | **LOW**: 11Not introduced by this pull request.
…and 35 more; the full set is in the SARIF artifact. Snippets are redacted; ThreatCrush never prints matched credential material. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All 12 tools in tools/list now carry a Title Case
title(TITLES map insrc/mcp.mjs), andw3bs_browse/w3bs_askgain the missing explicitdestructiveHint: false. Existing hints unchanged; no names, schemas or behavior change.test/mcp-annotations.test.mjslists tools over an in-memory MCP client and asserts title + all three hints.Local:
bun test164 pass, 0 fail.🤖 Generated with Claude Code