踩坑, cursor对fastMcp定义的mcp兼容不太好, 报错: Invalid type for parameter 'xxx' in tool xxxx
解决: 用更底层的方式来实现
github.com
报错原因, 应该是cursor解析不了fastMcp生成的json schema的格式, 包含类似 '$defs' 这种定义
解决: 用更底层的方式来实现
报错原因, 应该是cursor解析不了fastMcp生成的json schema的格式, 包含类似 '$defs' 这种定义
展开
评论
2