Claude and other MCP clients use title, readOnlyHint, and destructiveHint to present reads, writes, and deletes accurately. Add a title to every tool, mark missing delete/unlink/cancel/void tools as destructive, and teach mcpgen to emit those annotations (including destructiveHint: false for non-destructive writes). Temporary third_party/mcpgen fork until title support lands upstream. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr> Signed-off-by: Cursor Agent <cursoragent@cursor.com>
22 lines
564 B
Modula-2
22 lines
564 B
Modula-2
module go.probo.inc/mcpgen
|
|
|
|
go 1.25.3
|
|
|
|
require (
|
|
github.com/google/jsonschema-go v0.3.0
|
|
github.com/modelcontextprotocol/go-sdk v1.1.0
|
|
github.com/spf13/cobra v1.10.1
|
|
github.com/stretchr/testify v1.11.1
|
|
golang.org/x/mod v0.30.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/spf13/pflag v1.0.9 // indirect
|
|
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
|
golang.org/x/oauth2 v0.30.0 // indirect
|
|
)
|