{"id":33462,"date":"2025-04-27T18:40:24","date_gmt":"2025-04-27T10:40:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/33462.html"},"modified":"2025-04-27T18:40:24","modified_gmt":"2025-04-27T10:40:24","slug":"%e7%ac%ac%e4%ba%8c%e7%ab%a0%ef%bc%9amcp%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%88%86%e7%b1%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/33462.html","title":{"rendered":"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b"},"content":{"rendered":"<h2>Chapter 2: MCP\u670d\u52a1\u5668\u5206\u7c7b<\/h2>\n<hr \/>\n<h3>&#x1f31f; \u4ece\u4e0a\u4e00\u7ae0\u5230\u672c\u7ae0<\/h3>\n<p>\u5728\u7b2c\u4e00\u7ae0&#xff1a;Model Context Protocol (MCP)\u4e2d&#xff0c;\u6211\u4eec\u5b66\u4e60\u4e86\u5982\u4f55\u901a\u8fc7MCP\u8ba9LLM\u5b89\u5168\u8bbf\u95ee\u6587\u4ef6\u7cfb\u7edf\u3002\u73b0\u5728&#xff0c;\u8ba9\u6211\u4eec\u60f3\u8c61\u4e00\u4e2a\u66f4\u590d\u6742\u7684\u9700\u6c42&#xff1a;\u5047\u8bbe\u4f60\u9700\u8981\u8ba9LLM\u540c\u65f6\u5904\u7406\u6587\u4ef6\u3001\u67e5\u8be2\u6570\u636e\u5e93\u3001\u5206\u6790\u4ee3\u7801\u4ed3\u5e93&#xff0c;\u751a\u81f3\u8fde\u63a5\u4e91\u7aef\u670d\u52a1\u3002\u8fd9\u65f6\u5019\u95ee\u9898\u6765\u4e86\u2014\u2014\u5982\u4f55\u5feb\u901f\u627e\u5230\u9002\u5408\u8fd9\u4e9b\u4efb\u52a1\u7684\u670d\u52a1\u5668&#xff1f;<\/p>\n<p>\u672c\u7ae0\u5c06\u4ecb\u7ecdMCP\u670d\u52a1\u5668\u7684\u4e09\u7c7b\u5206\u7c7b\u4f53\u7cfb&#xff08;\u5b98\u65b9\u793a\u4f8b\u3001\u5b98\u65b9\u96c6\u6210\u3001\u793e\u533a\u5f00\u53d1&#xff09;&#xff0c;\u5e2e\u52a9\u4f60\u50cf\u201c\u8d85\u5e02\u8d2d\u7269\u201d\u4e00\u6837&#xff0c;\u6839\u636e\u9700\u6c42\u5feb\u901f\u9009\u62e9\u6216\u6784\u5efa\u670d\u52a1\u5668&#xff01;<\/p>\n<hr \/>\n<h3>&#x1f3af; \u4e2d\u5fc3\u7528\u4f8b&#xff1a;\u9009\u62e9\u9002\u5408\u4efb\u52a1\u7684\u670d\u52a1\u5668<\/h3>\n<p>\u5047\u8bbe\u4f60\u6b63\u5728\u5f00\u53d1\u4e00\u4e2aAI\u52a9\u624b&#xff0c;\u9700\u8981\u4ee5\u4e0b\u529f\u80fd&#xff1a;<\/p>\n<li>\u8bfb\u53d6\u672c\u5730\u6587\u4ef6&#xff08;\u5982PDF\u5408\u540c&#xff09;<\/li>\n<li>\u67e5\u8be2\u516c\u53f8\u6570\u636e\u5e93&#xff08;\u5982\u5ba2\u6237\u4fe1\u606f&#xff09;<\/li>\n<li>\u5206\u6790GitHub\u4ed3\u5e93&#xff08;\u5982\u9879\u76ee\u4ee3\u7801\u53d8\u66f4&#xff09;<\/li>\n<ul>\n<li>\u5bf9\u4e8e\u6587\u4ef6\u64cd\u4f5c&#xff0c;\u4f60\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5b98\u65b9\u63d0\u4f9b\u7684Reference\u670d\u52a1\u5668&#xff08;\u5982Filesystem&#xff09;<\/li>\n<li>\u5bf9\u4e8e\u6570\u636e\u5e93\u8bbf\u95ee&#xff0c;\u53ef\u80fd\u9700\u8981\u96c6\u6210Third-Party\u670d\u52a1\u5668&#xff08;\u5982AWS\u6216PostgreSQL&#xff09;<\/li>\n<li>\u5bf9\u4e8eGitHub\u5206\u6790&#xff0c;\u793e\u533a\u53ef\u80fd\u5df2\u5f00\u53d1\u4e86\u73b0\u6210\u7684Community\u670d\u52a1\u5668<\/li>\n<\/ul>\n<hr \/>\n<h3>&#x1f50d; \u4e09\u7c7b\u670d\u52a1\u5668\u7684\u6838\u5fc3\u533a\u522b<\/h3>\n<p>MCP\u5c06\u670d\u52a1\u5668\u5206\u4e3a\u4e09\u7c7b&#xff0c;\u7528\u4e0d\u540c\u201c\u4fe1\u4efb\u7b49\u7ea7\u201d\u548c\u201c\u4f7f\u7528\u573a\u666f\u201d\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u51b3\u7b56&#xff1a;<\/p>\n<h4>1. Reference&#xff08;\u5b98\u65b9\u793a\u4f8b&#xff09;<\/h4>\n<ul>\n<li>\u4fe1\u4efb\u5ea6&#xff1a;\u6700\u9ad8&#xff08;\u7531MCP\u56e2\u961f\u7ef4\u62a4&#xff09;<\/li>\n<li>\u7528\u9014&#xff1a;\u5b66\u4e60MCP\u6807\u51c6\u3001\u5feb\u901f\u9a8c\u8bc1\u529f\u80fd<\/li>\n<li>\u793a\u4f8b&#xff1a;<span class=\"token comment\"># \u542f\u52a8\u5b98\u65b9\u6587\u4ef6\u7cfb\u7edf\u670d\u52a1\u5668&#xff08;\u5b89\u5168\u76ee\u5f55\u767d\u540d\u5355&#xff09;<\/span><br \/>\nnpx -y &#064;modelcontextprotocol\/server-filesystem \/my\/safe\/directory\n <\/li>\n<\/ul>\n<h4>2. Third-Party&#xff08;\u5b98\u65b9\u96c6\u6210&#xff09;<\/h4>\n<ul>\n<li>\u4fe1\u4efb\u5ea6&#xff1a;\u9ad8&#xff08;\u7531\u77e5\u540d\u516c\u53f8\u7ef4\u62a4&#xff09;<\/li>\n<li>\u7528\u9014&#xff1a;\u8fde\u63a5\u4e3b\u6d41\u5de5\u5177&#xff08;\u5982AWS\u3001GitHub\u3001Docker&#xff09;<\/li>\n<li>\u793a\u4f8b&#xff1a;<span class=\"token comment\">\/\/ \u914d\u7f6eAWS\u670d\u52a1\u5668&#xff08;\u9700\u63d0\u4f9bAPI\u5bc6\u94a5&#xff09;<\/span><br \/>\n<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;aws&#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;npx&#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><span class=\"token string\">&#034;&#064;vendor\/server-aws&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;AWS_ACCESS_KEY&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;your_key&#034;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span>\n <\/li>\n<\/ul>\n<h4>3. Community&#xff08;\u793e\u533a\u5f00\u53d1&#xff09;<\/h4>\n<ul>\n<li>\u4fe1\u4efb\u5ea6&#xff1a;\u4e2d\/\u4f4e&#xff08;\u9700\u81ea\u884c\u9a8c\u8bc1&#xff09;<\/li>\n<li>\u7528\u9014&#xff1a;\u63a2\u7d22\u521b\u65b0\u573a\u666f&#xff08;\u5982\u5c0f\u4f17\u5de5\u5177\u3001\u5b9e\u9a8c\u6027\u529f\u80fd&#xff09;<\/li>\n<li>\u793a\u4f8b&#xff1a;<span class=\"token comment\"># \u5b89\u88c5\u793e\u533a\u5f00\u53d1\u7684Nginx\u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token function\">git<\/span> clone https:\/\/github.com\/user\/nginx-mcp-server<br \/>\n<span class=\"token builtin class-name\">cd<\/span> nginx-mcp-server <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">npm<\/span> start\n <\/li>\n<\/ul>\n<hr \/>\n<h3>&#x1f6e0;\ufe0f \u5982\u4f55\u6839\u636e\u9700\u6c42\u9009\u62e9&#xff1f;<\/h3>\n<h4>\u6b65\u9aa41&#xff1a;\u786e\u5b9a\u9700\u6c42\u7c7b\u578b<\/h4>\n<table>\n<tr>\u573a\u666f\u63a8\u8350\u7c7b\u522b\u4f8b\u5b50<\/tr>\n<tbody>\n<tr>\n<td>\u6838\u5fc3\u529f\u80fd&#xff08;\u6587\u4ef6\/\u6570\u636e\u5e93&#xff09;<\/td>\n<td>Reference<\/td>\n<td>Filesystem, PostgreSQL<\/td>\n<\/tr>\n<tr>\n<td>\u4f01\u4e1a\u7ea7\u5de5\u5177\u96c6\u6210<\/td>\n<td>Third-Party<\/td>\n<td>AWS, GitHub, Docker<\/td>\n<\/tr>\n<tr>\n<td>\u5c0f\u4f17\u9700\u6c42&#xff08;\u5982\u6e38\u620f\u5f15\u64ce&#xff09;<\/td>\n<td>Community<\/td>\n<td>Unity\u7f16\u8f91\u5668\u63a7\u5236\u30013D\u6a21\u578b\u6e32\u67d3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u6b65\u9aa42&#xff1a;\u914d\u7f6e\u670d\u52a1\u5668<\/h4>\n<p>\u5728\u5ba2\u6237\u7aef\u914d\u7f6e\u6587\u4ef6\u4e2d\u6ce8\u518c\u670d\u52a1\u5668&#xff0c;\u4f8b\u5982&#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;\u6587\u4ef6\u7cfb\u7edf&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span>                   <span class=\"token comment\">\/\/ Reference\u670d\u52a1\u5668<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;npx&#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><span class=\"token string\">&#034;&#064;modelcontextprotocol\/server-filesystem&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\/data&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;\u6570\u636e\u5e93&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span>                    <span class=\"token comment\">\/\/ Third-Party\u670d\u52a1\u5668<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;npx&#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><span class=\"token string\">&#034;&#064;aws\/server-postgres&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;localhost:5432&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">&#034;\u4ee3\u7801\u5206\u6790&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span>                  <span class=\"token comment\">\/\/ Community\u670d\u52a1\u5668<\/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><span class=\"token string\">&#034;.\/custom-git-server.py&#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><\/p>\n<hr \/>\n<h3>&#x1f575;\ufe0f \u5185\u90e8\u5b9e\u73b0&#xff1a;\u5206\u7c7b\u5982\u4f55\u5f71\u54cd\u8c03\u7528\u6d41\u7a0b&#xff1f;<\/h3>\n<p>\u4ee5\u4e0b\u65f6\u5e8f\u56fe\u5c55\u793aLLM\u8c03\u7528\u4e0d\u540c\u5206\u7c7b\u670d\u52a1\u5668\u7684\u8fc7\u7a0b&#xff1a;<\/p>\n<p>  #mermaid-svg-qPxMNGErRGySIuk5 {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-qPxMNGErRGySIuk5 .error-icon{fill:#552222;}#mermaid-svg-qPxMNGErRGySIuk5 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-qPxMNGErRGySIuk5 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-qPxMNGErRGySIuk5 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-qPxMNGErRGySIuk5 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-qPxMNGErRGySIuk5 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-qPxMNGErRGySIuk5 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-qPxMNGErRGySIuk5 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-qPxMNGErRGySIuk5 .marker.cross{stroke:#333333;}#mermaid-svg-qPxMNGErRGySIuk5 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-qPxMNGErRGySIuk5 .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-qPxMNGErRGySIuk5 text.actor&gt;tspan{fill:black;stroke:none;}#mermaid-svg-qPxMNGErRGySIuk5 .actor-line{stroke:grey;}#mermaid-svg-qPxMNGErRGySIuk5 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-qPxMNGErRGySIuk5 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-qPxMNGErRGySIuk5 #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-qPxMNGErRGySIuk5 .sequenceNumber{fill:white;}#mermaid-svg-qPxMNGErRGySIuk5 #sequencenumber{fill:#333;}#mermaid-svg-qPxMNGErRGySIuk5 #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-qPxMNGErRGySIuk5 .messageText{fill:#333;stroke:#333;}#mermaid-svg-qPxMNGErRGySIuk5 .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-qPxMNGErRGySIuk5 .labelText,#mermaid-svg-qPxMNGErRGySIuk5 .labelText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-qPxMNGErRGySIuk5 .loopText,#mermaid-svg-qPxMNGErRGySIuk5 .loopText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-qPxMNGErRGySIuk5 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-qPxMNGErRGySIuk5 .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-qPxMNGErRGySIuk5 .noteText,#mermaid-svg-qPxMNGErRGySIuk5 .noteText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-qPxMNGErRGySIuk5 .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-qPxMNGErRGySIuk5 .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-qPxMNGErRGySIuk5 .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-qPxMNGErRGySIuk5 .actorPopupMenu{position:absolute;}#mermaid-svg-qPxMNGErRGySIuk5 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 \/ 0.4));}#mermaid-svg-qPxMNGErRGySIuk5 .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-qPxMNGErRGySIuk5 .actor-man circle,#mermaid-svg-qPxMNGErRGySIuk5 line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-qPxMNGErRGySIuk5 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;} <\/p>\n<p>       LLM <\/p>\n<p>       MCP\u5ba2\u6237\u7aef <\/p>\n<p>       Third-Party\u670d\u52a1\u5668 <\/p>\n<p>       GitHub API <\/p>\n<p>       Reference\u670d\u52a1\u5668 <\/p>\n<p>       \u672c\u5730\u6587\u4ef6\u7cfb\u7edf <\/p>\n<p>    \u8bf7\u6c42&#034;\u5206\u6790\u4ee3\u7801\u4ed3\u5e93&#034; <\/p>\n<p>    \u8f6c\u53d1\u8bf7\u6c42\u7ed9GitHub\u670d\u52a1\u5668 <\/p>\n<p>    \u83b7\u53d6\u4ed3\u5e93\u6570\u636e <\/p>\n<p>    \u8fd4\u56de\u4ee3\u7801\u53d8\u66f4\u8bb0\u5f55 <\/p>\n<p>    \u683c\u5f0f\u5316\u7ed3\u679c <\/p>\n<p>    \u8bf7\u6c42&#034;\u8bfb\u53d6\u5408\u540c\u6587\u4ef6&#034; <\/p>\n<p>    \u8f6c\u53d1\u8bf7\u6c42\u7ed9\u6587\u4ef6\u7cfb\u7edf <\/p>\n<p>    \u8bfb\u53d6\u5408\u540c.pdf <\/p>\n<p>    \u8fd4\u56de\u6587\u4ef6\u5185\u5bb9 <\/p>\n<p>    \u8fd4\u56de\u6587\u672c\u5185\u5bb9 <\/p>\n<p>      LLM <\/p>\n<p>      MCP\u5ba2\u6237\u7aef <\/p>\n<p>      Third-Party\u670d\u52a1\u5668 <\/p>\n<p>      GitHub API <\/p>\n<p>      Reference\u670d\u52a1\u5668 <\/p>\n<p>      \u672c\u5730\u6587\u4ef6\u7cfb\u7edf <\/p>\n<hr \/>\n<h3>&#x1f4a1; \u603b\u7ed3\u4e0e\u5c55\u671b<\/h3>\n<p>\u672c\u7ae0\u6211\u4eec\u5b66\u5230&#xff1a;<\/p>\n<li>\u4e09\u7c7b\u670d\u52a1\u5668\u7684\u533a\u522b&#xff1a;\u5b98\u65b9\u793a\u4f8b\u2192\u9ad8\u4fe1\u4efb&#xff0c;\u5b98\u65b9\u96c6\u6210\u2192\u5f3a\u529f\u80fd&#xff0c;\u793e\u533a\u5f00\u53d1\u2192\u9ad8\u521b\u65b0<\/li>\n<li>\u9009\u62e9\u65b9\u6cd5&#xff1a;\u6839\u636e\u9700\u6c42\u7c7b\u578b\u5feb\u901f\u5b9a\u4f4d\u670d\u52a1\u5668<\/li>\n<li>\u914d\u7f6e\u793a\u4f8b&#xff1a;\u5982\u4f55\u5728\u5ba2\u6237\u7aef\u6ce8\u518c\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668<\/li>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u6211\u4eec\u5c06\u6df1\u5165MCP\u4f20\u8f93\u673a\u5236&#xff0c;\u63a2\u7d22\u670d\u52a1\u5668\u4e0eLLM\u5982\u4f55\u901a\u8fc7\u4e0d\u540c\u534f\u8bae&#xff08;\u5982STDIO\u3001HTTP&#xff09;\u9ad8\u6548\u901a\u4fe1\u2014\u2014\u8fd9\u5c06\u89e3\u7b54\u201c\u4e3a\u4ec0\u4e48\u67d0\u4e9b\u670d\u52a1\u5668\u542f\u52a8\u66f4\u5feb\u201d\u7b49\u95ee\u9898&#xff01;<\/p>\n<p>&#x1f680; \u4e0b\u4e00\u6b65&#xff1a;\u5c1d\u8bd5\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u6df7\u5408\u4f7f\u7528\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668&#xff0c;\u6bd4\u5982\u540c\u65f6\u914d\u7f6e\u6587\u4ef6\u7cfb\u7edf\u548cGitHub\u5206\u6790\u5de5\u5177&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u4e09\u7c7b\u670d\u52a1\u5668\u7684\u533a\u522b\uff1a\u5b98\u65b9\u793a\u4f8b\u2192\u9ad8\u4fe1\u4efb\uff0c\u5b98\u65b9\u96c6\u6210\u2192\u5f3a\u529f\u80fd\uff0c\u793e\u533a\u5f00\u53d1\u2192\u9ad8\u521b\u65b0\u9009\u62e9\u65b9\u6cd5\uff1a\u6839\u636e\u9700\u6c42\u7c7b\u578b\u5feb\u901f\u5b9a\u4f4d\u670d\u52a1\u5668\u914d\u7f6e\u793a\u4f8b\uff1a\u5982\u4f55\u5728\u5ba2\u6237\u7aef\u6ce8\u518c\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u6df1\u5165MCP\u4f20\u8f93\u673a\u5236\uff0c\u63a2\u7d22\u670d\u52a1\u5668\u4e0eLLM\u5982\u4f55\u901a\u8fc7\u4e0d\u540c\u534f\u8bae\uff08\u5982STDIO\u3001HTTP\uff09\u9ad8\u6548\u901a\u4fe1\u2014\u2014\u8fd9\u5c06\u89e3\u7b54\u201c\u4e3a\u4ec0\u4e48\u67d0\u4e9b\u670d\u52a1\u5668\u542f\u52a8\u66f4\u5feb\u201d\u7b49\u95ee\u9898\uff01\ud83d\ude80 \u4e0b\u4e00\u6b65\uff1a\u5c1d\u8bd5\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u6df7\u5408\u4f7f\u7528\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\uff0c\u6bd4\u5982\u540c\u65f6\u914d\u7f6e\u6587\u4ef6\u7cfb\u7edf\u548cGitHub\u5206\u6790\u5de5\u5177\uff01_mcp server + nginx<\/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":[2770,50,371,43,44],"topic":[],"class_list":["post-33462","post","type-post","status-publish","format-standard","hentry","category-server","tag-mcp-servers","tag-50","tag-371","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>\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \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\/33462.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u4e09\u7c7b\u670d\u52a1\u5668\u7684\u533a\u522b\uff1a\u5b98\u65b9\u793a\u4f8b\u2192\u9ad8\u4fe1\u4efb\uff0c\u5b98\u65b9\u96c6\u6210\u2192\u5f3a\u529f\u80fd\uff0c\u793e\u533a\u5f00\u53d1\u2192\u9ad8\u521b\u65b0\u9009\u62e9\u65b9\u6cd5\uff1a\u6839\u636e\u9700\u6c42\u7c7b\u578b\u5feb\u901f\u5b9a\u4f4d\u670d\u52a1\u5668\u914d\u7f6e\u793a\u4f8b\uff1a\u5982\u4f55\u5728\u5ba2\u6237\u7aef\u6ce8\u518c\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u6df1\u5165MCP\u4f20\u8f93\u673a\u5236\uff0c\u63a2\u7d22\u670d\u52a1\u5668\u4e0eLLM\u5982\u4f55\u901a\u8fc7\u4e0d\u540c\u534f\u8bae\uff08\u5982STDIO\u3001HTTP\uff09\u9ad8\u6548\u901a\u4fe1\u2014\u2014\u8fd9\u5c06\u89e3\u7b54\u201c\u4e3a\u4ec0\u4e48\u67d0\u4e9b\u670d\u52a1\u5668\u542f\u52a8\u66f4\u5feb\u201d\u7b49\u95ee\u9898\uff01\ud83d\ude80 \u4e0b\u4e00\u6b65\uff1a\u5c1d\u8bd5\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u6df7\u5408\u4f7f\u7528\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\uff0c\u6bd4\u5982\u540c\u65f6\u914d\u7f6e\u6587\u4ef6\u7cfb\u7edf\u548cGitHub\u5206\u6790\u5de5\u5177\uff01_mcp server + nginx\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/33462.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-27T10:40:24+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=\"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\/33462.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/33462.html\",\"name\":\"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-27T10:40:24+00:00\",\"dateModified\":\"2025-04-27T10:40:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/33462.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/33462.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33462.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b\"}]},{\"@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":"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \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\/33462.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf21\u6b21\u3002\u4e09\u7c7b\u670d\u52a1\u5668\u7684\u533a\u522b\uff1a\u5b98\u65b9\u793a\u4f8b\u2192\u9ad8\u4fe1\u4efb\uff0c\u5b98\u65b9\u96c6\u6210\u2192\u5f3a\u529f\u80fd\uff0c\u793e\u533a\u5f00\u53d1\u2192\u9ad8\u521b\u65b0\u9009\u62e9\u65b9\u6cd5\uff1a\u6839\u636e\u9700\u6c42\u7c7b\u578b\u5feb\u901f\u5b9a\u4f4d\u670d\u52a1\u5668\u914d\u7f6e\u793a\u4f8b\uff1a\u5982\u4f55\u5728\u5ba2\u6237\u7aef\u6ce8\u518c\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u6df1\u5165MCP\u4f20\u8f93\u673a\u5236\uff0c\u63a2\u7d22\u670d\u52a1\u5668\u4e0eLLM\u5982\u4f55\u901a\u8fc7\u4e0d\u540c\u534f\u8bae\uff08\u5982STDIO\u3001HTTP\uff09\u9ad8\u6548\u901a\u4fe1\u2014\u2014\u8fd9\u5c06\u89e3\u7b54\u201c\u4e3a\u4ec0\u4e48\u67d0\u4e9b\u670d\u52a1\u5668\u542f\u52a8\u66f4\u5feb\u201d\u7b49\u95ee\u9898\uff01\ud83d\ude80 \u4e0b\u4e00\u6b65\uff1a\u5c1d\u8bd5\u5728\u4f60\u7684\u9879\u76ee\u4e2d\u6df7\u5408\u4f7f\u7528\u4e0d\u540c\u7c7b\u522b\u7684\u670d\u52a1\u5668\uff0c\u6bd4\u5982\u540c\u65f6\u914d\u7f6e\u6587\u4ef6\u7cfb\u7edf\u548cGitHub\u5206\u6790\u5de5\u5177\uff01_mcp server + nginx","og_url":"https:\/\/www.wsisp.com\/helps\/33462.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-27T10:40:24+00:00","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\/33462.html","url":"https:\/\/www.wsisp.com\/helps\/33462.html","name":"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-27T10:40:24+00:00","dateModified":"2025-04-27T10:40:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/33462.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/33462.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/33462.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7b2c\u4e8c\u7ae0\uff1aMCP\u670d\u52a1\u5668\u5206\u7c7b"}]},{"@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\/33462","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=33462"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33462\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=33462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=33462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=33462"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=33462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}