Set full MCP tool annotation hints in schema

Fill in readonly, destructive, idempotent, and openWorld on every
tool so clients can rely on explicit values instead of MCP defaults
(destructive and openWorld both default to true when omitted).

Drop the temporary mcpgen vendor from this change; that lands in a
separate pull request.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-07-30 08:53:08 +00:00
parent 5b47a83160
commit a13dbe1e78
32 changed files with 622 additions and 7648 deletions

2
go.mod
View File

@@ -272,5 +272,3 @@ tool (
)
replace github.com/elimity-com/scim => github.com/getprobo/scim v0.0.0-20260309220528-a952b258e8d3
replace go.probo.inc/mcpgen => ./third_party/mcpgen