{"id":10020670,"date":"2025-03-17T21:46:23","date_gmt":"2025-03-17T13:46:23","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020670"},"modified":"2025-03-17T21:46:23","modified_gmt":"2025-03-17T13:46:23","slug":"%e4%b8%80%e6%ac%a1%e6%8e%92%e6%9f%a5-cursor-bug-%e7%9a%84%e7%bb%8f%e5%8e%86","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020670","title":{"rendered":"\u4e00\u6b21\u6392\u67e5 Cursor bug \u7684\u7ecf\u5386"},"content":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u5361\u9882\uff0c\u4e13\u6ce8\u4e8e<strong>AI\u52a9\u529b\u7a0b\u5e8f\u5458\u8f6c\u578b<\/strong>\uff08<a href=\"https:\/\/link.segmentfault.com\/?enc=YnTmS32WL4ouLqSnNXQSVQ%3D%3D.I%2BTzdWMzPBba10kvlx9n3Rp3Cms5qy6N19hVheW7jSzu3TZmDgXBo5Cp%2B1aMBFqu\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\u9605\u8bfb\u6211\u7684\u66f4\u591a\u601d\u8003<\/a>\uff09<\/p>\n<p>\u76f8\u4fe1\u5f88\u591a\u540c\u5b66\u65e5\u5e38\u7f16\u7801\u5df2\u7ecf\u7528\u4e0a\u4e86<code>Cursor<\/code>\u3002<\/p>\n<p>\u6700\u8fd1\uff0c\u6211\u5728\u7528<code>Cursor<\/code>\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e86<strong>\u6ce8\u518c\u7684MCP\u670d\u52a1\u4e0d\u8c03\u7528<\/strong>\u7684\u95ee\u9898\u3002<\/p>\n<p>\u7ecf\u8fc7\u4e00\u987f\u6392\u67e5\uff0c\u6700\u7ec8\u786e\u5b9a\u662f<code>Cursro<\/code>\u81ea\u8eabbug\u5bfc\u81f4\u3002<\/p>\n<p>\u672c\u6587\u804a\u804a\u6392\u67e5\u7684\u8fc7\u7a0b\uff0c\u8fd8\u86ee\u6709\u8da3\u3002<\/p>\n<h2>\u4ec0\u4e48\u662fMCP\uff1f<\/h2>\n<p>\u5927\u6a21\u578b\uff08\u540e\u6587\u7b80\u79f0<code>LLM<\/code>\uff09\u81ea\u8eab\u53ea\u6709\u591a\u6a21\u6001\uff08\u6587\u672c\u3001\u89c6\u9891\u3001\u56fe\u7247&#8230;\uff09\u8f93\u51fa\u80fd\u529b\uff0c\u65e0\u6cd5\u4f7f\u7528\u5916\u90e8\u5de5\u5177\uff0c\u6bd4\u5982\uff1a<\/p>\n<ul>\n<li>\u65e0\u6cd5\u8054\u7f51\u67e5\u8be2<\/li>\n<li>\u65e0\u6cd5\u4ece\u6570\u636e\u5e93\u67e5\u6570\u636e<\/li>\n<li>\u65e0\u6cd5\u64cd\u7eb5\u6d4f\u89c8\u5668<\/li>\n<\/ul>\n<p>\u8981\u8d4b\u4e88LLM<strong>\u4f7f\u7528\u5916\u90e8\u5de5\u5177\u7684\u80fd\u529b<\/strong>\uff0c\u9700\u8981\u642d\u5efa\u5982\u4e0b\u6d41\u7a0b\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236187\" alt=\"\" title=\"\"><\/p>\n<p>\u5176\u4e2d\uff1a<\/p>\n<ul>\n<li>\u84dd\u8272\u90e8\u5206\u6d41\u7a0b\u662f<strong>LLM\u8868\u8fbe\u81ea\u5df1\u5e0c\u671b\u505a\u4ec0\u4e48<\/strong><\/li>\n<li>\u7eff\u8272\u90e8\u5206\u6d41\u7a0b\u662f<strong>\u5b9e\u9645\u505a\u8fd9\u4ef6\u4e8b<\/strong><\/li>\n<\/ul>\n<p><strong>\u84dd\u8272\u90e8\u5206<\/strong>\u6700\u65e9\u7531<code>openAI<\/code>\u5b9e\u73b0\uff0c\u88ab\u79f0\u4e3a<code>Function Call<\/code>\uff08\u540e\u7eed\u8fed\u4ee3\u6539\u540d\u4e3a<code>Tool Call<\/code>\uff09\u3002<\/p>\n<p>\u5176\u4ed6\u4e3b\u6d41LLM\u4e5f\u90fd\u8ddf\u8fdb\u4e86\u8fd9\u4e2a\u529f\u80fd\uff08<code>Claude<\/code>\u4e2d\u8fd9\u4e2a\u529f\u80fd\u53eb<code>Tool use<\/code>\uff09\u3002<\/p>\n<p>\u6211\u4eec\u4f1a\u53d1\u73b0\uff0c\u84dd\u8272\u90e8\u5206\u662f\u4e00\u5957\u89c4\u8303\uff0c\u7528\u4e8e\u5b9a\u4e49<strong>LLM\u5982\u4f55\u8868\u8fbe\u81ea\u5df1\u5e0c\u671b\u505a\u4ec0\u4e48<\/strong>\u3002<\/p>\n<p>\u6bd4\u5982\uff0c\u4e0b\u9762\u662f<code>Claude<\/code>\u5b9a\u4e49\u7684\u4e00\u4e2a<code>Tool use<\/code>\uff0c\u8868\u8fbe<code>\u5e0c\u671b\u80fd\u8c03\u7528\u4e00\u4e2a\u540d\u4e3a get_weather \u7684\u65b9\u6cd5\u83b7\u53d6\u5929\u6c14\u60c5\u51b5<\/code>\uff1a<\/p>\n<pre><code class=\"json\">{\n  &quot;name&quot;: &quot;get_weather&quot;,\n  &quot;description&quot;: &quot;\u83b7\u53d6\u6307\u5b9a\u5730\u533a\u7684\u5929\u6c14&quot;,\n  &quot;input_schema&quot;: {\n    &quot;type&quot;: &quot;object&quot;,\n    &quot;properties&quot;: {\n      &quot;location&quot;: {\n        &quot;type&quot;: &quot;string&quot;,\n        &quot;description&quot;: &quot;\u6307\u5b9a\u5730\u533a\uff0c\u6bd4\u5982\uff1a\u5317\u4eac\u5e02&quot;\n      },\n      &quot;unit&quot;: {\n        &quot;type&quot;: &quot;string&quot;,\n        &quot;enum&quot;: [&quot;\u6444\u6c0f\u5ea6&quot;, &quot;\u534e\u6c0f\u5ea6&quot;],\n        &quot;description&quot;: &quot;\u6e29\u5ea6\u5355\u4f4d\uff0c\u201c\u6444\u6c0f\u5ea6\u201d\u6216\u201c\u534e\u6c0f\u5ea6\u201d&quot;\n      }\n    },\n    &quot;required&quot;: [&quot;location&quot;]\n  }\n}<\/code><\/pre>\n<p>\u81f3\u4e8e<code>get_weather<\/code>\u65b9\u6cd5\u5728\u54ea\u91cc\uff0c\u5982\u4f55\u6267\u884c\u7b49<strong>\u5982\u4f55\u5b9e\u9645\u505a\u8fd9\u4ef6\u4e8b<\/strong>\uff08\u7eff\u8272\u90e8\u5206\uff09\uff0c<code>Tool use<\/code>\u89c4\u8303\u662f\u6ca1\u6709\u5b9a\u4e49\u7684\u3002<\/p>\n<p>\u8fd9\u5c31\u9020\u6210\u7eff\u8272\u90e8\u5206\u7684\u5b9e\u73b0\u5f88\u6df7\u4e71\u3002<\/p>\n<p>\u6bd4\u5982\uff0c\u6211\u4fe9\u90fd\u5b9e\u73b0\u4e86<strong>\u53ef\u4ee5\u8054\u7f51\u67e5\u8d44\u6599\u7684chatbox<\/strong>\uff0c\u4f46<strong>\u8054\u7f51\u67e5\u8d44\u6599<\/strong>\u8fd9\u4e2a\u529f\u80fd\u5374\u6ca1\u6cd5\u4e92\u76f8\u66ff\u6362\u3002<\/p>\n<p>\u56e0\u4e3a\u5728\u6211\u4fe9\u7684\u5b9e\u73b0\u4e2d\uff0c\u5165\u53c2\u3001\u8f93\u51fa\u3001\u8c03\u7528\u65b9\u5f0f\u90fd\u4e0d\u4e00\u6837\u3002<\/p>\n<p><code>MCP<\/code>\uff08<code>M<\/code>odel <code>C<\/code>ontext <code>P<\/code>rotocal\uff09\u7684\u51fa\u73b0\u5c31\u662f\u4e3a\u4e86\u89c4\u8303\u7eff\u8272\u90e8\u5206\uff0c\u4ed6\u662f\u4e00\u5957\uff1a<\/p>\n<ul>\n<li>\u5ba2\u6237\u7aef\u3001\u670d\u52a1\u5668\u67b6\u6784\u89c4\u8303<\/li>\n<li>\u6570\u636e\u4f20\u8f93\u89c4\u8303<\/li>\n<\/ul>\n<p>\u4ee5\u53ca\u89c4\u8303\u7684\u5177\u4f53\u5b9e\u73b0\u3002<\/p>\n<p>\u53ea\u8981\u9075\u5faa<code>MCP<\/code>\u89c4\u8303\uff0c\u6240\u6709\u4eba\u5b9e\u73b0\u7684<strong>\u8054\u7f51\u67e5\u8d44\u6599<\/strong>\uff08\u4ee5\u53ca\u5176\u4ed6\u4efb\u4f55\u7eff\u8272\u90e8\u5206\uff09\u90fd\u53ef\u4ee5\u4e92\u76f8\u66ff\u6362\u3002<\/p>\n<h2>\u6211\u9047\u5230\u7684\u95ee\u9898<\/h2>\n<p>\u6211\u9047\u5230\u7684\u95ee\u9898\u5f88\u7b80\u5355 \u2014\u2014 \u6211\u6309\u7167<a href=\"https:\/\/link.segmentfault.com\/?enc=j14mzqxuDwZFmrP7F0vEDw%3D%3D.bnr0IMILD8lmOzF5tkkkgMwwHHYF%2B2kWFj1bdox4kg71f0MVq1fIhOkfOAVtW5Vn\" rel=\"nofollow noopener noreferrer\" title=\"MCP\u5b98\u65b9\u6587\u6863\" target=\"_blank\">MCP\u5b98\u65b9\u6587\u6863<\/a>\u5b9e\u73b0\u7684<strong>\u67e5\u8be2\u5929\u6c14\u670d\u52a1<\/strong>\uff0c\u5728<code>Cursror<\/code>\u4e2d\u6210\u529f\u6ce8\u518c\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236188\" alt=\"\u7eff\u70b9\u4ee3\u8868\u670d\u52a1\u6210\u529f\u5728Cursor\u4e2d\u6ce8\u518c\" title=\"\u7eff\u70b9\u4ee3\u8868\u670d\u52a1\u6210\u529f\u5728Cursor\u4e2d\u6ce8\u518c\" loading=\"lazy\"><\/p>\n<p>\u4f46\u5f53\u6211\u63d0\u53ca<strong>\u5929\u6c14\u76f8\u5173\u95ee\u9898<\/strong>\u65f6\uff0c<code>Cursor<\/code>\u5374\u6ca1\u6709\u8c03\u7528<code>weather MCP<\/code>\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236189\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0b\u8ff0\u6d41\u7a0b\u7684\u67d0\u4e9b\u73af\u8282\u51fa\u9519\u4e86\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236190\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u6765\u6392\u67e5\u95ee\u9898\u539f\u56e0\u3002<\/p>\n<h2>\u7b2c\u4e00\u6b65\uff1amcp\u672c\u8eab\u6709\u95ee\u9898\u4e48\uff1f<\/h2>\n<p>\u9996\u5148\uff0c\u6211\u6000\u7591\u6211\u5199\u7684<code>mcp<\/code>\u670d\u52a1\u672c\u8eab\u6709\u95ee\u9898\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u6211\u5728<code>Cline<\/code>\uff08\u53ef\u4ee5\u7406\u89e3\u4e3a\u5f00\u6e90\u7248\u7684<code>Cursor<\/code>\uff09\u4e2d\u6ce8\u518c\u4e86<code>weather MCP<\/code>\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236191\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5f53\u6211\u95ee\uff1a\u4e0a\u6d77\u5929\u6c14\u548b\u6837\uff1f<\/p>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c<code>Cline<\/code>\u53ef\u4ee5\u6210\u529f\u8c03\u7528<code>weather MCP<\/code>\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236192\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u8fd9\u8868\u793a\uff0c<code>weather MCP<\/code>\u672c\u8eab\u6ca1\u95ee\u9898\u3002<\/p>\n<h2>\u7b2c\u4e8c\u6b65\uff1amcp\u662f\u5982\u4f55\u89e6\u53d1\u7684\uff1f<\/h2>\n<p>\u90a3\u4e48\uff0c<code>Cline<\/code>\u662f\u5982\u4f55\u89e6\u53d1<code>mcp<\/code>\u7684\u5462\uff1f<\/p>\n<p>\u7531\u4e8e\u4ed6\u662f\u5f00\u6e90\u7684\uff0c\u5f88\u5bb9\u6613\u8c03\u8bd5\u4ed6\u7684\u8fd0\u884c\u6d41\u7a0b\u3002<\/p>\n<p>\u7b80\u5355\u6765\u8bf4\uff0c\u5f53\u6211\u4eec\u5728<code>Cline<\/code>\u4e2d\u8f93\u5165\u4efb\u4f55\u5185\u5bb9\u540e\uff0c<code>Cline<\/code>\u7684\u7cfb\u7edf\u63d0\u793a\u8bcd\u5305\u62ec2\u6761\u4fe1\u606f\uff1a<\/p>\n<ul>\n<li>\u7b2c\u4e00\u6761\uff1a\u4f60\u7684\u8f93\u5165\uff08\u6bd4\u5982\uff1a\u4e0a\u6d77\u5929\u6c14\u548b\u6837\uff1f\uff09<\/li>\n<li>\u7b2c\u4e8c\u6761\uff1a\u975e\u5e38\u957f\u7684<code>Cline<\/code>\u73af\u5883\u4fe1\u606f\uff08\u6d88\u80171w+ token\uff09<\/li>\n<\/ul>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236193\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u8fd9\u6761\u73af\u5883\u4fe1\u606f\u4e3b\u8981\u5305\u62ec\uff1a<\/p>\n<ol>\n<li><strong>\u57fa\u672c\u4ecb\u7ecd<\/strong> &#8211; \u5b9a\u4e49\u52a9\u624b\u8eab\u4efd\u548c\u57fa\u672c\u884c\u4e3a<\/li>\n<li><strong>\u5de5\u5177\u4f7f\u7528<\/strong> &#8211; \u8be6\u7ec6\u8bf4\u660e\u53ef\u7528\u5de5\u5177\u53ca\u5176\u4f7f\u7528\u65b9\u6cd5<\/li>\n<li><strong>MCP \u670d\u52a1<\/strong> &#8211; \u4ecb\u7ecd MCP \u7684\u4f5c\u7528\u4ee5\u53ca\u6ce8\u518c\u7684 MCP<\/li>\n<li><strong>\u6587\u4ef6\u7f16\u8f91<\/strong> &#8211; \u8bf4\u660e\u6587\u4ef6\u7f16\u8f91\u5de5\u5177\u7684\u4f7f\u7528\u65b9\u6cd5<\/li>\n<\/ol>\n<p>\u7b4911\u4e2a\u6a21\u5757\u3002<\/p>\n<p><code>weather MCP<\/code>\u7684\u5b9a\u4e49\u51fa\u73b0\u5728<strong>MCP\u670d\u52a1<\/strong>\u90e8\u5206\uff0c\u6240\u4ee5<code>Cline<\/code>\uff08\u672c\u8d28\u662f\u80cc\u540e\u7684LLM\uff09\u77e5\u9053\u4f55\u65f6\u8be5\u8c03\u7528\u3002<\/p>\n<h2>\u7b2c\u4e09\u6b65\uff1aCursor\u662f\u600e\u4e48\u5904\u7406mcp\u7684\uff1f<\/h2>\n<p>\u6709\u4e86\u524d\u4e24\u6b65\u7684\u57fa\u7840\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5206\u6790<code>Cursor<\/code>\u7684\u6267\u884c\u6d41\u7a0b\u3002<\/p>\n<p>\u7531\u4e8e<code>Cursor<\/code>\u662f\u95ed\u6e90\u7684\uff0c\u6211\u4eec\u53ea\u80fd\u4ece\u4fa7\u9762\u83b7\u53d6\u5fc5\u8981\u4fe1\u606f\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6293\u53d6<code>Cursor Composer<\/code>\u6a21\u5f0f\u7684\u8bf7\u6c42\uff0c\u5206\u6790\u7cfb\u7edf\u63d0\u793a\u8bcd\u3002\u6574\u6bb5\u63d0\u793a\u8bcd\u4e3b\u8981\u5305\u62ec\uff1a<\/p>\n<ol>\n<li><strong>\u6838\u5fc3\u8eab\u4efd<\/strong> &#8211; \u7531 LLM \u9a71\u52a8\u7684\u4ee3\u7406\u578b AI \u7f16\u7801\u52a9\u624b\uff0c\u5728 Cursor IDE \u4e2d\u4e0e\u7528\u6237\u7ed3\u5bf9\u7f16\u7a0b\u89e3\u51b3\u5404\u7c7b\u7f16\u7801\u4efb\u52a1<\/li>\n<li><strong>\u901a\u4fe1\u89c4\u8303<\/strong> &#8211; \u4ee5\u4e13\u4e1a\u53cb\u597d\u7684 MD \u683c\u5f0f\u4e0e\u7528\u6237\u4ea4\u6d41\uff0c\u9075\u5faa\u4e25\u683c\u7684\u4fe1\u606f\u62ab\u9732\u9650\u5236<\/li>\n<li><strong>\u5de5\u5177\u8c03\u7528<\/strong> &#8211; \u6309\u89c4\u8303\u4f7f\u7528\u53ef\u7528\u5de5\u5177\uff0c\u63d0\u4f9b\u5fc5\u8981\u53c2\u6570\uff0c\u4e0d\u5411\u7528\u6237\u76f4\u63a5\u63d0\u53ca\u5de5\u5177\u540d\u79f0<\/li>\n<li><strong>\u641c\u7d22\u4e0e\u9605\u8bfb<\/strong> &#8211; \u4e3b\u52a8\u6536\u96c6\u4fe1\u606f\u89e3\u51b3\u4e0d\u786e\u5b9a\u95ee\u9898\uff0c\u5c3d\u91cf\u907f\u514d\u5411\u7528\u6237\u5bfb\u6c42\u5e2e\u52a9<\/li>\n<\/ol>\n<p>\u7b498\u4e2a\u6a21\u5757\u3002<\/p>\n<p>\u6574\u4f53token\u6d88\u8017\u53ea\u6709<code>Cline<\/code>\u7cfb\u7edf\u63d0\u793a\u8bcd\u7684 1\/10 \u4e0d\u5230\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236194\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u867d\u7136\u6ca1\u6709\u660e\u786e\u6307\u660e<code>MCP<\/code>\u76f8\u5173\u5185\u5bb9\uff0c\u4f46\u662f\u63d0\u5230\u4e86<strong>\u5de5\u5177\u8c03\u7528<\/strong>\u7684\u89c4\u8303\u3002<\/p>\n<p>\u9075\u5faa\u8be5\u89c4\u8303\u7ee7\u7eed\u67e5\u627e\uff0c\u5728\u63a5\u53e3\u7684<code>tools<\/code>\uff08\u4e5f\u5c31\u662f\u524d\u9762\u4ecb\u7ecd\u7684<code>Tool use<\/code>\uff09\u5b57\u6bb5\u4e2d\uff0c<code>Cursor<\/code>\u5b9a\u4e49\u4e86\u4e0d\u5c11\u5de5\u5177\uff0c\u6bd4\u5982\uff1a<\/p>\n<ul>\n<li>codebase_search: \u5728\u4ee3\u7801\u5e93\u4e2d\u67e5\u627e\u4e0e\u67e5\u8be2\u8bed\u4e49\u76f8\u5173\u7684\u4ee3\u7801\u7247\u6bb5<\/li>\n<li>read_file: \u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u4e0e\u6982\u8981\uff0c\u53ef\u6307\u5b9a\u884c\u8303\u56f4\u6216\u8bfb\u53d6\u6574\u4e2a\u6587\u4ef6<\/li>\n<li>run_terminal_cmd: \u5728\u7528\u6237\u7cfb\u7edf\u4e0a\u63d0\u8bae\u6216\u6267\u884c\u7ec8\u7aef\u547d\u4ee4<\/li>\n<li>list_dir: \u5217\u51fa\u76ee\u5f55\u5185\u5bb9\uff0c\u7528\u4e8e\u521d\u6b65\u4e86\u89e3\u6587\u4ef6\u7ed3\u6784<\/li>\n<li>grep_search: \u57fa\u4e8e\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u6587\u672c\u641c\u7d22\uff0c\u7528\u4e8e\u7cbe\u786e\u67e5\u627e\u5b57\u7b26\u4e32\u6a21\u5f0f<\/li>\n<li>edit_file: \u63d0\u8bae\u5bf9\u73b0\u6709\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91\uff0c\u7531\u66f4\u7b80\u5355\u7684\u6a21\u578b\u5e94\u7528\u8fd9\u4e9b\u7f16\u8f91<\/li>\n<li>file_search: \u57fa\u4e8e\u6a21\u7cca\u5339\u914d\u7684\u5feb\u901f\u6587\u4ef6\u8def\u5f84\u641c\u7d22<\/li>\n<li>delete_file: \u5220\u9664\u6307\u5b9a\u8def\u5f84\u7684\u6587\u4ef6<\/li>\n<li>reapply: \u5f53\u7f16\u8f91\u7ed3\u679c\u4e0d\u7b26\u5408\u9884\u671f\u65f6\uff0c\u8c03\u7528\u66f4\u667a\u80fd\u7684\u6a21\u578b\u91cd\u65b0\u5e94\u7528\u4e0a\u6b21\u7f16\u8f91<\/li>\n<li>diff_history: \u83b7\u53d6\u6700\u8fd1\u6587\u4ef6\u53d8\u66f4\u5386\u53f2\uff0c\u4e86\u89e3\u4fee\u6539\u5185\u5bb9<\/li>\n<\/ul>\n<p><code>Cursor Composer Agent<\/code>\u4e4b\u6240\u4ee5\u80fd\u5f00\u53d1\u9879\u76ee\uff0c\u5e95\u5c42\u4f9d\u8d56\u7684\u5c31\u662f\u8fd9\u4e9b\u5de5\u5177\u3002<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\uff0c\u6240\u6709\u5728<code>Cursor<\/code>\u4e2d\u6ce8\u518c\u7684<code>MCP<\/code>\u4e5f\u4f1a\u4f5c\u4e3a<code>tool<\/code>\u51fa\u73b0\u5728\u8fd9\u91cc\u3002<\/p>\n<p>\u6bd4\u5982\uff0c\u4ece\u4e0b\u56fe\u53ef\u77e5\uff0c\u9664<code>weather MCP<\/code>\u5916\uff0c\u6211\u8fd8\u6ce8\u518c\u4e86\u4e00\u4e2a<code>Sequential Thinking MCP<\/code>\uff08\u901a\u8fc7\u591a\u6b65\u601d\u8003\u8fc7\u7a0b\u8fdb\u884c\u52a8\u6001\u95ee\u9898\u5206\u6790\u548c\u89e3\u51b3\u7684\u5de5\u5177\uff09\uff1a<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000046236195\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u5728<code>Cursor<\/code>\u53d1\u51fa\u7684LLM\u8bf7\u6c42\u4e2d\uff0c<code>tools<\/code>\u5b57\u6bb5\u4e0b\u6709\u540d\u4e3a<code>mcp__sequentialthinking<\/code>\u7684\u5de5\u5177\uff1a<\/p>\n<pre><code class=\"json\">{\n  &quot;function&quot;: {\n    &quot;description&quot;: &quot;A detailed tool for dynamic and reflective problem-solving through thoughts ...\u7701\u7565&quot;,\n    &quot;name&quot;: &quot;mcp__sequentialthinking&quot;,\n    &quot;parameters&quot;: {\n      &quot;properties&quot;: {\n        &quot;branchFromThought&quot;: {\n          &quot;description&quot;: &quot;Branching point thought number&quot;,\n          &quot;minimum&quot;: 1,\n          &quot;type&quot;: &quot;integer&quot;\n        },\n        &quot;branchId&quot;: {\n          &quot;description&quot;: &quot;Branch identifier&quot;,\n          &quot;type&quot;: &quot;string&quot;\n        }\n        \/\/ ...\u7701\u7565\n      },\n      &quot;required&quot;: [\n        &quot;thought&quot;,\n        &quot;nextThoughtNeeded&quot;,\n        &quot;thoughtNumber&quot;,\n        &quot;totalThoughts&quot;\n      ],\n      &quot;type&quot;: &quot;object&quot;\n    }\n  },\n  &quot;type&quot;: &quot;function&quot;\n}<\/code><\/pre>\n<p>\u4ece\u8fd9\u91cc\u5c31\u80fd\u53d1\u73b0\u95ee\u9898 \u2014\u2014 <code>weather<\/code>\u4e0e<code>Sequential Thinking<\/code>\u90fd\u6210\u529f\u6ce8\u518c\uff0c\u4f46\u8bf7\u6c42\u4e2d\u5e76\u6ca1\u6709\u5e26\u4e0a<code>weather<\/code>\u76f8\u5173<code>Tool use<\/code>\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48<code>Cursor<\/code>\u6709\u65f6\u4e0d\u80fd\u6210\u529f\u8c03\u7528<code>mcp<\/code> \u2014\u2014 \u4ed6\u6ca1\u6709\u5c06\u8be5<code>mcp<\/code>\u4f5c\u4e3a<code>Tool use<\/code>\u52a0\u5165\u8bf7\u6c42\u4e2d\uff0cLLM\u81ea\u7136\u4e0d\u77e5\u9053\u6709\u8fd9\u4e48\u4e2a<code>mcp<\/code>\u53ef\u4ee5\u8c03\u7528\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u5f53\u524d<code>Cursor<\/code>\u5728<code>MCP<\/code>\u670d\u52a1\u7684\u6ce8\u518c\u4e0a\u5b58\u5728bug\uff0c\u5bfc\u81f4\u4e00\u4e9b\u6ce8\u518c\u6210\u529f\u7684<code>MCP<\/code>\u670d\u52a1\u4e0d\u4f1a\u5728\u8bf7\u6c42LLM\u65f6\u4f5c\u4e3a<code>Tool use<\/code>\u88ab\u5e26\u4e0a\u3002<\/p>\n<p>\u8fd9\u662f<code>Cursor<\/code>\u4e0d\u80fd\u6210\u529f\u8c03\u7528<code>MCP<\/code>\u7684\u539f\u56e0\u3002<\/p>\n<blockquote><p>PS\uff1a\u5982\u679c\u5bf9<code>Cursor<\/code>\u7cfb\u7edf\u63d0\u793a\u8bcd\u611f\u5174\u8da3\uff0c\u53ef\u4ee5\u7ed9\u8fd9\u7bc7\u6587\u7ae0\u70b9\u8d5e\u3002\u8d5e\u591a\u7684\u8bdd\u6211\u518d\u51fa\u7bc7\u6587\u7ae0\u89e3\u6790<code>Cursor<\/code>\u5404\u7c7b\uff08Chat\u3001Composer\uff09\u7cfb\u7edf\u63d0\u793a\u8bcd<\/p><\/blockquote>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000046236185\">https:\/\/segmentfault.com\/a\/1190000046236185<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u5361\u9882\uff0c\u4e13\u6ce8\u4e8eAI\u52a9\u529b\u7a0b\u5e8f\u5458\u8f6c\u578b\uff08\u9605\u8bfb\u6211\u7684\u66f4\u591a\u601d\u8003\uff09 \u76f8\u4fe1\u5f88\u591a\u540c\u5b66\u65e5\u5e38\u7f16\u7801\u5df2\u7ecf\u7528\u4e0a\u4e86Cursor\u3002 \u6700 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020670","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020670"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020670\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}