{"id":80479,"date":"2026-03-05T08:33:23","date_gmt":"2026-03-05T00:33:23","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/80479.html"},"modified":"2026-03-05T08:33:23","modified_gmt":"2026-03-05T00:33:23","slug":"mcp%e5%8d%8f%e8%ae%ae%e4%b9%8bclient-%e7%9a%84%e5%b7%a5%e4%bd%9c%e6%9c%ba%e5%88%b6%e5%92%8c%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/80479.html","title":{"rendered":"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b"},"content":{"rendered":"<h3>\u4e00\u3001\u5f15\u8a00<\/h3>\n<p>\u5728 Model Context Protocol&#xff08;MCP&#xff09;\u4f53\u7cfb\u4e2d&#xff0c;\u5ba2\u6237\u7aef&#xff08;Client&#xff09;\u4e0d\u4ec5\u627f\u62c5\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u201c\u8c03\u7528\u8005\u201d\u89d2\u8272&#xff0c;\u66f4\u662f\u8fde\u63a5 \u7528\u6237\u3001\u670d\u52a1\u5668\u80fd\u529b\u4e0e\u8bed\u8a00\u6a21\u578b\u7684\u6838\u5fc3\u534f\u8c03\u8282\u70b9\u3002<br \/>\n\u901a\u8fc7\u4e00\u7ec4\u6807\u51c6\u5316\u7684\u5ba2\u6237\u7aef\u80fd\u529b&#xff0c;MCP \u5c06\u7528\u6237\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u8fb9\u754c\u63a7\u5236\u4ee5\u53ca\u6a21\u578b\u8c03\u7528\u6743\u9650\u96c6\u4e2d\u5728 Client \u4fa7&#xff0c;\u4ece\u800c\u5728\u5f00\u653e\u7684 Server \u751f\u6001\u4e2d\u5efa\u7acb\u4e00\u81f4\u3001\u53ef\u63a7\u4e14\u5b89\u5168\u7684\u534f\u4f5c\u6a21\u5f0f\u3002<\/p>\n<p>\u672c\u6587\u57fa\u4e8e MCP \u5bf9 Core Client Features \u7684\u5b9a\u4e49&#xff0c;\u7cfb\u7edf\u603b\u7ed3 MCP Client \u7684\u529f\u80fd\u6784\u6210&#xff0c;\u5e76\u7ed3\u5408\u5b9e\u9645\u6267\u884c\u573a\u666f&#xff0c;\u5206\u6790\u5176\u5728\u771f\u5b9e\u5de5\u4f5c\u6d41\u4e2d\u7684\u8fd0\u884c\u673a\u5236\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001MCP Client \u7684\u603b\u4f53\u529f\u80fd\u5b9a\u4f4d<\/h3>\n<p>\u4ece\u534f\u8bae\u8bbe\u8ba1\u89d2\u5ea6\u770b&#xff0c;MCP Client \u7684\u6838\u5fc3\u804c\u8d23\u53ef\u4ee5\u6982\u62ec\u4e3a&#xff1a;<\/p>\n<p>\u5728 MCP \u8fd0\u884c\u65f6\u73af\u5883\u4e2d&#xff0c;Client \u8d1f\u8d23\u534f\u8c03\u4eba\u4e0e\u7cfb\u7edf\u3001\u7ea6\u675f\u670d\u52a1\u5668\u884c\u4e3a\u8303\u56f4&#xff0c;\u5e76\u7edf\u4e00\u7ba1\u7406\u6a21\u578b\u4ea4\u4e92\u4e0e\u5b89\u5168\u63a7\u5236\u3002<\/p>\n<p>\u4e0e\u4e4b\u76f8\u5bf9\u5e94&#xff1a;<\/p>\n<ul>\n<li>MCP Server&#xff1a;\u63d0\u4f9b\u9886\u57df\u80fd\u529b\u3001\u5de5\u5177\u548c\u4e1a\u52a1\u903b\u8f91<\/li>\n<li>MCP Client&#xff1a;\u638c\u63a7\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u3001\u6743\u9650\u4e0e\u6a21\u578b\u8bbf\u95ee<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u804c\u8d23\u5212\u5206\u4f7f Server \u80fd\u591f\u4e13\u6ce8\u4e8e\u80fd\u529b\u5b9e\u73b0&#xff0c;\u800c\u5c06\u5b89\u5168\u6027\u3001\u7528\u6237\u4f53\u9a8c\u548c\u8d44\u6e90\u63a7\u5236\u96c6\u4e2d\u5230 Client \u4fa7\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001MCP Client \u7684\u6838\u5fc3\u529f\u80fd\u7ec4\u6210<\/h3>\n<p>\u6839\u636e\u89c4\u8303&#xff0c;MCP Client \u5411 Server \u63d0\u4f9b\u4e09\u7c7b\u5173\u952e\u80fd\u529b&#xff1a;<\/p>\n<li>Elicitation&#xff08;\u4fe1\u606f\u5f81\u8be2&#xff09;<\/li>\n<li>Roots&#xff08;\u6839\u76ee\u5f55\u8303\u56f4\u58f0\u660e&#xff09;<\/li>\n<li>Sampling&#xff08;\u6a21\u578b\u91c7\u6837\u4ee3\u7406&#xff09;<\/li>\n<p>\u8fd9\u4e09\u9879\u80fd\u529b\u5e76\u975e\u5f7c\u6b64\u72ec\u7acb&#xff0c;\u800c\u662f\u5171\u540c\u6784\u6210 Client \u5728\u8fd0\u884c\u65f6\u5bf9 Server \u884c\u4e3a\u7684\u7ea6\u675f\u4e0e\u652f\u6301\u4f53\u7cfb\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001Elicitation&#xff1a;\u9762\u5411\u4eba\u7684\u7ed3\u6784\u5316\u4fe1\u606f\u5f81\u8be2\u80fd\u529b<\/h3>\n<h4>4.1 \u529f\u80fd\u6982\u8ff0<\/h4>\n<p>Elicitation \u662f MCP Client \u63d0\u4f9b\u7684\u4e00\u79cd\u673a\u5236&#xff0c;\u7528\u4e8e\u652f\u6301 Server \u5728\u6267\u884c\u8fc7\u7a0b\u4e2d\u6309\u9700\u5411\u7528\u6237\u8bf7\u6c42\u7279\u5b9a\u4fe1\u606f\u3002<\/p>\n<p>\u4e0e\u4e00\u6b21\u6027\u53c2\u6570\u8f93\u5165\u4e0d\u540c&#xff0c;Elicitation \u5141\u8bb8 Server&#xff1a;<\/p>\n<ul>\n<li>\u5728\u53d1\u73b0\u4fe1\u606f\u4e0d\u8db3\u65f6\u6682\u505c\u6267\u884c<\/li>\n<li>\u901a\u8fc7 Client \u8bf7\u6c42\u7528\u6237\u8865\u5145\u5fc5\u8981\u6570\u636e<\/li>\n<li>\u5728\u83b7\u5f97\u5408\u89c4\u8f93\u5165\u540e\u7ee7\u7eed\u5904\u7406\u6d41\u7a0b<\/li>\n<\/ul>\n<p>\u8be5\u673a\u5236\u4f7f\u670d\u52a1\u5668\u80fd\u591f\u6784\u5efa\u66f4\u52a0\u7075\u6d3b\u3001\u53ef\u6062\u590d\u7684\u4ea4\u4e92\u5f0f\u5de5\u4f5c\u6d41\u3002<\/p>\n<hr \/>\n<h4>4.2 Client \u5728 Elicitation \u4e2d\u7684\u804c\u8d23<\/h4>\n<p>\u5728 Elicitation \u8fc7\u7a0b\u4e2d&#xff0c;Client \u8d1f\u8d23&#xff1a;<\/p>\n<ul>\n<li>\u63a5\u6536 Server \u53d1\u8d77\u7684\u4fe1\u606f\u5f81\u8be2\u8bf7\u6c42<\/li>\n<li>\u5c06\u8bf7\u6c42\u4e2d\u7684\u7ed3\u6784\u5316 schema \u8f6c\u6362\u4e3a\u7528\u6237\u53ef\u7406\u89e3\u7684\u4ea4\u4e92\u754c\u9762<\/li>\n<li>\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u7ed3\u6784\u6821\u9a8c<\/li>\n<li>\u4e3a\u7528\u6237\u63d0\u4f9b\u786e\u8ba4\u3001\u62d2\u7edd\u6216\u53d6\u6d88\u64cd\u4f5c\u7684\u80fd\u529b<\/li>\n<li>\u5c06\u6700\u7ec8\u54cd\u5e94\u8fd4\u56de\u7ed9 Server<\/li>\n<\/ul>\n<p>Server \u4e0d\u76f4\u63a5\u4e0e\u7528\u6237\u4ea4\u4e92&#xff0c;\u6240\u6709\u4eba\u673a\u4ea4\u4e92\u5747\u7531 Client \u4ee3\u7406\u5b8c\u6210\u3002<\/p>\n<hr \/>\n<h4>4.3 \u5b9e\u9645\u6267\u884c\u6d41\u7a0b<\/h4>\n<p>\u4e00\u4e2a\u5178\u578b\u7684 Elicitation \u6267\u884c\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<li>Server \u5728\u5904\u7406\u8bf7\u6c42\u8fc7\u7a0b\u4e2d\u53d1\u73b0\u7f3a\u5c11\u5fc5\u8981\u4fe1\u606f<\/li>\n<li>Server \u53d1\u8d77 elicitation\/requestInput \u8bf7\u6c42<\/li>\n<li>Client \u5c55\u793a\u5f81\u8be2\u754c\u9762\u5e76\u8bf4\u660e\u4fe1\u606f\u7528\u9014<\/li>\n<li>\u7528\u6237\u63d0\u4f9b\u8f93\u5165\u6216\u9009\u62e9\u53d6\u6d88<\/li>\n<li>Client \u6821\u9a8c\u5e76\u8fd4\u56de\u7528\u6237\u54cd\u5e94<\/li>\n<li>Server \u4f7f\u7528\u65b0\u4fe1\u606f\u7ee7\u7eed\u6267\u884c\u4efb\u52a1<\/li>\n<p>\u8be5\u6d41\u7a0b\u786e\u4fdd\u4e86\u4fe1\u606f\u83b7\u53d6\u7684\u900f\u660e\u6027\u548c\u53ef\u63a7\u6027\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001Roots&#xff1a;\u6587\u4ef6\u7cfb\u7edf\u4e0a\u4e0b\u6587\u8303\u56f4\u7684\u58f0\u660e\u4e0e\u534f\u8c03<\/h3>\n<h4>5.1 \u529f\u80fd\u6982\u8ff0<\/h4>\n<p>Roots \u662f MCP Client \u7528\u4e8e\u5411 Server \u4f20\u8fbe\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\u8303\u56f4\u7684\u673a\u5236\u3002<br \/>\n\u5b83\u901a\u8fc7\u4e00\u7ec4 file:\/\/ URI&#xff0c;\u660e\u786e\u544a\u77e5 Server \u5f53\u524d\u53ef\u5173\u6ce8\u7684\u76ee\u5f55\u96c6\u5408\u3002<\/p>\n<p>\u9700\u8981\u5f3a\u8c03\u7684\u662f&#xff0c;Roots \u5e76\u975e\u5b89\u5168\u9694\u79bb\u673a\u5236&#xff0c;\u800c\u662f\u4e00\u79cd\u4e0a\u4e0b\u6587\u534f\u8c03\u624b\u6bb5\u3002<\/p>\n<hr \/>\n<h4>5.2 Client \u5728 Roots \u4e2d\u7684\u804c\u8d23<\/h4>\n<p>Client \u8d1f\u8d23&#xff1a;<\/p>\n<ul>\n<li>\u6839\u636e\u7528\u6237\u64cd\u4f5c&#xff08;\u5982\u6253\u5f00\u6587\u4ef6\u5939\u6216\u9879\u76ee&#xff09;\u786e\u5b9a\u5f53\u524d Roots<\/li>\n<li>\u5c06 Roots \u5217\u8868\u53d1\u9001\u7ed9 Server<\/li>\n<li>\u5728\u5de5\u4f5c\u76ee\u5f55\u53d8\u5316\u65f6&#xff0c;\u901a\u8fc7 roots\/list_changed \u901a\u77e5 Server<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b Roots \u63cf\u8ff0\u4e86\u5f53\u524d\u5de5\u4f5c\u73af\u5883\u7684\u8fb9\u754c&#xff0c;\u5e2e\u52a9 Server \u7406\u89e3\u53ef\u7528\u8d44\u6e90\u7684\u7ec4\u7ec7\u7ed3\u6784\u3002<\/p>\n<hr \/>\n<h4>5.3 \u5b9e\u9645\u6267\u884c\u573a\u666f\u4e0e\u6d41\u7a0b<\/h4>\n<p>\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d&#xff0c;Roots \u7684\u66f4\u65b0\u6d41\u7a0b\u901a\u5e38\u5982\u4e0b&#xff1a;<\/p>\n<li>\u7528\u6237\u6253\u5f00\u6216\u5207\u6362\u5de5\u4f5c\u76ee\u5f55<\/li>\n<li>Client \u81ea\u52a8\u6216\u624b\u52a8\u66f4\u65b0 Roots \u5217\u8868<\/li>\n<li>Client \u901a\u77e5 Server \u5f53\u524d\u6709\u6548 Roots<\/li>\n<li>Server \u5728\u8fd9\u4e9b Roots \u8303\u56f4\u5185\u6267\u884c\u6587\u4ef6\u8bfb\u53d6\u3001\u641c\u7d22\u6216\u5199\u5165\u64cd\u4f5c<\/li>\n<p>\u901a\u8fc7\u8be5\u673a\u5236&#xff0c;Server \u80fd\u591f\u907f\u514d\u8bef\u64cd\u4f5c\u65e0\u5173\u76ee\u5f55&#xff0c;\u4ece\u800c\u63d0\u5347\u5de5\u4f5c\u6d41\u7684\u5b89\u5168\u6027\u4e0e\u4e00\u81f4\u6027\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001Sampling&#xff1a;\u53d7\u63a7\u7684\u6a21\u578b\u8c03\u7528\u4ee3\u7406\u673a\u5236<\/h3>\n<h4>6.1 \u529f\u80fd\u6982\u8ff0<\/h4>\n<p>Sampling \u5141\u8bb8 Server \u5728\u9700\u8981 AI \u63a8\u7406\u6216\u751f\u6210\u80fd\u529b\u65f6&#xff0c;\u901a\u8fc7 Client \u8bf7\u6c42\u8bed\u8a00\u6a21\u578b\u8865\u5168&#xff0c;\u800c\u4e0d\u662f\u76f4\u63a5\u8c03\u7528\u6a21\u578b\u670d\u52a1\u3002<\/p>\n<p>\u8fd9\u4e00\u8bbe\u8ba1\u5c06\u6a21\u578b\u8bbf\u95ee\u7684\u63a7\u5236\u6743\u5b8c\u5168\u7f6e\u4e8e Client \u4fa7&#xff0c;\u662f MCP \u5b89\u5168\u4e0e\u6cbb\u7406\u4f53\u7cfb\u4e2d\u7684\u5173\u952e\u7ec4\u6210\u90e8\u5206\u3002<\/p>\n<hr \/>\n<h4>6.2 Client \u5728 Sampling \u4e2d\u7684\u804c\u8d23<\/h4>\n<p>\u5728 Sampling \u8fc7\u7a0b\u4e2d&#xff0c;Client \u8d1f\u8d23&#xff1a;<\/p>\n<ul>\n<li>\u63a5\u6536 Server \u53d1\u8d77\u7684\u6a21\u578b\u8bf7\u6c42<\/li>\n<li>\u5411\u7528\u6237\u5c55\u793a\u8bf7\u6c42\u5185\u5bb9\u4e0e\u7528\u9014&#xff08;\u5982\u542f\u7528\u4eba\u5de5\u5ba1\u6279&#xff09;<\/li>\n<li>\u6839\u636e\u914d\u7f6e\u9009\u62e9\u5408\u9002\u7684\u6a21\u578b\u4e0e\u53c2\u6570<\/li>\n<li>\u8c03\u7528\u8bed\u8a00\u6a21\u578b\u5e76\u83b7\u53d6\u7ed3\u679c<\/li>\n<li>\u5728\u5fc5\u8981\u65f6\u5141\u8bb8\u7528\u6237\u5ba1\u67e5\u548c\u4fee\u6539\u751f\u6210\u5185\u5bb9<\/li>\n<li>\u5c06\u6700\u7ec8\u7ed3\u679c\u8fd4\u56de\u7ed9 Server<\/li>\n<\/ul>\n<p>Server \u53ea\u80fd\u83b7\u5f97 Client \u8ba4\u53ef\u540e\u7684\u751f\u6210\u7ed3\u679c&#xff0c;\u65e0\u6cd5\u76f4\u63a5\u63a5\u89e6\u6a21\u578b\u6216\u539f\u59cb\u7528\u6237\u6570\u636e\u3002<\/p>\n<hr \/>\n<h4>6.3 \u5b9e\u9645\u6267\u884c\u6d41\u7a0b<\/h4>\n<p>\u4e00\u4e2a\u5178\u578b\u7684 Sampling \u6267\u884c\u6d41\u7a0b\u5305\u62ec&#xff1a;<\/p>\n<li>Server \u53d1\u8d77 Sampling \u8bf7\u6c42<\/li>\n<li>Client \u5c55\u793a\u8bf7\u6c42\u5e76\u8fdb\u884c\u6743\u9650\u4e0e\u5b89\u5168\u68c0\u67e5<\/li>\n<li>\u7528\u6237\u6279\u51c6\u6216\u4fee\u6539\u8bf7\u6c42&#xff08;\u53ef\u9009&#xff09;<\/li>\n<li>Client \u8c03\u7528\u8bed\u8a00\u6a21\u578b<\/li>\n<li>Client \u63a5\u6536\u6a21\u578b\u8f93\u51fa\u5e76\u8fdb\u884c\u4e8c\u6b21\u786e\u8ba4&#xff08;\u53ef\u9009&#xff09;<\/li>\n<li>Client \u5c06\u6700\u7ec8\u7ed3\u679c\u8fd4\u56de\u7ed9 Server<\/li>\n<p>\u8be5\u6d41\u7a0b\u901a\u8fc7\u201c\u4eba\u5728\u56de\u8def\u4e2d\u201d\u7684\u65b9\u5f0f\u786e\u4fdd\u6a21\u578b\u4f7f\u7528\u7b26\u5408\u7528\u6237\u610f\u56fe\u548c\u5b89\u5168\u8981\u6c42\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u7efc\u5408\u6267\u884c\u573a\u666f&#xff1a;MCP Client \u7684\u6574\u4f53\u8fd0\u884c\u6a21\u5f0f<\/h3>\n<p>\u5728\u5b9e\u9645\u7cfb\u7edf\u4e2d&#xff0c;Elicitation\u3001Roots \u4e0e Sampling \u5f80\u5f80\u534f\u540c\u5de5\u4f5c\u3002\u4f8b\u5982&#xff1a;<\/p>\n<li>Client \u901a\u8fc7 Roots \u5411 Server \u58f0\u660e\u5f53\u524d\u5de5\u4f5c\u533a<\/li>\n<li>Server \u5728 Roots \u8303\u56f4\u5185\u6536\u96c6\u6570\u636e<\/li>\n<li>Server \u901a\u8fc7 Sampling \u8bf7\u6c42 Client \u8c03\u7528\u6a21\u578b\u8fdb\u884c\u5206\u6790<\/li>\n<li>Server \u5728\u5173\u952e\u51b3\u7b56\u70b9\u901a\u8fc7 Elicitation \u8bf7\u6c42\u7528\u6237\u786e\u8ba4<\/li>\n<li>Client \u6536\u96c6\u53cd\u9988\u5e76\u8fd4\u56de\u7ed3\u679c&#xff0c;Server \u5b8c\u6210\u6700\u7ec8\u64cd\u4f5c<\/li>\n<p>\u8be5\u6a21\u5f0f\u4f53\u73b0\u4e86 MCP Client \u5728\u6574\u4e2a\u5de5\u4f5c\u6d41\u4e2d\u7684\u534f\u8c03\u4e0e\u63a7\u5236\u4f5c\u7528\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001\u7ed3\u8bba<\/h3>\n<p>\u901a\u8fc7\u5bf9 Core Client Features \u7684\u5206\u6790\u53ef\u4ee5\u770b\u51fa&#xff0c;MCP Client \u5e76\u975e\u88ab\u52a8\u7684\u8bf7\u6c42\u53d1\u8d77\u8005&#xff0c;\u800c\u662f&#xff1a;<\/p>\n<p>\u8d1f\u8d23\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u3001\u6743\u9650\u4e0e\u6a21\u578b\u8bbf\u95ee\u63a7\u5236\u7684\u6838\u5fc3\u6267\u884c\u73af\u5883\u3002<\/p>\n<p>\u901a\u8fc7 Elicitation\u3001Roots \u4e0e Sampling \u4e09\u9879\u80fd\u529b&#xff0c;Client \u4e3a Server \u63d0\u4f9b\u4e86&#xff1a;<\/p>\n<ul>\n<li>\u53ef\u63a7\u7684\u4eba\u673a\u4ea4\u4e92\u5165\u53e3<\/li>\n<li>\u660e\u786e\u7684\u4e0a\u4e0b\u6587\u4f5c\u7528\u8303\u56f4<\/li>\n<li>\u5b89\u5168\u4e14\u53ef\u5ba1\u8ba1\u7684\u6a21\u578b\u8c03\u7528\u673a\u5236<\/li>\n<\/ul>\n<p>\u8fd9\u4e00\u8bbe\u8ba1\u4f7f MCP \u80fd\u591f\u5728\u5f00\u653e\u7684 Server \u751f\u6001\u4e2d&#xff0c;\u6784\u5efa\u51fa\u65e2\u7075\u6d3b\u53c8\u5b89\u5168\u7684\u667a\u80fd\u5e94\u7528\u8fd0\u884c\u57fa\u7840\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5f15\u8a00<br \/>\n\u5728 Model Context Protocol&#xff08;MCP&#xff09;\u4f53\u7cfb\u4e2d&#xff0c;\u5ba2\u6237\u7aef&#xff08;Client&#xff09;\u4e0d\u4ec5\u627f\u62c5\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u201c\u8c03\u7528\u8005\u201d\u89d2\u8272&#xff0c;\u66f4\u662f\u8fde\u63a5 \u7528\u6237\u3001\u670d\u52a1\u5668\u80fd\u529b\u4e0e\u8bed\u8a00\u6a21\u578b\u7684\u6838\u5fc3\u534f\u8c03\u8282\u70b9\u3002<br \/>\n\u901a\u8fc7\u4e00\u7ec4\u6807\u51c6\u5316\u7684\u5ba2\u6237\u7aef\u80fd\u529b&#xff0c;MCP \u5c06\u7528\u6237\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u8fb9\u754c\u63a7\u5236\u4ee5\u53ca\u6a21\u578b\u8c03\u7528\u6743\u9650\u96c6\u4e2d\u5728 Client \u4fa7&#xff0c;\u4ece\u800c\u5728\u5f00\u653e\u7684 Server \u751f\u6001\u4e2d\u5efa\u7acb\u4e00\u81f4\u3001\u53ef\u63a7\u4e14\u5b89\u5168\u7684\u534f\u4f5c\u6a21\u5f0f\u3002<br \/>\n\u672c\u6587\u57fa\u4e8e<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[73,666],"topic":[],"class_list":["post-80479","post","type-post","status-publish","format-standard","hentry","category-server","tag-mcp","tag-microsoft"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \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\/80479.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u5f15\u8a00 \u5728 Model Context Protocol&#xff08;MCP&#xff09;\u4f53\u7cfb\u4e2d&#xff0c;\u5ba2\u6237\u7aef&#xff08;Client&#xff09;\u4e0d\u4ec5\u627f\u62c5\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u201c\u8c03\u7528\u8005\u201d\u89d2\u8272&#xff0c;\u66f4\u662f\u8fde\u63a5 \u7528\u6237\u3001\u670d\u52a1\u5668\u80fd\u529b\u4e0e\u8bed\u8a00\u6a21\u578b\u7684\u6838\u5fc3\u534f\u8c03\u8282\u70b9\u3002 \u901a\u8fc7\u4e00\u7ec4\u6807\u51c6\u5316\u7684\u5ba2\u6237\u7aef\u80fd\u529b&#xff0c;MCP \u5c06\u7528\u6237\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u8fb9\u754c\u63a7\u5236\u4ee5\u53ca\u6a21\u578b\u8c03\u7528\u6743\u9650\u96c6\u4e2d\u5728 Client \u4fa7&#xff0c;\u4ece\u800c\u5728\u5f00\u653e\u7684 Server \u751f\u6001\u4e2d\u5efa\u7acb\u4e00\u81f4\u3001\u53ef\u63a7\u4e14\u5b89\u5168\u7684\u534f\u4f5c\u6a21\u5f0f\u3002 \u672c\u6587\u57fa\u4e8e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/80479.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-05T00:33:23+00:00\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80479.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/80479.html\",\"name\":\"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-05T00:33:23+00:00\",\"dateModified\":\"2026-03-05T00:33:23+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/80479.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/80479.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80479.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b\"}]},{\"@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\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \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\/80479.html","og_locale":"zh_CN","og_type":"article","og_title":"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u5f15\u8a00 \u5728 Model Context Protocol&#xff08;MCP&#xff09;\u4f53\u7cfb\u4e2d&#xff0c;\u5ba2\u6237\u7aef&#xff08;Client&#xff09;\u4e0d\u4ec5\u627f\u62c5\u4f20\u7edf\u610f\u4e49\u4e0a\u7684\u201c\u8c03\u7528\u8005\u201d\u89d2\u8272&#xff0c;\u66f4\u662f\u8fde\u63a5 \u7528\u6237\u3001\u670d\u52a1\u5668\u80fd\u529b\u4e0e\u8bed\u8a00\u6a21\u578b\u7684\u6838\u5fc3\u534f\u8c03\u8282\u70b9\u3002 \u901a\u8fc7\u4e00\u7ec4\u6807\u51c6\u5316\u7684\u5ba2\u6237\u7aef\u80fd\u529b&#xff0c;MCP \u5c06\u7528\u6237\u4ea4\u4e92\u3001\u4e0a\u4e0b\u6587\u8fb9\u754c\u63a7\u5236\u4ee5\u53ca\u6a21\u578b\u8c03\u7528\u6743\u9650\u96c6\u4e2d\u5728 Client \u4fa7&#xff0c;\u4ece\u800c\u5728\u5f00\u653e\u7684 Server \u751f\u6001\u4e2d\u5efa\u7acb\u4e00\u81f4\u3001\u53ef\u63a7\u4e14\u5b89\u5168\u7684\u534f\u4f5c\u6a21\u5f0f\u3002 \u672c\u6587\u57fa\u4e8e","og_url":"https:\/\/www.wsisp.com\/helps\/80479.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-05T00:33:23+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/80479.html","url":"https:\/\/www.wsisp.com\/helps\/80479.html","name":"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-05T00:33:23+00:00","dateModified":"2026-03-05T00:33:23+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/80479.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/80479.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/80479.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MCP\u534f\u8bae\u4e4bClient \u7684\u5de5\u4f5c\u673a\u5236\u548c\u6d41\u7a0b"}]},{"@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\/80479","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=80479"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/80479\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=80479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=80479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=80479"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=80479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}