cursor_ai· @cursor_ai · X·· 14 小时前AI 评分
Cursor 自定义工具支持 MCP 注解
自定义工具现在可以携带 MCP 注解,如 readOnlyHint 和 destructiveHint,这样模型在调用前就能区分查询和删除操作。
Custom tools can now carry MCP annotations like readOnlyHint and destructiveHint, so the model can tell a lookup from a delete before it calls one.
来源:cursor_ai · x.com