{"id":124149,"date":"2026-11-18T16:32:35","date_gmt":"2026-11-18T08:32:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/124149.html"},"modified":"2026-11-18T16:32:35","modified_gmt":"2026-11-18T08:32:35","slug":"mcp%e5%ae%9e%e6%88%98%e6%89%8b%e8%ae%b0%ef%bc%88%e5%8d%81%e4%ba%94%ef%bc%89%ef%bc%9amcp-apps%e6%b7%b1%e5%ba%a6%ef%bc%8c%e7%95%8c%e9%9d%a2%e8%83%bd%e7%82%b9%e4%b9%8b%e5%90%8e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/124149.html","title":{"rendered":"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118083232-6afd62a026ad6.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6280\u672f\u57fa\u7ebf&#xff1a;Spring Boot 4.0.0&#043;Java 21&#043;Spring AI 2.0.1&#xff0c;\u65e0\u72b6\u6001\/mcp&#xff1b;\u89c4\u8303\u57fa\u7ebfSEP-1865&#xff08;specification\/2026-01-26\/apps.mdx&#xff09; \u5b9e\u6d4b\u73af\u5883&#xff1a;\u672c\u673aWindows 11&#043;JDK 21.0.11&#043;Maven 3.9.15&#xff0c;\u6a21\u575715-mcp-apps-deep&#xff08;\u7aef\u53e318095&#xff0c;tagv15\u53d1\u5e03\u524d\u6253&#xff09;<\/p>\n<hr \/>\n<h3>\u5f15\u5b50&#xff1a;\u754c\u9762\u80fd\u70b9\u4e4b\u540e&#xff0c;\u9ebb\u70e6\u624d\u5f00\u59cb<\/h3>\n<p>\u7cfb\u5217&#xff08;\u4e94&#xff09;\u628a\u754c\u9762\u6302\u4e0a\u53bb\u4e86&#xff1a;\u5de5\u5177\u5143\u6570\u636e\u91cc\u5e26_meta.ui.resourceUri&#xff0c;\u5bbf\u4e3b\u53d6ui:\/\/\u8d44\u6e90\u6e32\u67d3\u6210\u4e00\u5757\u5361\u7247\u3002\u5230\u90a3\u4e00\u6b65\u4e3a\u6b62&#xff0c;\u754c\u9762\u53ea\u662f&#034;\u770b&#034;\u3002<\/p>\n<p>\u771f\u8ba9\u5b83\u80fd\u70b9&#xff0c;\u4f1a\u7acb\u523b\u5192\u51fa\u4e09\u4e2a\u5165\u95e8\u7bc7\u6ca1\u78b0\u5230\u7684\u95ee\u9898&#xff1a;\u8868\u683c\u7684\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u5206\u9875\u8c01\u7b97&#xff1b;\u754c\u9762\u4e0a\u770b\u5230\u7684\u6570\u636e\u548c\u670d\u52a1\u7aef\u5bf9\u4e0d\u4e0a\u600e\u4e48\u529e&#xff1b;\u754c\u9762\u6536\u5230\u7684\u6d88\u606f\u662f\u4e0d\u662f\u771f\u6765\u81ea\u5bbf\u4e3b\u3002\u8fd9\u7bc7\u628a\u4e09\u4ef6\u4e8b\u505a\u8fdb\u4e00\u5f20\u95e8\u5e97\u5e93\u5b58\u8868&#xff0c;\u5168\u90e8\u672c\u673a\u8dd1\u901a&#xff0c;\u8d34\u539f\u59cb\u8f93\u51fa\u3002<\/p>\n<h3>\u4e00\u3001\u5148\u628a\u89c4\u8303\u53e3\u5f84\u5bf9\u9f50<\/h3>\n<p>SEP-1865\u7684\u6587\u672c\u57282026-01-26\u7248apps.mdx&#xff1b;2026-07-28\u7b2c\u4e94\u7248\u89c4\u8303\u628a\u6269\u5c55\u6846\u67b6\u89e3\u8026&#xff0c;Apps\u548cTasks\u5404\u81ea\u72ec\u7acb\u6f14\u8fdb&#xff0c;Apps\u6210\u4e86\u72ec\u7acb\u6b63\u5f0f\u6269\u5c55\u3002\u672c\u7bc7\u6309\u89e3\u8026\u540e\u7684\u53e3\u5f84\u5199&#xff0c;\u4e0d\u6cbf\u7528\u53d1\u5e03\u524d\u7684SEP\u8349\u7a3f\u5f62\u6001&#xff0c;\u957f\u6d41\u7a0b\u4efb\u52a1\u4e5f\u4e0d\u5728\u8303\u56f4\u3002\u57fa\u7840\u6982\u5ff5&#xff08;_meta.ui.resourceUri\u3001\u6c99\u7bb1iframe\u3001postMessage&#xff09;\u5728\u7cfb\u5217&#xff08;\u4e94&#xff09;\u548cMCP Live\u89e3\u8bfb\u7a3f&#xff08;\u672a\u53d1\u5e03&#xff09;\u91cc\u8bb2\u8fc7&#xff0c;\u4e00\u53e5\u5e26\u8fc7\u3002<\/p>\n<p>\u751f\u547d\u5468\u671f\u987a\u5e8f\u662fresources\/list\u2192\u5bbf\u4e3b\u53d6resources\/read\u2192ui\/initialize\u2192initialized\u2192\u4ea4\u4e92&#xff08;\u5de5\u5177\u7ed3\u679c\u4e0b\u53d1\u4e0etools\/call&#xff09;\u3002\u63e1\u624b\u6d88\u606f\u540d\u662f\u672c\u7bc7\u754c\u9762\u4e0e\u6700\u5c0f\u5bbf\u4e3b\u6a21\u62df\u5668\u4e4b\u95f4\u7684\u7ea6\u5b9a&#xff0c;\u4e0d\u540c\u5bbf\u4e3b\u5b9e\u73b0\u53ef\u80fd\u4e0d\u540c&#xff0c;\u843d\u5730\u4ee5\u6240\u7528\u5bbf\u4e3b\u4e3a\u51c6\u3002<\/p>\n<h3>\u4e8c\u3001\u754c\u9762\u80fd\u5e72\u6d3b&#xff0c;\u591a\u51fa\u6765\u4e09\u4ef6\u4e8b<\/h3>\n<p>\u6837\u4f8b\u662f8\u6761\u95e8\u5e97\u5e93\u5b58&#xff0c;\u754c\u9762\u652f\u6301\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u7ffb\u9875\u3001\u52fe\u9009\u6279\u91cf\u8865\u8d27\u3002<\/p>\n<table>\n<tr>\u591a\u51fa\u6765\u7684\u4e8b\u505a\u6cd5\u4e3a\u4ec0\u4e48<\/tr>\n<tbody>\n<tr>\n<td>\u53c2\u6570\u4e0b\u63a8<\/td>\n<td>\u754c\u9762\u628akeyword\/sortBy\/page\u53d1\u7ed9\u5de5\u5177&#xff0c;\u670d\u52a1\u7aef\u7b97\u5b8c\u56destructuredContent<\/td>\n<td>\u754c\u9762\u4e0d\u6512\u5168\u91cf\u6570\u636e&#xff0c;\u7ffb\u9875\u4e0d\u4f1a\u8bfb\u5230\u810f\u7f13\u5b58<\/td>\n<\/tr>\n<tr>\n<td>\u72b6\u6001\u540c\u6b65<\/td>\n<td>\u6bcf\u6b21\u67e5\u8be2\u56derevision&#xff0c;\u5199\u64cd\u4f5c\u5e26expectedRevision&#043;idempotencyKey<\/td>\n<td>\u65e7\u6570\u636e\u63d0\u4ea4\u8981\u88ab\u62d2&#xff0c;\u91cd\u590d\u70b9\u51fb\u4e0d\u80fd\u8865\u4e24\u6b21\u8d27<\/td>\n<\/tr>\n<tr>\n<td>\u6765\u6e90\u6821\u9a8c<\/td>\n<td>\u63e1\u624b\u65f6\u8bb0\u4e0bhostOrigin&#xff0c;\u4e4b\u540e\u6309e.origin\u8fc7\u6ee4<\/td>\n<td>iframe\u91cc\u6d88\u606f\u4e0d\u8ba4\u6765\u6e90&#xff0c;\u7b49\u4e8e\u8c01\u90fd\u80fd\u5582\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6bd4\u7cfb\u5217&#xff08;\u4e94&#xff09;\u591a\u7684\u53ea\u6709\u4e00\u5904\u5143\u6570\u636e&#xff1a;_meta.ui.csp\u91ccconnectDomains\u548cresourceDomains\u90fd\u7559\u7a7a&#xff0c;\u8868\u793a\u4e0d\u7533\u8bf7\u4efb\u4f55\u5916\u90e8\u57df\u3002\u5bbf\u4e3b\u672c\u6765\u5c31deny-by-default&#xff0c;\u4e0d\u7533\u8bf7\u6700\u7701\u4e8b\u3002<\/p>\n<p>\u53c2\u6570\u4e0b\u63a8\u6709\u4e2a\u53d6\u820d&#xff1a;\u754c\u9762\u672c\u5730\u6392\u5e8f\u6700\u7b80\u5355&#xff0c;\u4f46revision\u4f1a\u8ddf\u4e0d\u4e0a\u5206\u9875&#xff0c;\u754c\u9762\u663e\u793a\u7684\u8fd8\u662f\u4e0a\u4e00\u9875\u7684\u7248\u672c\u3002\u6240\u4ee5\u628akeyword\/sortBy\/page\u4ea4\u7ed9\u5de5\u5177\u7b97&#xff0c;\u754c\u9762\u53ea\u6e32\u67d3\u3002\u5199\u5de5\u5177\u91cc\u7684\u4e24\u628a\u9501&#xff0c;\u53ea\u7559\u5224\u65ad&#xff1a;<\/p>\n<p><span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>idempotency<span class=\"token punctuation\">.<\/span><span class=\"token function\">containsKey<\/span><span class=\"token punctuation\">(<\/span>key<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">return<\/span> <span class=\"token constant\">DUPLICATE<\/span><span class=\"token punctuation\">;<\/span>      <span class=\"token comment\">\/\/ \u91cd\u590d\u63d0\u4ea4<\/span><br \/>\n<span class=\"token keyword\">if<\/span><span class=\"token punctuation\">(<\/span>expectedRevision<span class=\"token operator\">!&#061;<\/span>revision<span class=\"token punctuation\">)<\/span>   <span class=\"token keyword\">return<\/span> <span class=\"token constant\">STALE_REVISION<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token comment\">\/\/ \u754c\u9762\u6570\u636e\u662f\u65e7\u7684<\/span><br \/>\n<span class=\"token comment\">\/\/ \u653e\u884c\u540e\u8865\u8d27&#xff0c;revision&#043;&#043;&#xff0c;\u540ckey\u843d\u5e42\u7b49\u8868<\/span><\/p>\n<p>\u5e42\u7b49\u952e\u7531\u754c\u9762\u5728\u70b9\u51fb\u65f6\u751f\u6210&#xff1a;\u7528\u6237\u8fde\u70b9\u548c\u5bbf\u4e3b\u91cd\u53d1\u590d\u7528\u540c\u4e00\u4e2aid&#xff0c;\u670d\u52a1\u7aef\u624d\u80fd\u8ba4\u6210\u4e00\u6b21\u63d0\u4ea4\u3002\u67e5\u8be2\u5de5\u5177\u7167\u65e7\u7ed9structuredContent\u548ccontent[0].text\u4e24\u4efd&#xff0c;\u4e0d\u652f\u6301Apps\u7684\u5bbf\u4e3b\u62ff\u6587\u672c\u56de\u9000\u3002<\/p>\n<h3>\u4e09\u3001\u534f\u8bae\u5c42\u5b9e\u6d4b&#xff1a;9\u6761\u65ad\u8a00\u5168\u8fc7<\/h3>\n<p>verify\/verify-apps.py\u6253\u7684\u662f\u771f\u5b9eMCP Server&#xff0c;\u4e0d\u662fmock\u3002\u539f\u59cb\u8f93\u51fa&#xff08;\u8282\u9009&#xff09;&#xff1a;<\/p>\n<p>[1] get_inventory_table: resourceUri&#061;ui:\/\/inventory-table visibility&#061;[&#039;model&#039;] csp&#061;{&#039;resourceDomains&#039;: [], &#039;connectDomains&#039;: []}<br \/>\n[2] resources\/list: mimeType&#061;text\/html;profile&#061;mcp-app &#xff5c; tools\/call: rows&#061;5 revision&#061;1 \u6587\u672c\u56de\u9000&#061;True<br \/>\n[3] resources\/read: 6299 bytes, \u5916\u94fe&#061;0, CSP-meta&#061;True, \u63e1\u624b&#061;True, origin\u6821\u9a8c&#061;True<br \/>\n[5] approve_restock(revision&#061;1): code&#061;OK revision&#061;2 changed&#061;[(&#039;SKU-1001&#039;, 42), (&#039;SKU-1003&#039;, 37)]<br \/>\n[6] \u540c\u5e42\u7b49\u952e: code&#061;DUPLICATE changed&#061;0 &#xff5c; \u65e7revision: code&#061;STALE_REVISION changed&#061;0<br \/>\nPASS 9\/9<\/p>\n<p>\u8fd99\u6761\u662f\u6211\u811a\u672c\u91cc\u5199\u7684\u65ad\u8a00&#xff0c;\u53ea\u8986\u76d6\u672c\u6587\u58f0\u660e\u7684\u80fd\u529b&#xff0c;\u4e0d\u662f\u534f\u8bae\u4e00\u81f4\u6027\u8ba4\u8bc1\u3002<\/p>\n<p>approve_restock\u6807\u4e86visibility&#061;[&#039;app&#039;]&#xff0c;tools\/list\u91cc\u7167\u6837\u5217\u5f97\u51fa\u6765\u3002\u5bbf\u4e3b\u53ef\u4ee5\u636e\u6b64\u628a\u5b83\u85cf\u8d77\u6765&#xff0c;\u670d\u52a1\u7aef\u6ca1\u6709\u56e0\u6b64\u591a\u4e00\u9053\u95e8&#xff1b;\u771f\u6b63\u7684\u653e\u884c\u5224\u65ad\u5f97\u843d\u5728\u9274\u6743\u5c42&#xff0c;\u672cdemo\u6ca1\u505a\u3002<\/p>\n<h3>\u56db\u3001\u6ca1\u6709\u771f\u5b9e\u5bbf\u4e3b&#xff0c;\u600e\u4e48\u9a8c\u63e1\u624b<\/h3>\n<p>\u6ca1\u6709\u652f\u6301Apps\u7684\u804a\u5929\u5ba2\u6237\u7aef&#xff0c;\u534f\u8bae\u5c42\u80fd\u9a8c&#xff0c;\u754c\u9762\u91cc\u7684JS\u884c\u4e3a\u9a8c\u4e0d\u4e86\u3002\u6211\u7684\u529e\u6cd5\u662f\u628aresources\/read\u62ff\u5230\u7684HTML\u5185\u8054\u811a\u672c\u653e\u8fdbNode\u7684vm&#xff0c;\u5199\u4e00\u4e2a\u6700\u5c0f\u5bbf\u4e3b&#xff1a;\u53d1ui\/initialize\u3001\u56de\u5de5\u5177\u7ed3\u679c\u3001\u6a21\u62df\u52fe\u9009\u63d0\u4ea4\u3001\u6700\u540e\u585e\u4e00\u6761\u4f2a\u9020origin\u7684\u6d88\u606f\u3002\u7528\u7684\u662f\u4e0a\u4e00\u6b65\u843d\u76d8\u7684\u771f\u5b9e\u670d\u52a1\u7aef\u6570\u636e\u3002<\/p>\n<p>[host] -&gt; ui\/initialize (origin&#061;https:\/\/host.example)<br \/>\n[app]  -&gt; initialized {app:inventory-table, capabilities:tools\/call&#043;tool-result}<br \/>\n[app]  -&gt; tools\/call get_inventory_table {&#034;keyword&#034;:&#034;&#034;,&#034;sortBy&#034;:&#034;sku&#034;,&#034;page&#034;:1,&#034;pageSize&#034;:5}<br \/>\n[app]  -&gt; tools\/call approve_restock {&#034;skus&#034;:&#034;SKU-1001,SKU-1003&#034;,&#034;expectedRevision&#034;:1,&#034;idempotencyKey&#034;:&#034;idem-1794126317869-2&#034;}<br \/>\n[app]  \u5df2\u8865\u8d272\u4e2aSKU&#xff0c;revision&#061;2 | revision&#061;2 \u00b7 \u51718\u6761 \u00b7 \u7b2c1\u9875<br \/>\n[app]  \u5ffd\u7565\u5916\u90e8origin: https:\/\/evil.example | revision\u4ecd\u4e3a2<br \/>\nPASS \u00b7 \u51714\u6761\u6d88\u606f<\/p>\n<p>origin\u4e0d\u786c\u7f16\u7801&#xff0c;\u8bb0\u5728\u63e1\u624b\u90a3\u4e00\u523b&#xff1a;iframe\u91cc\u62ff\u4e0d\u5230\u53ef\u4fe1\u7684\u5bbf\u4e3b\u5e38\u91cf&#xff0c;ui\/initialize\u662f\u7b2c\u4e00\u6761\u80fd\u786e\u8ba4\u6765\u6e90\u7684\u6d88\u606f&#xff0c;\u4e4b\u540e\u6240\u6709\u56de\u53d1\u90fd\u9650\u5b9a\u8fd9\u4e2aorigin\u3002\u6700\u5c0f\u5bbf\u4e3b\u53ea\u505a\u6d88\u606f\u8f6c\u53d1\u548c\u7ed3\u679c\u56de\u704c&#xff0c;\u6ca1\u6709\u5b9e\u73b0\u771f\u5b9e\u5bbf\u4e3b\u7684\u6743\u9650\u51b3\u7b56&#xff0c;\u6240\u4ee5\u5b83\u9a8c\u4e0d\u4e86visibility\u3002\u987a\u5e8f\u3001\u53c2\u6570\u3001\u9501\u3001origin\u8fc7\u6ee4\u90fd\u80fd\u9a8c&#xff0c;iframe\u91cc\u771f\u5b9e\u6e32\u67d3\u4ec0\u4e48\u6837&#xff0c;\u5f97\u5728\u771f\u5bbf\u4e3b\u91cc\u770b\u3002<\/p>\n<h3>\u4e94\u3001\u4e94\u4e2a\u5751&#xff0c;\u90fd\u662f\u8e29\u51fa\u6765\u7684<\/h3>\n<li>\u5916\u94fe\u4e00\u5f8b\u767d\u677f\u3002\u5bbf\u4e3b\u6309deny-by-default\u65bd\u52a0CSP&#xff0c;CSS\/JS\u5168\u5185\u8054&#xff0c;\u5b9e\u6d4b\u8fd9\u4efdHTML\u662f6299\u5b57\u8282\u3001\u5916\u94fe0\u3002\u754c\u9762\u81ea\u5e26\u7684CSP meta\u53ea\u662f\u81ea\u68c0&#xff0c;\u4e0d\u80fd\u66ff\u4ee3\u5bbf\u4e3b\u90a3\u4e00\u5c42\u3002<\/li>\n<li>mimeType\u8981\u7cbe\u786e\u3002text\/html;profile&#061;mcp-app\u5199\u9519&#xff0c;\u5bbf\u4e3b\u5c31\u628a\u754c\u9762\u5f53\u666e\u901a\u6587\u672c\u8d44\u6e90&#xff0c;\u5361\u7247\u6c38\u8fdc\u51fa\u4e0d\u6765\u3002<\/li>\n<li>postMessage\u7684\u76ee\u6807\u522b\u5199&#039;*&#039;\u3002\u56de\u53d1\u9650\u5b9a\u63e1\u624borigin&#xff0c;\u6536\u6d88\u606f\u5148\u8fc7e.origin!&#061;&#061;state.hostOrigin&#xff0c;\u4f2a\u9020origin\u90a3\u6761\u6d88\u606f\u5b9e\u6d4b\u88ab\u4e22&#xff0c;revision\u6ca1\u88ab\u5e26\u6b6a\u3002<\/li>\n<li>\u72b6\u6001\u540c\u6b65\u9760\u534f\u8bae\u4e4b\u5916\u7684\u4e24\u628a\u9501\u3002MCP\u6ca1\u66ff\u4f60\u7ba1\u754c\u9762\u4e0e\u670d\u52a1\u7aef\u7684\u6570\u636e\u7248\u672c&#xff0c;revision&#043;\u5e42\u7b49\u952e\u5f97\u81ea\u5df1\u505a\u3002\u5e42\u7b49\u8868\u8fd8\u662f\u5355\u673aMap&#xff0c;\u591a\u5b9e\u4f8b\u8981\u6362\u5171\u4eab\u5b58\u50a8&#xff0c;\u5426\u5219\u91cd\u590d\u63d0\u4ea4\u4f1a\u7a7f\u8fc7\u53e6\u4e00\u5b9e\u4f8b\u3002<\/li>\n<li>\u7cfb\u5217&#xff08;\u516d&#xff09;\u90a3\u4e2a\u7f51\u5173\u53ea\u4ee3\u7406\u4e86\u5de5\u5177&#xff0c;\u6ca1\u4ee3\u7406resources\/read&#xff0c;_meta.ui\u900f\u4f20\u8fc7\u53bb\u754c\u9762\u7167\u6837\u53d6\u4e0d\u5230\u8d44\u6e90\u3002\u4e0a\u7f51\u5173\u8981\u5148\u8865\u8d44\u6e90\u4ee3\u7406\u3002<\/li>\n<p>\u987a\u5e26\u4e00\u4e2a\u811a\u672c\u5751&#xff1a;vm\u91cc\u7684\u6570\u7ec4\u548c\u5bbf\u4e3b\u4e0d\u540crealm&#xff0c;deepStrictEqual\u76f4\u63a5\u62a5Values have same structure but are not reference-equal&#xff0c;\u6539\u6210join(&#039;,&#039;)\u6bd4\u5b57\u7b26\u4e32\u624d\u8fc7\u3002\u91cd\u8dd1\u9a8c\u8bc1\u811a\u672c\u524d\u5fc5\u987b\u91cd\u542f\u670d\u52a1&#xff0c;\u5426\u5219revision\u548c\u5e42\u7b49\u8868\u4f1a\u5e26\u7740\u4e0a\u4e00\u6b21\u7684\u72b6\u6001&#xff0c;\u7b2c\u4e00\u6761\u65ad\u8a00\u5c31\u8fc7\u4e0d\u53bb\u3002<\/p>\n<h3>\u516d\u3001\u4e92\u94fe\u4e0e\u8bda\u5b9e\u8fb9\u754c<\/h3>\n<p>\u4e92\u94fe&#xff08;\u70b9\u51fb\u8df3\u8f6c&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u2192 \u7cfb\u5217&#xff08;\u4e94&#xff09;\u8ba9\u5de5\u5177\u8fd4\u56de\u4e00\u4e2a\u80fd\u70b9\u7684\u754c\u9762&#xff1a;\u754c\u9762\u7ed1\u5b9a\u7684\u5165\u95e8\u5199\u6cd5&#xff0c;\u672c\u7bc7\u4e0d\u91cd\u590d\u3002<\/li>\n<li>\u2192 \u7cfb\u5217&#xff08;\u516d&#xff09;\u81ea\u5efaMCP\u7f51\u5173&#xff1a;\u8d44\u6e90\u6ca1\u4ee3\u7406&#xff0c;Apps\u754c\u9762\u4f1a\u65ad\u94fe\u3002<\/li>\n<li>\u2192 \u7cfb\u5217&#xff08;\u4e5d&#xff09;\u751f\u4ea7\u5316MCP Server\u76846\u5c42\u5b89\u5168\u9632\u62a4&#xff1a;visibility\u53ea\u662f\u58f0\u660e&#xff0c;\u9274\u6743\u5f97\u843d\u5728L2\/L3\u3002<\/li>\n<li>\u2192 \u7bc7&#xff08;\u5341\u56db&#xff09;\u5168\u94fe\u8def\u8ffd\u8e2a&#xff08;\u5f85\u53d1\u5e03&#xff09;&#xff1a;\u754c\u9762\u52a8\u4f5c\u7684trace\u53ef\u4ee5\u63a5\u8fdb\u540c\u4e00\u6839\u94fe\u8def\u3002<\/li>\n<\/ul>\n<p>\u8bda\u5b9e\u8fb9\u754c&#xff08;\u672c\u673a\u9a8c\u8bc1\u2260\u751f\u4ea7\u9a8c\u8bc1&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u672c\u673a\u5df2\u9a8c\u8bc1&#xff1a;\u534f\u8bae\u5c429\/9\u3001\u6700\u5c0f\u5bbf\u4e3b\u7684\u63e1\u624b\/\u53c2\u6570\u4e0b\u63a8\/\u5199\u64cd\u4f5c\/origin\u8fc7\u6ee4&#xff0c;\u73af\u5883\u662fWindows 11&#043;JDK 21.0.11&#xff0c;\u5355\u673a\u5355\u8fdb\u7a0b\u3002<\/li>\n<li>\u5f85\u751f\u4ea7\u9a8c\u8bc1&#xff1a;\u771f\u5b9eApps\u5bbf\u4e3b\u7684iframe\u6e32\u67d3\u4e0eCSP\u6536\u7d27\u7b56\u7565\u3001\u5bbf\u4e3b\u662f\u5426\u771f\u7684\u6267\u884cvisibility\u3001\u771f\u5b9e\u5e76\u53d1\u4e0b\u7684\u9274\u6743\u4e0e\u5e42\u7b49\u3002\u5e42\u7b49\u8868\u548crevision\u90fd\u5728\u8fdb\u7a0b\u5185\u5b58\u91cc&#xff0c;\u591a\u5b9e\u4f8b\u5fc5\u987b\u5916\u7f6e\u3002\u7ed3\u8bba\u53ea\u5230\u534f\u8bae\u4e0e\u72b6\u6001\u5951\u7ea6\u6210\u7acb&#xff0c;\u4e0d\u6d89\u53ca\u754c\u9762\u89c6\u89c9\u6548\u679c&#xff0c;\u4e5f\u4e0d\u58f0\u79f0_meta.ui.csp\u7684\u5b57\u6bb5\u540d\u5728\u6240\u6709\u5bbf\u4e3b\u91cc\u901a\u7528\u3002<\/li>\n<\/ul>\n<h3>\u4e03\u3001\u81ea\u67e5\u6e05\u5355<\/h3>\n<table>\n<tr>\u9879\u5fc5\u505a&#xff1f;<\/tr>\n<tbody>\n<tr>\n<td>_meta.ui.resourceUri&#043;mimeType\u7cbe\u786e\u3001HTML\u81ea\u5305\u542b\u65e0\u5916\u94fe<\/td>\n<td>\u5fc5\u505a<\/td>\n<\/tr>\n<tr>\n<td>structuredContent&#043;\u6587\u672c\u56de\u9000<\/td>\n<td>\u5fc5\u505a<\/td>\n<\/tr>\n<tr>\n<td>\u63e1\u624b\u8bb0origin\u3001\u56de\u53d1\u9650\u5b9aorigin<\/td>\n<td>\u5fc5\u505a<\/td>\n<\/tr>\n<tr>\n<td>\u5199\u64cd\u4f5c\u5e26revision&#043;\u5e42\u7b49\u952e<\/td>\n<td>\u5fc5\u505a<\/td>\n<\/tr>\n<tr>\n<td>\u5e42\u7b49\u8868\u5916\u7f6e\u3001\u7f51\u5173\u8865resources\/read\u4ee3\u7406<\/td>\n<td>\u591a\u5b9e\u4f8b\/\u8d70\u7f51\u5173\u5fc5\u505a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e00\u53e5\u8bdd\u6536\u5c3e<\/h3>\n<p>\u754c\u9762\u771f\u80fd\u70b9\u4e4b\u540e&#xff0c;\u53c2\u6570\u8c01\u7b97\u3001\u6570\u636e\u662f\u4e0d\u662f\u6700\u65b0\u7684\u3001\u6d88\u606f\u4ece\u54ea\u6765\u3001\u91cd\u590d\u70b9\u51fb\u600e\u4e48\u9632&#xff0c;\u90fd\u5f97\u81ea\u5df1\u515c\u3002\u534f\u8bae\u5c429\u6761\u65ad\u8a00\u548c\u6700\u5c0f\u5bbf\u4e3b\u90a34\u6761\u6d88\u606f&#xff0c;\u53ea\u80fd\u8bc1\u660e\u5951\u7ea6\u6210\u7acb&#xff1b;\u771f\u5bbf\u4e3b\u91cc\u7684\u6e32\u67d3\u3001\u9274\u6743\u548c\u5e76\u53d1&#xff0c;\u8fd8\u5f97\u53e6\u9a8c\u3002<\/p>\n<hr \/>\n<p>\u5b8c\u6574\u53ef\u8fd0\u884c\u4ee3\u7801\u572815-mcp-apps-deep&#xff08;tagv15&#xff09;&#xff1a;Gitee\/GitHub&#xff0c;.\/verify-apps.ps1\u4e00\u952e\u590d\u73b0&#xff0c;\u8dd1\u901a\u70b9\u4e2astar&#xff0c;\u8dd1\u4e0d\u901a\u63d0issue\u3002<\/p>\n<p>      <span id=\"quality-guide-article-end\" aria-hidden=\"true\" style=\"display:block;height:1px;margin-bottom:-1px\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":124148,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9098,14228,14229,99,73,5736],"topic":[],"class_list":["post-124149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-it","tag-mcp-apps","tag-ui","tag-java","tag-mcp","tag-spring-ai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \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\/124149.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/124149.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T08:32:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118083232-6afd62a026ad6.jpg\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/124149.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/124149.html\",\"name\":\"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-18T08:32:35+00:00\",\"dateModified\":\"2026-11-18T08:32:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/124149.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/124149.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/124149.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e\"}]},{\"@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":"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \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\/124149.html","og_locale":"zh_CN","og_type":"article","og_title":"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/124149.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-18T08:32:35+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261118083232-6afd62a026ad6.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/124149.html","url":"https:\/\/www.wsisp.com\/helps\/124149.html","name":"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-18T08:32:35+00:00","dateModified":"2026-11-18T08:32:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/124149.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/124149.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/124149.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MCP\u5b9e\u6218\u624b\u8bb0\uff08\u5341\u4e94\uff09\uff1aMCP Apps\u6df1\u5ea6\uff0c\u754c\u9762\u80fd\u70b9\u4e4b\u540e"}]},{"@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\/124149","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=124149"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/124149\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/124148"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=124149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=124149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=124149"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=124149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}