{"id":35306,"date":"2025-05-04T07:10:55","date_gmt":"2025-05-03T23:10:55","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/35306.html"},"modified":"2025-05-04T07:10:55","modified_gmt":"2025-05-03T23:10:55","slug":"%e3%80%90mcp%e6%8e%a2%e7%b4%a2%e5%ae%9e%e8%b7%b5%e3%80%913%e5%88%86%e9%92%9f%e6%90%ad%e5%bb%baai%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8cfastmcp%e8%ae%a9%e5%bc%80%e5%8f%91%e6%95%88%e7%8e%87%e9%a3%99","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/35306.html","title":{"rendered":"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d"},"content":{"rendered":"<h2>\u7cfb\u5217\u7bc7\u7ae0&#x1f4a5;<\/h2>\n<table>\n<tr>No.\u6587\u7ae0<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">1<\/td>\n<td align=\"left\">\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u3011Cherry Studio&#043;MCP\u5b9e\u6218&#xff1a;3\u6b65\u8ba9AI\u81ea\u52a8\u6293\u7f51\u9875\/\u8bfb\u6587\u4ef6\/\u8c03API<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">2<\/td>\n<td align=\"left\">\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u3011FastAPI &#043; MCP&#xff1a;2025\u5e74\u6700\u706b\u7684\u540e\u7aef\u4e0eAI\u96c6\u6210\u65b9\u6848<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">3<\/td>\n<td align=\"left\">\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u3011GitHub MCP Server&#xff1a;\u4e3a\u5f00\u53d1\u8005\u6253\u9020\u7684\u9ad8\u6548\u81ea\u52a8\u5316\u5de5\u5177<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">4<\/td>\n<td align=\"left\">\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u3011MoLing&#xff1a;\u96f6\u4f9d\u8d56\u8de8\u5e73\u53f0\u529e\u516c\u81ea\u52a8\u5316\u795e\u5668&#xff0c;3\u5206\u949f\u641e\u5b9a\u6587\u4ef6&#043;\u6d4f\u89c8\u5668\u53cc\u6838\u64cd\u4f5c<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">5<\/td>\n<td align=\"left\">\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668&#xff01;FastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h4>\u76ee\u5f55<\/h4>\n<ul>\n<li>\u7cfb\u5217\u7bc7\u7ae0&#x1f4a5;<\/li>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00\u3001\u9879\u76ee\u6982\u8ff0<\/li>\n<li>\u4e8c\u3001\u6838\u5fc3\u529f\u80fd<\/li>\n<li>\n<ul>\n<li>&#xff08;\u4e00&#xff09;\u5feb\u901f\u5f00\u53d1<\/li>\n<li>&#xff08;\u4e8c&#xff09;\u7b80\u6d01\u6613\u7528<\/li>\n<li>&#xff08;\u4e09&#xff09;Pythonic \u98ce\u683c<\/li>\n<li>&#xff08;\u56db&#xff09;\u5b8c\u6574\u7684 MCP \u5b9e\u73b0<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u6280\u672f\u539f\u7406<\/li>\n<li>\n<ul>\n<li>&#xff08;\u4e00&#xff09;MCP \u534f\u8bae<\/li>\n<li>&#xff08;\u4e8c&#xff09;FastMCP \u7684\u5b9e\u73b0<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u5e94\u7528\u573a\u666f<\/li>\n<li>\n<ul>\n<li>&#xff08;\u4e00&#xff09;\u5f00\u53d1\u7b80\u5355\u5de5\u5177<\/li>\n<li>&#xff08;\u4e8c&#xff09;\u96c6\u6210\u590d\u6742\u7cfb\u7edf<\/li>\n<li>&#xff08;\u4e09&#xff09;\u6784\u5efa\u4f01\u4e1a\u7ea7\u5e94\u7528<\/li>\n<\/ul>\n<\/li>\n<li>\u4e94\u3001\u5feb\u901f\u4f7f\u7528<\/li>\n<li>\n<ul>\n<li>&#xff08;\u4e00&#xff09;\u73af\u5883\u51c6\u5907<\/li>\n<li>&#xff08;\u4e8c&#xff09;\u57fa\u672c\u4f7f\u7528\u793a\u4f8b<\/li>\n<\/ul>\n<\/li>\n<li>\u516d\u3001\u7ed3\u8bed<\/li>\n<\/ul>\n<hr \/>\n<h2>\u524d\u8a00<\/h2>\n<p>\u5728\u4eba\u5de5\u667a\u80fd\u6280\u672f\u98de\u901f\u53d1\u5c55\u7684\u5f53\u4e0b&#xff0c;\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff08;MCP&#xff09;\u4f5c\u4e3a\u4e00\u79cd\u6807\u51c6\u5316\u63a5\u53e3\u534f\u8bae&#xff0c;\u9010\u6e10\u6210\u4e3a\u8fde\u63a5\u8bed\u8a00\u6a21\u578b&#xff08;LLM&#xff09;\u4e0e\u5916\u90e8\u8d44\u6e90\u7684\u5173\u952e\u7ebd\u5e26\u3002\u7136\u800c&#xff0c;\u5b9e\u73b0 MCP \u534f\u8bae\u7684\u590d\u6742\u6027\u5f80\u5f80\u8ba9\u5f00\u53d1\u8005\u4eec\u9762\u4e34\u8bf8\u591a\u6311\u6218\u3002\u4e3a\u4e86\u6253\u7834\u8fd9\u4e00\u56f0\u5883&#xff0c;FastMCP \u9879\u76ee\u6a2a\u7a7a\u51fa\u4e16\u3002\u5b83\u5982\u540c\u4e00\u675f\u5149&#xff0c;\u7167\u4eae\u4e86\u5f00\u53d1\u8005\u4eec\u524d\u884c\u7684\u9053\u8def&#xff0c;\u51ed\u501f\u5176\u9ad8\u6548\u3001\u7b80\u6d01\u4e14\u6781\u5177 Python \u98ce\u683c\u7684\u63a5\u53e3&#xff0c;\u6781\u5927\u7a0b\u5ea6\u5730\u7b80\u5316\u4e86 MCP \u670d\u52a1\u5668\u7684\u6784\u5efa\u6d41\u7a0b&#xff0c;\u8ba9\u5f00\u53d1\u8005\u4eec\u5f97\u4ee5\u5c06\u66f4\u591a\u7684\u7cbe\u529b\u6295\u5165\u5230\u5de5\u5177\u548c\u8d44\u6e90\u7684\u5f00\u53d1\u4e2d\u53bb&#xff0c;\u65e0\u9700\u5728\u5e95\u5c42\u5b9e\u73b0\u7684\u7e41\u7410\u7ec6\u8282\u4e0a\u8fc7\u591a\u7ea0\u7f20\u3002<\/p>\n<h2>\u4e00\u3001\u9879\u76ee\u6982\u8ff0<\/h2>\n<p>FastMCP \u662f\u4e00\u6b3e\u5f00\u6e90\u7684 Python \u5e93&#xff0c;\u4e13\u4e3a\u6253\u9020 MCP \u670d\u52a1\u5668\u800c\u751f&#xff0c;\u5b83\u4ee5\u4e00\u79cd\u7b80\u6d01\u9ad8\u6548\u7684\u65b9\u5f0f&#xff0c;\u5c06\u590d\u6742\u7684\u534f\u8bae\u7ec6\u8282\u548c\u670d\u52a1\u5668\u7ba1\u7406\u7edf\u7edf\u201c\u85cf\u533f\u201d\u8d77\u6765&#xff0c;\u4e3a\u5f00\u53d1\u8005\u4eec\u5448\u73b0\u51fa\u4e00\u4e2a\u6613\u4e8e\u4e0a\u624b\u7684\u9ad8\u7ea7\u63a5\u53e3\u3002 \u53ea\u9700\u8fd0\u7528\u7b80\u5355\u7684\u88c5\u9970\u5668&#xff0c;\u5f00\u53d1\u8005\u4fbf\u80fd\u8fc5\u901f\u5b9a\u4e49\u5de5\u5177\u4e0e\u8d44\u6e90&#xff0c;\u6210\u500d\u51cf\u5c11\u4ee3\u7801\u91cf\u7684\u540c\u65f6&#xff0c;\u4e5f\u8ba9\u5f00\u53d1\u8fc7\u7a0b\u53d8\u5f97\u66f4\u52a0\u8f7b\u677e\u6109\u60a6\u3002\u4e3e\u4e2a\u4f8b\u5b50&#xff0c;\u4ee5\u5f80\u9700\u8981\u6570\u5341\u884c\u4ee3\u7801\u624d\u80fd\u5b9e\u73b0\u7684\u529f\u80fd&#xff0c;\u5982\u4eca\u501f\u52a9 FastMCP \u7684\u88c5\u9970\u5668&#xff0c;\u4ec5\u9700\u5be5\u5be5\u6570\u884c\u5373\u53ef\u5b8c\u6210\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250503231054-6816a27e1cf76.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e8c\u3001\u6838\u5fc3\u529f\u80fd<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u5feb\u901f\u5f00\u53d1<\/h3>\n<p>FastMCP \u7684\u5feb\u901f\u5f00\u53d1\u80fd\u529b\u582a\u79f0\u4e00\u7edd\u3002\u5b83\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u6781\u4e3a\u7b80\u4fbf\u7684\u5de5\u5177\u548c\u8d44\u6e90\u5b9a\u4e49\u65b9\u5f0f&#xff0c;\u501f\u52a9\u88c5\u9970\u5668\u8fd9\u4e00\u8bed\u6cd5\u7cd6&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u8f7b\u677e\u5feb\u6377\u5730\u5b9a\u4e49\u5404\u79cd\u529f\u80fd\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u6570\u5b66\u8ba1\u7b97\u5de5\u5177&#xff0c;\u8fd8\u662f\u590d\u6742\u7684\u4e1a\u52a1\u903b\u8f91\u5904\u7406\u5de5\u5177&#xff0c;\u90fd\u80fd\u5728\u77ed\u65f6\u95f4\u5185\u642d\u5efa\u5b8c\u6210\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u5904\u7406\u7684\u5de5\u5177&#xff0c;\u4ee5\u5f80\u53ef\u80fd\u9700\u8981\u82b1\u8d39\u6570\u5c0f\u65f6\u53bb\u7f16\u5199\u548c\u8c03\u8bd5\u4ee3\u7801&#xff0c;\u800c\u73b0\u5728\u5229\u7528 FastMCP&#xff0c;\u53ea\u9700\u4e13\u6ce8\u4e8e\u6838\u5fc3\u903b\u8f91\u7684\u5b9e\u73b0&#xff0c;\u5927\u5927\u7f29\u77ed\u4e86\u5f00\u53d1\u5468\u671f\u3002\u5bf9\u4e8e\u8fed\u4ee3\u901f\u5ea6\u8981\u6c42\u6781\u9ad8\u7684\u9879\u76ee\u800c\u8a00&#xff0c;\u8fd9\u79cd\u5feb\u901f\u5f00\u53d1\u7684\u80fd\u529b\u65e0\u7591\u662f\u81f3\u5173\u91cd\u8981\u7684&#xff0c;\u5b83\u80fd\u591f\u8ba9\u56e2\u961f\u8fc5\u901f\u54cd\u5e94\u5e02\u573a\u9700\u6c42&#xff0c;\u53ca\u65f6\u63a8\u51fa\u65b0\u529f\u80fd\u3002<\/p>\n<h3>&#xff08;\u4e8c&#xff09;\u7b80\u6d01\u6613\u7528<\/h3>\n<p>FastMCP \u7684\u7b80\u6d01\u6027\u4f53\u73b0\u5728\u591a\u4e2a\u65b9\u9762\u3002\u9996\u5148&#xff0c;\u5b83\u7684 API \u8bbe\u8ba1\u7b80\u6d01\u660e\u4e86&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u67e5\u9605\u539a\u91cd\u7684\u6587\u6863&#xff0c;\u5c31\u80fd\u591f\u5feb\u901f\u638c\u63e1\u5176\u7528\u6cd5\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u542f\u52a8\u4e00\u4e2a MCP \u670d\u52a1\u5668&#xff0c;\u4ec5\u9700\u51e0\u884c\u4ee3\u7801\u5373\u53ef\u5b8c\u6210&#xff0c;\u8fd9\u5728\u4ee5\u5f80\u662f\u975e\u5e38\u96be\u4ee5\u60f3\u8c61\u7684\u3002\u5176\u6b21&#xff0c;\u5b83\u5c06\u5e95\u5c42\u7684\u534f\u8bae\u7ec6\u8282\u8fdb\u884c\u4e86\u9ad8\u5ea6\u5c01\u88c5&#xff0c;\u4f7f\u5f97\u5f00\u53d1\u8005\u65e0\u9700\u6df1\u5165\u4e86\u89e3 MCP \u534f\u8bae\u7684\u5177\u4f53\u89c4\u8303&#xff0c;\u4e5f\u80fd\u8f7b\u677e\u6784\u5efa\u51fa\u7b26\u5408\u8981\u6c42\u7684\u670d\u52a1\u5668\u3002\u8fd9\u79cd\u7b80\u6d01\u6613\u7528\u7684\u7279\u6027&#xff0c;\u4f7f\u5f97\u5373\u4f7f\u662f\u65b0\u624b\u5f00\u53d1\u8005&#xff0c;\u4e5f\u80fd\u5728\u77ed\u65f6\u95f4\u5185\u642d\u5efa\u8d77\u529f\u80fd\u5b8c\u5907\u7684 MCP \u670d\u52a1\u5668&#xff0c;\u5927\u5927\u964d\u4f4e\u4e86\u5f00\u53d1\u95e8\u69db\u3002<\/p>\n<h3>&#xff08;\u4e09&#xff09;Pythonic \u98ce\u683c<\/h3>\n<p>FastMCP \u5b8c\u7f8e\u5730\u9075\u5faa Python \u7684\u5f00\u53d1\u98ce\u683c&#xff0c;\u8fd9\u4f7f\u5f97\u5b83\u5728 Python \u5f00\u53d1\u8005\u793e\u533a\u4e2d\u5907\u53d7\u6b22\u8fce\u3002\u5b83\u7684\u4ee3\u7801\u7ed3\u6784\u6e05\u6670\u3001\u8bed\u4e49\u660e\u786e&#xff0c;\u5b8c\u5168\u7b26\u5408 Python \u6240\u5021\u5bfc\u7684\u7b80\u6d01\u660e\u4e86\u7684\u7f16\u7a0b\u7406\u5ff5\u3002\u5f00\u53d1\u8005\u5728\u4f7f\u7528 FastMCP \u65f6&#xff0c;\u80fd\u591f\u611f\u53d7\u5230\u4e00\u79cd\u719f\u6089\u7684\u5f00\u53d1\u4f53\u9a8c&#xff0c;\u65e0\u9700\u53bb\u9002\u5e94\u90a3\u4e9b\u6666\u6da9\u96be\u61c2\u7684\u8bed\u6cd5\u548c\u89c4\u5219\u3002<\/p>\n<p>\u4f8b\u5982&#xff0c;\u5b83\u7684\u88c5\u9970\u5668\u8bed\u6cd5\u4e0e Python \u5185\u7f6e\u7684\u88c5\u9970\u5668\u4f7f\u7528\u65b9\u5f0f\u4e00\u81f4&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u8f7b\u677e\u4e0a\u624b&#xff0c;\u65e0\u9700\u989d\u5916\u5b66\u4e60\u6210\u672c\u3002<\/p>\n<h3>&#xff08;\u56db&#xff09;\u5b8c\u6574\u7684 MCP \u5b9e\u73b0<\/h3>\n<p>FastMCP \u5e76\u975e\u53ea\u662f\u4e00\u4e2a\u7b80\u5316\u5f00\u53d1\u6d41\u7a0b\u7684\u5de5\u5177&#xff0c;\u5b83\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684 MCP \u534f\u8bae\u5b9e\u73b0\u3002\u8fd9\u610f\u5473\u7740\u5b83\u80fd\u591f\u652f\u6301 MCP \u534f\u8bae\u6240\u89c4\u5b9a\u7684\u5404\u79cd\u529f\u80fd&#xff0c;\u5305\u62ec\u8d44\u6e90\u3001\u5de5\u5177\u548c\u63d0\u793a\u7684\u5b9a\u4e49\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u5de5\u5177\u8c03\u7528&#xff0c;\u8fd8\u662f\u590d\u6742\u7684\u8d44\u6e90\u7ba1\u7406&#xff0c;FastMCP \u90fd\u80fd\u591f\u80dc\u4efb\u3002\u8fd9\u79cd\u5b8c\u6574\u7684\u5b9e\u73b0&#xff0c;\u4f7f\u5f97 FastMCP \u80fd\u591f\u6ee1\u8db3\u4ece\u7b80\u5355\u5e94\u7528\u573a\u666f\u5230\u590d\u6742\u7cfb\u7edf\u67b6\u6784\u7684\u5404\u79cd\u9700\u6c42&#xff0c;\u5f00\u53d1\u8005\u65e0\u9700\u62c5\u5fc3\u5176\u529f\u80fd\u7684\u5b8c\u5907\u6027\u3002<\/p>\n<h2>\u4e09\u3001\u6280\u672f\u539f\u7406<\/h2>\n<h3>&#xff08;\u4e00&#xff09;MCP \u534f\u8bae<\/h3>\n<p>MCP \u534f\u8bae\u662f\u8fde\u63a5\u8bed\u8a00\u6a21\u578b\u4e0e\u5916\u90e8\u8d44\u6e90\u7684\u91cd\u8981\u6865\u6881&#xff0c;\u5b83\u5b9a\u4e49\u4e86\u4e00\u7cfb\u5217\u7684\u63a5\u53e3\u548c\u6570\u636e\u683c\u5f0f&#xff0c;\u4f7f\u5f97\u8bed\u8a00\u6a21\u578b\u80fd\u591f\u4e0e\u5916\u90e8\u5de5\u5177\u548c\u670d\u52a1\u8fdb\u884c\u9ad8\u6548\u4e92\u52a8\u3002\u901a\u8fc7 MCP \u534f\u8bae&#xff0c;\u8bed\u8a00\u6a21\u578b\u53ef\u4ee5\u83b7\u53d6\u5916\u90e8\u6570\u636e\u3001\u8c03\u7528\u5916\u90e8\u5de5\u5177&#xff0c;\u4ece\u800c\u5927\u5927\u589e\u5f3a\u4e86\u5176\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b\u3002<\/p>\n<h3>&#xff08;\u4e8c&#xff09;FastMCP \u7684\u5b9e\u73b0<\/h3>\n<p>FastMCP \u7684\u5b9e\u73b0\u582a\u79f0\u7cbe\u5999\u3002\u5b83\u901a\u8fc7\u62bd\u8c61\u5316\u5e95\u5c42\u7684\u534f\u8bae\u7ec6\u8282&#xff0c;\u8ba9\u5f00\u53d1\u8005\u65e0\u9700\u5173\u6ce8\u7e41\u7410\u7684\u5e95\u5c42\u5b9e\u73b0&#xff0c;\u53ea\u9700\u4e13\u6ce8\u4e8e\u529f\u80fd\u7684\u5b9a\u4e49\u548c\u5f00\u53d1\u3002\u5728\u5185\u90e8&#xff0c;FastMCP \u5bf9 MCP \u534f\u8bae\u7684\u5404\u4e2a\u5c42\u9762\u8fdb\u884c\u4e86\u6df1\u5ea6\u4f18\u5316\u548c\u5c01\u88c5&#xff0c;\u786e\u4fdd\u4e86\u670d\u52a1\u5668\u7684\u9ad8\u6548\u8fd0\u884c\u3002\u540c\u65f6&#xff0c;\u5b83\u8fd8\u63d0\u4f9b\u4e86\u7075\u6d3b\u7684\u5ba2\u6237\u7aef\u3001\u4ee3\u7406\u548c\u7ec4\u5408\u529f\u80fd&#xff0c;\u4f7f\u5f97\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u4ea4\u4e92\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u9ad8\u6548\u3002<\/p>\n<h2>\u56db\u3001\u5e94\u7528\u573a\u666f<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u5f00\u53d1\u7b80\u5355\u5de5\u5177<\/h3>\n<p>FastMCP \u5728\u5f00\u53d1\u7b80\u5355\u5de5\u5177\u65b9\u9762\u5177\u6709\u65e0\u53ef\u6bd4\u62df\u7684\u4f18\u52bf\u3002\u4f8b\u5982&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u77ed\u65f6\u95f4\u5185\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u8ba1\u7b97\u5668\u5de5\u5177&#xff0c;\u901a\u8fc7 MCP \u534f\u8bae&#xff0c;\u8fd9\u4e2a\u8ba1\u7b97\u5668\u5de5\u5177\u53ef\u4ee5\u88ab\u8bed\u8a00\u6a21\u578b\u8c03\u7528&#xff0c;\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4fbf\u6377\u7684\u8ba1\u7b97\u670d\u52a1\u3002\u518d\u6bd4\u5982&#xff0c;\u4e00\u4e2a\u6587\u672c\u5904\u7406\u5de5\u5177&#xff0c;\u53ef\u4ee5\u5bf9\u8bed\u8a00\u6a21\u578b\u751f\u6210\u7684\u6587\u672c\u8fdb\u884c\u683c\u5f0f\u5316\u3001\u6821\u9a8c\u7b49\u64cd\u4f5c&#xff0c;\u63d0\u5347\u6587\u672c\u7684\u8d28\u91cf\u3002<\/p>\n<h3>&#xff08;\u4e8c&#xff09;\u96c6\u6210\u590d\u6742\u7cfb\u7edf<\/h3>\n<p>\u9664\u4e86\u7b80\u5355\u7684\u5de5\u5177\u5f00\u53d1&#xff0c;FastMCP \u8fd8\u80fd\u591f\u80dc\u4efb\u590d\u6742\u7cfb\u7edf\u7684\u96c6\u6210\u5de5\u4f5c\u3002\u4f8b\u5982&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528 FastMCP \u96c6\u6210 OpenAI \u7684 Web \u641c\u7d22\u7ed3\u679c\u5de5\u5177&#xff0c;\u5b9e\u73b0\u4e00\u4e2a\u667a\u80fd\u95ee\u7b54\u7cfb\u7edf\u3002\u5728\u8fd9\u4e2a\u7cfb\u7edf\u4e2d&#xff0c;\u8bed\u8a00\u6a21\u578b\u53ef\u4ee5\u901a\u8fc7 MCP \u534f\u8bae\u8c03\u7528 Web \u641c\u7d22\u5f15\u64ce&#xff0c;\u83b7\u53d6\u6700\u65b0\u7684\u7f51\u7edc\u4fe1\u606f&#xff0c;\u5e76\u7ed3\u5408\u81ea\u8eab\u7684\u8bed\u8a00\u751f\u6210\u80fd\u529b&#xff0c;\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u591a\u51c6\u786e\u3001\u53ca\u65f6\u7684\u7b54\u6848\u3002\u8fd9\u79cd\u590d\u6742\u7cfb\u7edf\u7684\u96c6\u6210&#xff0c;\u4e0d\u4ec5\u5c55\u793a\u4e86 FastMCP \u7684\u5f3a\u5927\u529f\u80fd&#xff0c;\u4e5f\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u65e0\u9650\u7684\u53ef\u80fd\u6027\u3002<\/p>\n<h3>&#xff08;\u4e09&#xff09;\u6784\u5efa\u4f01\u4e1a\u7ea7\u5e94\u7528<\/h3>\n<p>\u5728\u4f01\u4e1a\u7ea7\u5e94\u7528\u9886\u57df&#xff0c;FastMCP \u540c\u6837\u5927\u6709\u53ef\u4e3a\u3002\u4f01\u4e1a\u53ef\u4ee5\u5229\u7528 FastMCP \u6784\u5efa\u590d\u6742\u7684\u4e1a\u52a1\u7cfb\u7edf&#xff0c;\u5982\u5ba2\u6237\u5173\u7cfb\u7ba1\u7406\u7cfb\u7edf&#xff08;CRM&#xff09;\u3001\u4f01\u4e1a\u8d44\u6e90\u89c4\u5212\u7cfb\u7edf&#xff08;ERP&#xff09;\u7b49\u3002\u901a\u8fc7 MCP \u534f\u8bae&#xff0c;\u8fd9\u4e9b\u7cfb\u7edf\u53ef\u4ee5\u4e0e\u8bed\u8a00\u6a21\u578b\u8fdb\u884c\u6df1\u5ea6\u96c6\u6210&#xff0c;\u5b9e\u73b0\u667a\u80fd\u5316\u7684\u4e1a\u52a1\u6d41\u7a0b\u7ba1\u7406\u3002\u4f8b\u5982&#xff0c;\u4e00\u4e2a CRM \u7cfb\u7edf\u53ef\u4ee5\u901a\u8fc7 MCP \u534f\u8bae\u8c03\u7528\u8bed\u8a00\u6a21\u578b&#xff0c;\u5b9e\u73b0\u667a\u80fd\u5ba2\u670d\u529f\u80fd&#xff0c;\u81ea\u52a8\u56de\u7b54\u5ba2\u6237\u54a8\u8be2\u7684\u95ee\u9898&#xff0c;\u63d0\u9ad8\u5ba2\u6237\u670d\u52a1\u6548\u7387\u3002<\/p>\n<h2>\u4e94\u3001\u5feb\u901f\u4f7f\u7528<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u73af\u5883\u51c6\u5907<\/h3>\n<p>\u5728\u5f00\u59cb\u4f7f\u7528 FastMCP \u4e4b\u524d&#xff0c;\u786e\u4fdd\u5df2\u5b89\u88c5 Python \u73af\u5883&#xff0c;\u5e76\u5b89\u88c5 FastMCP \u4f9d\u8d56\u5e93\u3002Python \u662f FastMCP \u7684\u8fd0\u884c\u57fa\u7840&#xff0c;\u800c\u4f9d\u8d56\u5e93\u5219\u4e3a FastMCP \u63d0\u4f9b\u4e86\u5fc5\u8981\u7684\u529f\u80fd\u652f\u6301\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 FastMCP \u4f9d\u8d56\u5e93&#xff1a;<\/p>\n<p>pip <span class=\"token function\">install<\/span> fastmcp<\/p>\n<h3>&#xff08;\u4e8c&#xff09;\u57fa\u672c\u4f7f\u7528\u793a\u4f8b<\/h3>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f7f\u7528\u793a\u4f8b&#xff0c;\u5c55\u793a\u4e86\u5982\u4f55\u5229\u7528 FastMCP \u521b\u5efa\u4e00\u4e2a MCP \u670d\u52a1\u5668\u5e76\u5b9a\u4e49\u4e00\u4e2a\u7b80\u5355\u7684\u5de5\u5177&#xff1a;<\/p>\n<p><span class=\"token keyword\">from<\/span> fastmcp <span class=\"token keyword\">import<\/span> FastMCP<\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u4e00\u4e2a MCP \u670d\u52a1\u5668<\/span><br \/>\nmcp <span class=\"token operator\">&#061;<\/span> FastMCP<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Demo&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u4e00\u4e2a\u7b80\u5355\u7684\u5de5\u5177<\/span><br \/>\n<span class=\"token decorator annotation punctuation\">&#064;mcp<span class=\"token punctuation\">.<\/span>tool<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">def<\/span> <span class=\"token function\">add<\/span><span class=\"token punctuation\">(<\/span>a<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">,<\/span> b<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;Add two numbers&#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> a <span class=\"token operator\">&#043;<\/span> b<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8\u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;__main__&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    mcp<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d&#xff0c;\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86 FastMCP \u5e93&#xff0c;\u7136\u540e\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a \u201cDemo\u201d \u7684 MCP \u670d\u52a1\u5668\u5b9e\u4f8b\u3002\u63a5\u7740&#xff0c;\u6211\u4eec\u4f7f\u7528 &#064;mcp.tool() \u88c5\u9970\u5668\u5b9a\u4e49\u4e86\u4e00\u4e2a\u540d\u4e3a add \u7684\u5de5\u5177&#xff0c;\u8be5\u5de5\u5177\u63a5\u6536\u4e24\u4e2a\u6574\u6570\u53c2\u6570\u5e76\u8fd4\u56de\u5b83\u4eec\u7684\u548c\u3002\u6700\u540e&#xff0c;\u901a\u8fc7\u8c03\u7528 mcp.run() \u65b9\u6cd5\u542f\u52a8\u4e86\u670d\u52a1\u5668\u3002\u5f53\u670d\u52a1\u5668\u542f\u52a8\u540e&#xff0c;\u8fd9\u4e2a add \u5de5\u5177\u5c31\u53ef\u4ee5\u901a\u8fc7 MCP \u534f\u8bae\u88ab\u5176\u4ed6\u8bed\u8a00\u6a21\u578b\u6216\u5ba2\u6237\u7aef\u8c03\u7528\u4e86\u3002<\/p>\n<h2>\u516d\u3001\u7ed3\u8bed<\/h2>\n<p>FastMCP \u4f5c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u7684 Python \u5e93&#xff0c;\u51ed\u501f\u5176\u5feb\u901f\u5f00\u53d1\u3001\u7b80\u6d01\u6613\u7528\u3001Pythonic \u98ce\u683c\u548c\u5b8c\u6574\u7684 MCP \u534f\u8bae\u5b9e\u73b0&#xff0c;\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u4e00\u4e2a\u9ad8\u6548\u3001\u4fbf\u6377\u7684 MCP \u670d\u52a1\u5668\u6784\u5efa\u5de5\u5177\u3002\u5b83\u4e0d\u4ec5\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5f00\u53d1\u7b80\u5355\u5de5\u5177&#xff0c;\u8fd8\u80fd\u652f\u6301\u590d\u6742\u7cfb\u7edf\u7684\u96c6\u6210\u548c\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u6784\u5efa\u3002\u65e0\u8bba\u662f\u5728\u5c0f\u578b\u9879\u76ee\u8fd8\u662f\u5927\u578b\u4f01\u4e1a\u5e94\u7528\u4e2d&#xff0c;FastMCP \u90fd\u80fd\u53d1\u6325\u5176\u72ec\u7279\u7684\u4f18\u52bf&#xff0c;\u52a9\u529b\u5f00\u53d1\u8005\u5b9e\u73b0\u9ad8\u6548\u3001\u667a\u80fd\u7684\u7cfb\u7edf\u5f00\u53d1\u3002\u5e0c\u671b\u672c\u6587\u7684\u4ecb\u7ecd\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u4e86\u89e3\u548c\u4f7f\u7528 FastMCP&#xff0c;\u8fdb\u4e00\u6b65\u63a2\u7d22\u5176\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u7684\u5e94\u7528\u3002<\/p>\n<p>FastMCP GitHub &#xff1a;https:\/\/github.com\/jlowin\/fastmcp<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250503231054-6816a27e5a7d5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#x1f3af;&#x1f516;\u66f4\u591a\u4e13\u680f\u7cfb\u5217\u6587\u7ae0&#xff1a;AI\u5927\u6a21\u578b\u63d0\u793a\u5de5\u7a0b\u5b8c\u5168\u6307\u5357\u3001AI\u5927\u6a21\u578b\u63a2\u7d22\u4e4b\u8def&#xff08;\u96f6\u57fa\u7840\u5165\u95e8&#xff09;\u3001AI\u5927\u6a21\u578b\u9884\u8bad\u7ec3\u5fae\u8c03\u8fdb\u9636\u3001AI\u5927\u6a21\u578b\u5f00\u6e90\u7cbe\u9009\u5b9e\u8df5\u3001AI\u5927\u6a21\u578bRAG\u5e94\u7528\u63a2\u7d22\u5b9e\u8df5&#x1f525;&#x1f525;&#x1f525; \u5176\u4ed6\u4e13\u680f\u53ef\u4ee5\u67e5\u770b\u535a\u5ba2\u4e3b\u9875&#x1f4d1;<\/p>\n<p>&#x1f60e; \u4f5c\u8005\u4ecb\u7ecd&#xff1a;\u8d44\u6df1\u7a0b\u5e8f\u8001\u733f&#xff0c;\u4ece\u4e1a10\u5e74&#043;\u3001\u4e92\u8054\u7f51\u7cfb\u7edf\u67b6\u6784\u5e08&#xff0c;\u76ee\u524d\u4e13\u6ce8\u4e8eAIGC\u7684\u63a2\u7d22&#xff08;CSDN\u535a\u5ba2\u4e4b\u661f|AIGC\u9886\u57df\u4f18\u8d28\u521b\u4f5c\u8005&#xff09; &#x1f4d6;\u4e13\u5c5e\u793e\u7fa4&#xff1a;\u6b22\u8fce\u5173\u6ce8\u3010\u5c0f\u5175\u7684AI\u89c6\u754c\u3011\u516c\u4f17\u53f7\u6216\u626b\u63cf\u4e0b\u65b9&#x1f447;\u4e8c\u7ef4\u7801&#xff0c;\u56de\u590d\u2018\u5165\u7fa4\u2019 \u5373\u523b\u4e0a\u8f66&#xff0c;\u83b7\u53d6\u9080\u8bf7\u94fe\u63a5\u3002 &#x1f498;<font color=\"purple\">\u9886\u53d6\u4e09\u5927\u4e13\u5c5e\u798f\u5229<\/font>&#xff1a;1\ufe0f\u20e3\u514d\u8d39\u8d60\u9001AI&#043;\u7f16\u7a0b&#x1f4da;500\u672c&#xff0c;2\ufe0f\u20e3AI\u6280\u672f\u6559\u7a0b\u526f\u4e1a\u8d44\u65991\u5957&#xff0c;3\ufe0f\u20e3DeepSeek\u8d44\u6599\u6559\u7a0b1\u5957&#x1f525;&#xff08;\u9650\u524d500\u4eba&#xff09; \u5982\u679c\u6587\u7ae0\u5185\u5bb9\u5bf9\u60a8\u6709\u6240\u89e6\u52a8&#xff0c;\u522b\u5fd8\u4e86<font color=\"red\">\u70b9\u8d5e\u3001\u2b50\u5173\u6ce8&#xff0c;\u6536\u85cf<\/font>&#xff01;\u52a0\u5165\u6211\u4eec&#xff0c;\u4e00\u8d77\u643a\u624b\u540c\u884cAI\u7684\u63a2\u7d22\u4e4b\u65c5&#xff0c;\u5f00\u542f\u667a\u80fd\u65f6\u4ee3\u7684\u5927\u95e8&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb994\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u5728\u4eba\u5de5\u667a\u80fd\u6280\u672f\u98de\u901f\u53d1\u5c55\u7684\u5f53\u4e0b\uff0c\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff08MCP\uff09\u4f5c\u4e3a\u4e00\u79cd\u6807\u51c6\u5316\u63a5\u53e3\u534f\u8bae\uff0c\u9010\u6e10\u6210\u4e3a\u8fde\u63a5\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e0e\u5916\u90e8\u8d44\u6e90\u7684\u5173\u952e\u7ebd\u5e26\u3002\u7136\u800c\uff0c\u5b9e\u73b0 MCP \u534f\u8bae\u7684\u590d\u6742\u6027\u5f80\u5f80\u8ba9\u5f00\u53d1\u8005\u4eec\u9762\u4e34\u8bf8\u591a\u6311\u6218\u3002\u4e3a\u4e86\u6253\u7834\u8fd9\u4e00\u56f0\u5883\uff0cFastMCP \u9879\u76ee\u6a2a\u7a7a\u51fa\u4e16\u3002\u5b83\u5982\u540c\u4e00\u675f\u5149\uff0c\u7167\u4eae\u4e86\u5f00\u53d1\u8005\u4eec\u524d\u884c\u7684\u9053\u8def\uff0c\u51ed\u501f\u5176\u9ad8\u6548\u3001\u7b80\u6d01\u4e14\u6781\u5177 Python \u98ce\u683c\u7684\u63a5\u53e3\uff0c\u6781\u5927\u7a0b\u5ea6\u5730\u7b80\u5316\u4e86 MCP \u670d\u52a1\u5668\u7684\u6784\u5efa\u6d41\u7a0b\uff0c\u8ba9\u5f00\u53d1\u8005\u4eec\u5f97\u4ee5\u5c06\u66f4\u591a\u7684\u7cbe\u529b\u6295\u5165\u5230\u5de5\u5177\u548c\u8d44\u6e90\u7684\u5f00\u53d1\u4e2d\u53bb\uff0c\u65e0\u9700\u5728\u5e95\u5c42\u5b9e\u73b0\u7684\u7e41\u7410\u7ec6\u8282\u4e0a\u8fc7\u591a\u7ea0\u7f20\u3002<\/p>\n","protected":false},"author":2,"featured_media":35304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[52,3022,53,92,50,227],"topic":[],"class_list":{"0":"post-35306","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-aigc","9":"tag-ai","11":"tag-github","12":"tag-50","13":"tag-227"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \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\/35306.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb994\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u5728\u4eba\u5de5\u667a\u80fd\u6280\u672f\u98de\u901f\u53d1\u5c55\u7684\u5f53\u4e0b\uff0c\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff08MCP\uff09\u4f5c\u4e3a\u4e00\u79cd\u6807\u51c6\u5316\u63a5\u53e3\u534f\u8bae\uff0c\u9010\u6e10\u6210\u4e3a\u8fde\u63a5\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e0e\u5916\u90e8\u8d44\u6e90\u7684\u5173\u952e\u7ebd\u5e26\u3002\u7136\u800c\uff0c\u5b9e\u73b0 MCP \u534f\u8bae\u7684\u590d\u6742\u6027\u5f80\u5f80\u8ba9\u5f00\u53d1\u8005\u4eec\u9762\u4e34\u8bf8\u591a\u6311\u6218\u3002\u4e3a\u4e86\u6253\u7834\u8fd9\u4e00\u56f0\u5883\uff0cFastMCP \u9879\u76ee\u6a2a\u7a7a\u51fa\u4e16\u3002\u5b83\u5982\u540c\u4e00\u675f\u5149\uff0c\u7167\u4eae\u4e86\u5f00\u53d1\u8005\u4eec\u524d\u884c\u7684\u9053\u8def\uff0c\u51ed\u501f\u5176\u9ad8\u6548\u3001\u7b80\u6d01\u4e14\u6781\u5177 Python \u98ce\u683c\u7684\u63a5\u53e3\uff0c\u6781\u5927\u7a0b\u5ea6\u5730\u7b80\u5316\u4e86 MCP \u670d\u52a1\u5668\u7684\u6784\u5efa\u6d41\u7a0b\uff0c\u8ba9\u5f00\u53d1\u8005\u4eec\u5f97\u4ee5\u5c06\u66f4\u591a\u7684\u7cbe\u529b\u6295\u5165\u5230\u5de5\u5177\u548c\u8d44\u6e90\u7684\u5f00\u53d1\u4e2d\u53bb\uff0c\u65e0\u9700\u5728\u5e95\u5c42\u5b9e\u73b0\u7684\u7e41\u7410\u7ec6\u8282\u4e0a\u8fc7\u591a\u7ea0\u7f20\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/35306.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-03T23:10:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250503231054-6816a27e1cf76.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=\"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\/35306.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/35306.html\",\"name\":\"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-03T23:10:55+00:00\",\"dateModified\":\"2025-05-03T23:10:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/35306.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/35306.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/35306.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d\"}]},{\"@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":"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \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\/35306.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb994\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf46\u6b21\u3002\u5728\u4eba\u5de5\u667a\u80fd\u6280\u672f\u98de\u901f\u53d1\u5c55\u7684\u5f53\u4e0b\uff0c\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff08MCP\uff09\u4f5c\u4e3a\u4e00\u79cd\u6807\u51c6\u5316\u63a5\u53e3\u534f\u8bae\uff0c\u9010\u6e10\u6210\u4e3a\u8fde\u63a5\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u4e0e\u5916\u90e8\u8d44\u6e90\u7684\u5173\u952e\u7ebd\u5e26\u3002\u7136\u800c\uff0c\u5b9e\u73b0 MCP \u534f\u8bae\u7684\u590d\u6742\u6027\u5f80\u5f80\u8ba9\u5f00\u53d1\u8005\u4eec\u9762\u4e34\u8bf8\u591a\u6311\u6218\u3002\u4e3a\u4e86\u6253\u7834\u8fd9\u4e00\u56f0\u5883\uff0cFastMCP \u9879\u76ee\u6a2a\u7a7a\u51fa\u4e16\u3002\u5b83\u5982\u540c\u4e00\u675f\u5149\uff0c\u7167\u4eae\u4e86\u5f00\u53d1\u8005\u4eec\u524d\u884c\u7684\u9053\u8def\uff0c\u51ed\u501f\u5176\u9ad8\u6548\u3001\u7b80\u6d01\u4e14\u6781\u5177 Python \u98ce\u683c\u7684\u63a5\u53e3\uff0c\u6781\u5927\u7a0b\u5ea6\u5730\u7b80\u5316\u4e86 MCP \u670d\u52a1\u5668\u7684\u6784\u5efa\u6d41\u7a0b\uff0c\u8ba9\u5f00\u53d1\u8005\u4eec\u5f97\u4ee5\u5c06\u66f4\u591a\u7684\u7cbe\u529b\u6295\u5165\u5230\u5de5\u5177\u548c\u8d44\u6e90\u7684\u5f00\u53d1\u4e2d\u53bb\uff0c\u65e0\u9700\u5728\u5e95\u5c42\u5b9e\u73b0\u7684\u7e41\u7410\u7ec6\u8282\u4e0a\u8fc7\u591a\u7ea0\u7f20\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/35306.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-03T23:10:55+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250503231054-6816a27e1cf76.png"}],"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\/35306.html","url":"https:\/\/www.wsisp.com\/helps\/35306.html","name":"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-03T23:10:55+00:00","dateModified":"2025-05-03T23:10:55+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/35306.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/35306.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/35306.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010MCP\u63a2\u7d22\u5b9e\u8df5\u30113\u5206\u949f\u642d\u5efaAI\u670d\u52a1\u5668\uff0cFastMCP\u8ba9\u5f00\u53d1\u6548\u7387\u98d9\u534710\u500d"}]},{"@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\/35306","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=35306"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/35306\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/35304"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=35306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=35306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=35306"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=35306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}