{"id":8396,"date":"2025-04-18T16:35:32","date_gmt":"2025-04-18T08:35:32","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/8396.html"},"modified":"2025-04-18T16:35:32","modified_gmt":"2025-04-18T08:35:32","slug":"%e4%bd%bf%e7%94%a8mcp%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%9e%e7%8e%b0ai%e4%bb%bb%e5%8a%a1%e5%ae%8c%e6%88%90%e9%80%9a%e7%9f%a5%ef%bc%9a%e8%ae%a9cursor%e6%9b%b4%e6%99%ba%e8%83%bd","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/8396.html","title":{"rendered":"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd"},"content":{"rendered":"<h3>0. \u7b80\u4ecb<\/h3>\n<p>\u5728\u4f7f\u7528AI\u5de5\u5177\u8fdb\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u65f6&#xff0c;\u5e38\u5e38\u9700\u8981\u7b49\u5f85\u7ed3\u679c\u3002MCP&#xff08;Model Context Protocol&#xff09;\u670d\u52a1\u5668&#034;mcp_server_notify&#034;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f18\u96c5\u7684\u89e3\u51b3\u65b9\u6848&#xff0c;\u8ba9AI\u5728\u5b8c\u6210\u4efb\u52a1\u540e\u901a\u8fc7\u7cfb\u7edf\u901a\u77e5\u63d0\u9192\u4f60\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Cursor\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e2a\u5b9e\u7528\u5de5\u5177\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed209b77.png\" alt=\"06f01cdd4d164b868acac5c3052b751b.png\" \/><\/p>\n<h3>1. MCP\u670d\u52a1\u5668&#xff1a;mcp_server_notify\u4ecb\u7ecd<\/h3>\n<p>mcp_server_notify\u662f\u4e00\u4e2a\u57fa\u4e8eModel Context Protocol (MCP)\u7684\u670d\u52a1&#xff0c;\u4e13\u4e3aLLM&#xff08;\u5927\u8bed\u8a00\u6a21\u578b&#xff09;\u63d0\u4f9b\u7cfb\u7edf\u901a\u77e5\u529f\u80fd\u3002\u5f53AI\u5b8c\u6210\u4efb\u52a1\u65f6&#xff0c;\u5b83\u80fd\u591f\u53d1\u9001\u684c\u9762\u901a\u77e5\u5e76\u64ad\u653e\u63d0\u793a\u97f3&#xff0c;\u8ba9\u4f60\u4e0d\u5fc5\u4e00\u76f4\u76ef\u7740\u5c4f\u5e55\u7b49\u5f85\u3002<\/p>\n<h4>1.1 \u4e3b\u8981\u7279\u70b9<\/h4>\n<ul>\n<li>\u5b9e\u65f6\u901a\u77e5&#xff1a;\u5728Agent\u4efb\u52a1\u5b8c\u6210\u540e\u7acb\u5373\u53d1\u9001\u7cfb\u7edf\u684c\u9762\u901a\u77e5<\/li>\n<li>\u591a\u611f\u5b98\u63d0\u9192&#xff1a;\u901a\u8fc7\u89c6\u89c9&#xff08;\u684c\u9762\u901a\u77e5&#xff09;\u548c\u542c\u89c9&#xff08;\u63d0\u793a\u97f3&#xff09;\u53cc\u91cd\u63d0\u9192<\/li>\n<li>\u8de8\u5e73\u53f0\u652f\u6301&#xff1a;\u517c\u5bb9Windows, macOS, Linux\u7b49\u4e3b\u6d41\u64cd\u4f5c\u7cfb\u7edf<\/li>\n<li>\u6807\u51c6\u534f\u8bae&#xff1a;\u57fa\u4e8e\u6807\u51c6MCP\u534f\u8bae&#xff0c;\u53ef\u4e0e\u591a\u79cdLLM\u5ba2\u6237\u7aef\u96c6\u6210&#xff0c;\u5305\u62ecCursor<\/li>\n<li>\u4f4e\u8d44\u6e90\u5360\u7528&#xff1a;\u8f7b\u91cf\u7ea7\u8bbe\u8ba1&#xff0c;\u4e0d\u4f1a\u663e\u8457\u5f71\u54cd\u7cfb\u7edf\u6027\u80fd<\/li>\n<li>\u81ea\u5b9a\u4e49\u9009\u9879&#xff1a;\u53ef\u914d\u7f6e\u901a\u77e5\u6837\u5f0f\u3001\u58f0\u97f3\u7b49\u53c2\u6570<\/li>\n<\/ul>\n<h4>1.2 \u5de5\u4f5c\u539f\u7406<\/h4>\n<p>mcp_server_notify\u901a\u8fc7MCP\u534f\u8bae\u4e0eAI\u5ba2\u6237\u7aef&#xff08;\u5982Cursor&#xff09;\u5efa\u7acb\u901a\u4fe1\u3002\u5f53AI\u6a21\u578b\u63a5\u6536\u5230\u7279\u5b9a\u63d0\u793a\u8bcd&#xff08;\u5982&#034;send me a notification when task finished&#034;&#xff09;\u65f6&#xff0c;\u4f1a\u89e6\u53d1\u901a\u77e5\u670d\u52a1\u5411\u64cd\u4f5c\u7cfb\u7edf\u53d1\u9001\u901a\u77e5\u8bf7\u6c42\u3002<\/p>\n<p>MCP\u534f\u8bae\u5141\u8bb8LLM\u5e94\u7528\u4e0e\u5916\u90e8\u5de5\u5177\u8fdb\u884c\u6807\u51c6\u5316\u901a\u4fe1&#xff0c;\u8fd9\u4f7f\u5f97AI\u80fd\u591f\u8d85\u8d8a\u7eaf\u6587\u672c\u4ea4\u4e92\u7684\u9650\u5236&#xff0c;\u5b9e\u73b0\u66f4\u591a\u5b9e\u7528\u529f\u80fd\u3002<\/p>\n<h4>1.3 \u5b89\u88c5mcp_server_notify<\/h4>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u975e\u5e38\u7b80\u5355&#xff0c;\u63a8\u8350\u4f7f\u7528uv\u5305\u7ba1\u7406\u5668&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/Cactusinhand\/mcp_server_notify.git<br \/>\n<span class=\"token builtin class-name\">cd<\/span> mcp_server_notify<\/p>\n<p><span class=\"token comment\"># curl -LsSf https:\/\/astral.sh\/uv\/install.sh | sh # \u6ca1\u5b89\u88c5uv\u9700\u8981\u8fd9\u4e48\u64cd\u4f5c<\/span><br \/>\nuv venv<br \/>\n<span class=\"token builtin class-name\">source<\/span> .venv\/bin\/activate  <span class=\"token comment\"># Windows\u4e0a\u4f7f\u7528 .venv\\\\Scripts\\\\activate<\/span><\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5\u5230\u672c\u5730<\/span><br \/>\nuv pip <span class=\"token function\">install<\/span> mcp-server-notify <span class=\"token builtin class-name\">.<\/span><br \/>\n<span class=\"token comment\"># \u6216\u8005\u4f7f\u7528pip<\/span><br \/>\n<span class=\"token comment\"># pip install mcp-server-notify .<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed268d82.png\" alt=\"d745dccd6a9e4c5e8522e8ab71d1461b.png\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f&#xff1a;<\/p>\n<p>python -m mcp_server_notify<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed29bffa.png\" alt=\"ab4c4b95d14a48ed9a5584136306f15a.png\" \/><\/p>\n<p>\u51fa\u73b0\u4e0a\u56fe\u6240\u793a\u8f93\u51fa\u8868\u660e\u670d\u52a1\u5df2\u6210\u529f\u542f\u52a8&#xff0c;\u5e76\u5728\u7b49\u5f85\u6765\u81eaMCP\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u3002<\/p>\n<h3>2. \u5728Cursor\u4e2d\u914d\u7f6emcp_server_notify<\/h3>\n<p>Cursor\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684AI\u8f85\u52a9\u7f16\u7a0b\u5de5\u5177&#xff0c;\u5185\u7f6e\u4e86MCP\u5ba2\u6237\u7aef\u652f\u6301&#xff0c;\u53ef\u4ee5\u8f7b\u677e\u96c6\u6210\u5916\u90e8MCP\u670d\u52a1\u3002<\/p>\n<h4>2.1 \u914d\u7f6e\u6587\u4ef6\u65b9\u5f0f<\/h4>\n<h5>2.1.1 \u627e\u5230\u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>Cursor\u7684MCP\u914d\u7f6e\u6587\u4ef6\u901a\u5e38\u4f4d\u4e8e\u4ee5\u4e0b\u4f4d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u5168\u5c40\u914d\u7f6e&#xff1a;~\/.cursor\/mcp.json<\/li>\n<li>\u9879\u76ee\u914d\u7f6e&#xff1a;\u9879\u76ee\u6839\u76ee\u5f55\/.cursor\/mcp.json<\/li>\n<\/ul>\n<p>\u5982\u679c\u8fd9\u4e9b\u6587\u4ef6\u4e0d\u5b58\u5728&#xff0c;\u53ef\u4ee5\u624b\u52a8\u521b\u5efa\u3002<\/p>\n<h5>2.1.2 \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>\u6253\u5f00\u914d\u7f6e\u6587\u4ef6&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string\">&#034;NotificationServer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;uv&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n              <span class=\"token string\">&#034;&#8211;directory&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;path\/to\/your\/mcp_server_notify project&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;run&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;mcp-server-notify&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u8bf7\u5c06path\/to\/your\/mcp_server_notify project\u66ff\u6362\u4e3a\u4f60\u5b9e\u9645\u7684\u9879\u76ee\u8def\u5f84\u3002<\/p>\n<p>\u5982\u679c\u4f60\u5c06mcp_server_notify\u5b89\u88c5\u5230\u4e86\u5168\u5c40\u73af\u5883&#xff0c;\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7b80\u5316\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string\">&#034;NotificationServer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;python&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n              <span class=\"token string\">&#034;-m&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;mcp_server_notify&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<h5>2.1.3 \u9ad8\u7ea7\u914d\u7f6e\u9009\u9879<\/h5>\n<p>\u4f60\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u66f4\u591a\u53c2\u6570\u6765\u81ea\u5b9a\u4e49\u901a\u77e5\u884c\u4e3a&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string\">&#034;NotificationServer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n            <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;python&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n              <span class=\"token string\">&#034;-m&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;mcp_server_notify&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;&#8211;title&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;AI\u4efb\u52a1\u5b8c\u6210&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;&#8211;sound&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;path\/to\/custom\/sound.wav&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n              <span class=\"token string\">&#034;&#8211;timeout&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;10000&#034;<\/span><br \/>\n            <span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u5e38\u7528\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>&#8211;title&#xff1a;\u901a\u77e5\u6807\u9898<\/li>\n<li>&#8211;sound&#xff1a;\u81ea\u5b9a\u4e49\u63d0\u793a\u97f3\u6587\u4ef6\u8def\u5f84<\/li>\n<li>&#8211;timeout&#xff1a;\u901a\u77e5\u663e\u793a\u65f6\u95f4&#xff08;\u6beb\u79d2&#xff09;<\/li>\n<li>&#8211;no-sound&#xff1a;\u7981\u7528\u58f0\u97f3\u63d0\u793a<\/li>\n<\/ul>\n<h4>2.2 UI\u8bbe\u7f6e\u65b9\u5f0f<\/h4>\n<p>\u5982\u679c\u4f60\u4e0d\u60f3\u76f4\u63a5\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6&#xff0c;Cursor\u4e5f\u63d0\u4f9b\u4e86\u53cb\u597d\u7684UI\u754c\u9762\u6765\u914d\u7f6eMCP\u670d\u52a1&#xff1a;<\/p>\n<li>\u6253\u5f00Cursor&#xff0c;\u70b9\u51fb\u53f3\u4e0b\u89d2\u7684\u8bbe\u7f6e\u56fe\u6807\u6216\u4f7f\u7528\u5feb\u6377\u952e(Ctrl&#043;,)&#xff1a;<\/li>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed2b4414.png\" alt=\"561926161e1b4fc18eaf27db442b17eb.png\" \/><\/p>\n<li>\n<p>\u5728\u8bbe\u7f6e\u754c\u9762&#xff0c;\u627e\u5230&#034;MCP Servers&#034;\u90e8\u5206&#xff0c;\u70b9\u51fb&#034;&#043; Add new MCP server&#034;&#xff1a;<\/p>\n<\/li>\n<li>\n<p>\u5728\u547d\u4ee4\u884c\u8f93\u5165\u6846\u4e2d\u586b\u5199\u542f\u52a8\u547d\u4ee4&#xff1a;<\/p>\n<\/li>\n<p>uv  &#8211;directory \/Users\/pony\/mcp_server_notify  run mcp-server-notify<\/p>\n<p>\u786e\u4fdd\u5c06\u8def\u5f84\u66ff\u6362\u4e3a\u4f60\u7684\u5b9e\u9645\u5b89\u88c5\u8def\u5f84\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083531-68020ed364059.png\" alt=\"bf447a64164343b59f13446a84cfc065.png\" \/><\/p>\n<li>\u70b9\u51fb&#034;Add&#034;\u4fdd\u5b58\u914d\u7f6e\u3002<\/li>\n<h4>2.3 \u9a8c\u8bc1\u914d\u7f6e<\/h4>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u91cd\u542fCursor\u4ee5\u786e\u4fdd\u8bbe\u7f6e\u751f\u6548\u3002\u4f60\u53ef\u4ee5\u5728Cursor\u7684\u65e5\u5fd7\u4e2d\u67e5\u770bMCP\u670d\u52a1\u662f\u5426\u6210\u529f\u8fde\u63a5\u3002\u5982\u679c\u65e5\u5fd7\u4e2d\u663e\u793a\u7c7b\u4f3c&#034;Connected to MCP server: NotificationServer&#034;\u7684\u4fe1\u606f&#xff0c;\u5219\u8868\u660e\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<h3>3. \u4f7f\u7528\u65b9\u6cd5<\/h3>\n<h4>3.1 \u57fa\u672c\u4f7f\u7528<\/h4>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u4f7f\u7528\u975e\u5e38\u7b80\u5355\u3002\u5728\u7ed9AI\u8f93\u5165\u4efb\u52a1\u7684\u6700\u540e&#xff0c;\u53ea\u9700\u6dfb\u52a0\u7c7b\u4f3c\u8fd9\u6837\u7684\u63d0\u793a&#xff1a;<\/p>\n<p>finally, send me a notification when task finished.<\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u7c7b\u4f3c\u8868\u8fbe&#xff1a;<\/p>\n<ul>\n<li>\u201cnotify me when you\u2019re done\u201d<\/li>\n<li>\u201calert me upon completion\u201d<\/li>\n<li>\u201csend a desktop notification when finished\u201d<\/li>\n<\/ul>\n<p>AI\u4f1a\u7406\u89e3\u8fd9\u4e9b\u6307\u4ee4&#xff0c;\u5e76\u5728\u4efb\u52a1\u5b8c\u6210\u65f6\u89e6\u53d1\u684c\u9762\u901a\u77e5\u3002<\/p>\n<h4>3.2 \u5728Cursor\u4e2d\u8bbe\u7f6e\u81ea\u52a8\u63d0\u793a<\/h4>\n<h3>\u2026\u8be6\u60c5\u8bf7\u53c2\u7167\u53e4\u6708\u5c45<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.5k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u5728\u4f7f\u7528AI\u5de5\u5177\u8fdb\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u65f6\uff0c\u5e38\u5e38\u9700\u8981\u7b49\u5f85\u7ed3\u679c\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668&quot;mcp_server_notify&quot;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f18\u96c5\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8ba9AI\u5728\u5b8c\u6210\u4efb\u52a1\u540e\u901a\u8fc7\u7cfb\u7edf\u901a\u77e5\u63d0\u9192\u4f60\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Cursor\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e2a\u5b9e\u7528\u5de5\u5177\u3002mcp_server_notify\u662f\u4e00\u4e2a\u57fa\u4e8eModel Context Protocol (MCP)\u7684\u670d\u52a1\uff0c\u4e13\u4e3aLLM\uff08\u5927\u8bed\u8a00\u6a21\u578b\uff09\u63d0\u4f9b\u7cfb\u7edf\u901a\u77e5\u529f\u80fd\u3002\u5f53AI\u5b8c\u6210\u4efb\u52a1\u65f6\uff0c\u5b83\u80fd\u591f\u53d1\u9001\u684c\u9762\u901a\u77e5\u5e76\u64ad\u653e\u63d0\u793a\u97f3\uff0c\u8ba9\u4f60\u4e0d\u5fc5\u4e00\u76f4\u76ef\u7740\u5c4f\u5e55\u7b49\u5f85\u3002_cursor \u4f7f\u7528mcp\u670d\u52a1<\/p>\n","protected":false},"author":2,"featured_media":8391,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,132,43,44],"topic":[],"class_list":["post-8396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-50","tag-132","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/8396.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.5k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u5728\u4f7f\u7528AI\u5de5\u5177\u8fdb\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u65f6\uff0c\u5e38\u5e38\u9700\u8981\u7b49\u5f85\u7ed3\u679c\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668&quot;mcp_server_notify&quot;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f18\u96c5\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8ba9AI\u5728\u5b8c\u6210\u4efb\u52a1\u540e\u901a\u8fc7\u7cfb\u7edf\u901a\u77e5\u63d0\u9192\u4f60\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Cursor\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e2a\u5b9e\u7528\u5de5\u5177\u3002mcp_server_notify\u662f\u4e00\u4e2a\u57fa\u4e8eModel Context Protocol (MCP)\u7684\u670d\u52a1\uff0c\u4e13\u4e3aLLM\uff08\u5927\u8bed\u8a00\u6a21\u578b\uff09\u63d0\u4f9b\u7cfb\u7edf\u901a\u77e5\u529f\u80fd\u3002\u5f53AI\u5b8c\u6210\u4efb\u52a1\u65f6\uff0c\u5b83\u80fd\u591f\u53d1\u9001\u684c\u9762\u901a\u77e5\u5e76\u64ad\u653e\u63d0\u793a\u97f3\uff0c\u8ba9\u4f60\u4e0d\u5fc5\u4e00\u76f4\u76ef\u7740\u5c4f\u5e55\u7b49\u5f85\u3002_cursor \u4f7f\u7528mcp\u670d\u52a1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/8396.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T08:35:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed209b77.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/8396.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/8396.html\",\"name\":\"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T08:35:32+00:00\",\"dateModified\":\"2025-04-18T08:35:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/8396.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/8396.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/8396.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/8396.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3.5k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u5728\u4f7f\u7528AI\u5de5\u5177\u8fdb\u884c\u957f\u65f6\u95f4\u4efb\u52a1\u65f6\uff0c\u5e38\u5e38\u9700\u8981\u7b49\u5f85\u7ed3\u679c\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668&quot;mcp_server_notify&quot;\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f18\u96c5\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u8ba9AI\u5728\u5b8c\u6210\u4efb\u52a1\u540e\u901a\u8fc7\u7cfb\u7edf\u901a\u77e5\u63d0\u9192\u4f60\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Cursor\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528\u8fd9\u4e2a\u5b9e\u7528\u5de5\u5177\u3002mcp_server_notify\u662f\u4e00\u4e2a\u57fa\u4e8eModel Context Protocol (MCP)\u7684\u670d\u52a1\uff0c\u4e13\u4e3aLLM\uff08\u5927\u8bed\u8a00\u6a21\u578b\uff09\u63d0\u4f9b\u7cfb\u7edf\u901a\u77e5\u529f\u80fd\u3002\u5f53AI\u5b8c\u6210\u4efb\u52a1\u65f6\uff0c\u5b83\u80fd\u591f\u53d1\u9001\u684c\u9762\u901a\u77e5\u5e76\u64ad\u653e\u63d0\u793a\u97f3\uff0c\u8ba9\u4f60\u4e0d\u5fc5\u4e00\u76f4\u76ef\u7740\u5c4f\u5e55\u7b49\u5f85\u3002_cursor \u4f7f\u7528mcp\u670d\u52a1","og_url":"https:\/\/www.wsisp.com\/helps\/8396.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T08:35:32+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418083530-68020ed209b77.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/8396.html","url":"https:\/\/www.wsisp.com\/helps\/8396.html","name":"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T08:35:32+00:00","dateModified":"2025-04-18T08:35:32+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/8396.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/8396.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/8396.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528MCP\u670d\u52a1\u5668\u5b9e\u73b0AI\u4efb\u52a1\u5b8c\u6210\u901a\u77e5\uff1a\u8ba9Cursor\u66f4\u667a\u80fd"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/8396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=8396"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/8396\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/8391"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=8396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=8396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=8396"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=8396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}