Skip to content

MCP: title + hint annotations on every tool - #42

Merged
ralyodio merged 1 commit into
mainfrom
feat/mcp-annotations
Nov 11, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/mcp-annotations

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

All 25 tools now carry a Title Case title and explicit readOnlyHint/destructiveHint/openWorldHint (+ idempotentHint where obvious), per Claude Connectors Directory / ChatGPT rules.

  • read-only: list/get/stats for links and QR codes, expand_link, whoami, list_invites, list_webhooks, webhook_deliveries
  • writes: shorten_url, bulk_shorten, create_qr_code, redeem_credit_code, create_invite, create_webhook, test_webhook (open-world)
  • destructive: update_link, delete_link, update_qr_code, delete_qr_code, update_webhook, rotate_webhook_secret, delete_webhook

Touches only packages/cli/src/tools.js + test/mcp-annotations.test.js. No names, schemas or behavior change.

Local: bun test 83 pass.

🤖 Generated with Claude Code

Claude Connectors Directory and ChatGPT app rules want a human title and
explicit hint booleans on each tool. Updates, deletes and secret rotation
are destructive; test_webhook is open-world. Test asserts it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s) in the 2 file(s) this pull request changes.

Nothing in the files this pull request changes.

76 pre-existing finding(s) elsewhere in the repository — **HIGH**: 11 | **MEDIUM**: 50 | **LOW**: 15

Not introduced by this pull request.

Severity Rule Location
HIGH secret-database-url .github/workflows/ci.yml:22
HIGH js-ssrf-outbound-request apps/web/public/sw.js:29
HIGH sql-template-interpolation apps/web/src/app.js:628
HIGH sql-template-interpolation apps/web/src/app.js:760
HIGH sql-template-interpolation apps/web/src/app.js:1048
HIGH sql-template-interpolation apps/web/src/app.js:1115
HIGH sql-template-interpolation apps/web/src/app.js:1685
HIGH sql-template-interpolation apps/web/src/app.js:1693
HIGH secret-database-url bin/install.sh:232
HIGH secret-database-url docker-compose.yml:18
HIGH sh-remote-script-execution packages/mcp/install.sh:35
MEDIUM sql-template-interpolation apps/web/src/abuse.js:184
MEDIUM sql-template-interpolation apps/web/src/app.js:247
MEDIUM sql-template-interpolation apps/web/src/app.js:607
MEDIUM sql-template-interpolation apps/web/src/app.js:608
MEDIUM sql-template-interpolation apps/web/src/app.js:610
MEDIUM sql-template-interpolation apps/web/src/app.js:856
MEDIUM sql-template-interpolation apps/web/src/app.js:869
MEDIUM sql-template-interpolation apps/web/src/app.js:877
MEDIUM sql-template-interpolation apps/web/src/app.js:1028

…and 56 more; the full set is in the SARIF artifact.

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit f4e4a06 into main Nov 11, 2026
5 checks passed
@ralyodio
ralyodio deleted the feat/mcp-annotations branch November 11, 2026 13:42
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