{"id":19381,"date":"2025-04-19T01:42:40","date_gmt":"2025-04-18T17:42:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/19381.html"},"modified":"2025-04-19T01:42:40","modified_gmt":"2025-04-18T17:42:40","slug":"%e5%88%9b%e5%bb%ba%e4%b8%80%e4%b8%aamcp%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%8c%e5%b9%b6%e5%9c%a8cline%e4%b8%ad%e4%bd%bf%e7%94%a8%ef%bc%8c%e5%a2%9e%e5%bc%ba%e8%87%aa%e5%ae%9a%e4%b9%89%e5%8a%9f%e8%83%bd-2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/19381.html","title":{"rendered":"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002"},"content":{"rendered":"<h3>MCP\u4ecb\u7ecd<\/h3>\n<p>MCP \u662f\u4e00\u4e2a\u5f00\u653e\u534f\u8bae&#xff0c;\u5b83\u6807\u51c6\u5316\u4e86\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u5411LLMs\u63d0\u4f9b\u4e0a\u4e0b\u6587\u3002\u53ef\u4ee5\u5c06 MCP \u89c6\u4e3a AI \u5e94\u7528\u7a0b\u5e8f\u7684 USB-C \u7aef\u53e3\u3002\u6b63\u5982 USB-C \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06\u60a8\u7684\u8bbe\u5907\u8fde\u63a5\u5230\u5404\u79cd\u5916\u56f4\u8bbe\u5907\u548c\u914d\u4ef6\u4e00\u6837&#xff0c;MCP \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06 AI \u6a21\u578b\u8fde\u63a5\u5230\u4e0d\u540c\u7684\u6570\u636e\u6e90\u548c\u5de5\u5177\u3002<\/p>\n<p>MCP \u5e2e\u52a9\u60a8\u5728 LLMs \u4e4b\u4e0a\u6784\u5efa\u4ee3\u7406\u548c\u590d\u6742\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002LLMs \u7ecf\u5e38\u9700\u8981\u4e0e\u6570\u636e\u548c\u5de5\u5177\u96c6\u6210&#xff0c;MCP \u63d0\u4f9b\u4e86&#xff1a;<\/p>\n<ul>\n<li>\u4e00\u4e2a\u4e0d\u65ad\u589e\u957f\u7684\u9884\u6784\u5efa\u96c6\u6210\u5217\u8868&#xff0c;\u60a8\u7684 LLM \u53ef\u4ee5\u76f4\u63a5\u63d2\u5165\u5176\u4e2d<\/li>\n<li>\u5728LLM\u4f9b\u5e94\u5546\u548c\u5382\u5546\u4e4b\u95f4\u5207\u6362\u7684\u7075\u6d3b\u6027<\/li>\n<li>\u5728\u60a8\u7684\u57fa\u7840\u8bbe\u65bd\u5185\u4fdd\u62a4\u6570\u636e\u7684\u6700\u4f73\u5b9e\u8df5<\/li>\n<\/ul>\n<p>\u67b6\u6784\u56fe\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174234-68028f0aea4f0.png\" alt=\"image-20250302094005211\" \/><\/p>\n<h3>\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668<\/h3>\n<p>\u53ef\u4ee5\u628aCline\u5f53\u6210\u662f\u4e00\u4e2aMCP\u5ba2\u6237\u7aef&#xff0c;\u73b0\u5728\u6211\u4eec\u53ea\u8981\u6784\u5efa\u4e86\u4e00\u4e2aMCP\u670d\u52a1\u5c31\u53ef\u4ee5\u5728Cline\u4e2d\u4f7f\u7528\u3002<\/p>\n<p>\u6211\u60f3\u521b\u5efa\u4e00\u4e2a\u4f7f\u7528duckduckgo\u641c\u7d22\u7684MCP\u670d\u52a1\u5668&#xff0c;\u53ef\u4ee5\u8fd9\u6837\u505a\u3002<\/p>\n<p><span class=\"token comment\"># Create a new directory for our project<\/span><br \/>\nuv init duckduckgo_mcp<br \/>\ncd duckduckgo_mcp<\/p>\n<p><span class=\"token comment\"># Create virtual environment and activate it<\/span><br \/>\nuv venv<br \/>\n<span class=\"token punctuation\">.<\/span>venv\\\\Scripts\\\\activate<\/p>\n<p><span class=\"token comment\"># Install dependencies<\/span><br \/>\nuv add mcp<span class=\"token punctuation\">[<\/span>cli<span class=\"token punctuation\">]<\/span> duckduckgo_search<\/p>\n<p>main.py\u4e2d\u8fd9\u6837\u5199&#xff1a;<\/p>\n<p><span class=\"token comment\"># server.py<\/span><br \/>\n<span class=\"token keyword\">from<\/span> mcp<span class=\"token punctuation\">.<\/span>server<span class=\"token punctuation\">.<\/span>fastmcp <span class=\"token keyword\">import<\/span> FastMCP<br \/>\n<span class=\"token keyword\">from<\/span> duckduckgo_search <span class=\"token keyword\">import<\/span> DDGS<br \/>\n<span class=\"token keyword\">from<\/span> typing <span class=\"token keyword\">import<\/span> Annotated<br \/>\n<span class=\"token keyword\">from<\/span> pathlib <span class=\"token keyword\">import<\/span> Path<\/p>\n<p><span class=\"token keyword\">from<\/span> pydantic <span class=\"token keyword\">import<\/span> BaseModel<span class=\"token punctuation\">,<\/span> Field<\/p>\n<p><span class=\"token comment\"># Create an MCP server<\/span><br \/>\nmcp <span class=\"token operator\">&#061;<\/span> FastMCP<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;DuckDuckGo-Search&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><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\">run_duckduckgo<\/span><span class=\"token punctuation\">(<\/span>query<span class=\"token punctuation\">:<\/span><span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;<br \/>\n  \u83b7\u53d6\u7f51\u7edc\u4fe1\u606f<br \/>\n  &#034;&#034;&#034;<\/span><br \/>\n  results <span class=\"token operator\">&#061;<\/span> DDGS<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>text<span class=\"token punctuation\">(<\/span>query<span class=\"token punctuation\">,<\/span> max_results<span class=\"token operator\">&#061;<\/span><span class=\"token number\">10<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>  <span class=\"token keyword\">return<\/span> results<\/p>\n<p><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   <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Server running&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n   mcp<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span>transport<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;stdio&#039;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u5c31\u662f\u8fd9\u4e48\u7b80\u5355&#xff0c;\u4e00\u4e2a\u4f7f\u7528duckduckgo\u83b7\u53d6\u7f51\u7edc\u4fe1\u606f\u7684MCP\u670d\u52a1\u5668\u5c31\u521b\u5efa\u597d\u4e86\u3002<\/p>\n<h3>\u5728Cline\u4e2d\u4f7f\u7528<\/h3>\n<p>\u6253\u5f00MCP\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174235-68028f0b4f5d5.png\" alt=\"image-20250302094611083\" \/><\/p>\n<p>\u6dfb\u52a0\u4e00\u4e2a\u8fd9\u6837\u7684\u914d\u7f6e\u5373\u53ef&#xff1a;<\/p>\n<p> <span class=\"token string\">&#034;duckduckgo_search&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;uv&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;&#8211;directory&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;D:\\\\\\\\Learning\\\\\\\\AI-related\\\\\\\\mcp-demo\\\\\\\\duckduckgo_mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;run&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;main.py&#034;<\/span><br \/>\n      <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;disabled&#034;<\/span><span class=\"token punctuation\">:<\/span> false<span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;autoApprove&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p>\u76ee\u5f55\u9700\u8981\u6539\u6210\u81ea\u5df1\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174236-68028f0cc686c.png\" alt=\"image-20250302095107930\" \/><\/p>\n<p>\u8fd9\u6837\u5b50\u5c31\u53ef\u4ee5\u7528\u4e86\u3002<\/p>\n<p>\u4f7f\u7528\u6548\u679c\u5982\u4e0b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174236-68028f0ce735b.png\" alt=\"image-20250302095528118\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174237-68028f0d6c12d.png\" alt=\"image-20250302095345177\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174237-68028f0dc60f1.png\" alt=\"image-20250302095410077\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174238-68028f0e28c9a.png\" alt=\"image-20250302100332866\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174238-68028f0ea03b6.png\" alt=\"image-20250302100405096\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174239-68028f0f129ed.png\" alt=\"image-20250302100444238\" \/><\/p>\n<h3>\u6700\u540e<\/h3>\n<p>\u5f88\u591a\u5f00\u53d1\u8005\u53ef\u80fd\u5bf9MCP\u8fd8\u4e0d\u719f\u6089&#xff0c;MCP\u6709\u5ba2\u6237\u7aef\u4e0e\u670d\u52a1\u5668\u7aef&#xff0c;\u4f46\u662f\u5b8c\u5168\u53ef\u4ee5\u5148\u628aCline\u5f53\u4f5c\u662f\u4e00\u4e2aMCP\u5ba2\u6237\u7aef&#xff0c;\u521a\u5f00\u59cb\u81ea\u5df1\u53ea\u9700\u8981\u53bb\u521b\u5efa\u6216\u8005\u4f7f\u7528\u4e00\u4e9bMCP\u670d\u52a1\u5668\u7aef&#xff0c;\u611f\u53d7\u4e00\u4e0bMCP\u7684\u529f\u80fd&#xff0c;\u611f\u5174\u8da3\u7684\u8bdd\u518d\u6df1\u5165\u63a2\u7d22&#xff0c;\u518d\u81ea\u5df1\u505a\u4e00\u4e2aMCP\u5ba2\u6237\u7aef\u4e5f\u4e0d\u8fdf\u3002<\/p>\n<p>\u5c31\u50cfCline\u7684\u535a\u5ba2\u4e2d\u63d0\u5230\u7684\u90a3\u6837&#xff0c;\u201c\u5fd8\u8bb0\u201c\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\u201d\u2014\u2014\u53ea\u9700\u5c06\u8fd9\u4e9b\u89c6\u4e3a Cline \u7684\u989d\u5916\u5de5\u5177\u201d&#xff0c;\u5148\u4f53\u9a8c\u4e86\u5927\u6982\u5c31\u77e5\u9053\u662f\u4ec0\u4e48\u4e1c\u897f\u4e86\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u4e2a\u5e38\u6709\u7684\u56f0\u6270&#xff0c;\u5c31\u662fMCP\u662f\u5426\u53ea\u80fdClaude\u624d\u80fd\u7528\u5462&#xff1f;\u6bd5\u7adf\u662fAnthropic\u4e3b\u5bfc\u63d0\u51fa\u6765\u7684\u3002<\/p>\n<p>\u4e0d\u662f\u53ea\u6709Claude\u624d\u80fd\u7528&#xff0c;\u5176\u5b83\u6a21\u578b\u4e5f\u80fd\u7528&#xff0c;\u6211\u4e0a\u9762\u4f7f\u7528\u7684\u662fQwen\/Qwen2.5-72B-Instruct\u8fd9\u4e2a\u6a21\u578b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf5\u6b21\u3002MCP \u662f\u4e00\u4e2a\u5f00\u653e\u534f\u8bae\uff0c\u5b83\u6807\u51c6\u5316\u4e86\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u5411LLMs\u63d0\u4f9b\u4e0a\u4e0b\u6587\u3002\u53ef\u4ee5\u5c06 MCP \u89c6\u4e3a AI \u5e94\u7528\u7a0b\u5e8f\u7684 USB-C \u7aef\u53e3\u3002\u6b63\u5982 USB-C \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06\u60a8\u7684\u8bbe\u5907\u8fde\u63a5\u5230\u5404\u79cd\u5916\u56f4\u8bbe\u5907\u548c\u914d\u4ef6\u4e00\u6837\uff0cMCP \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06 AI \u6a21\u578b\u8fde\u63a5\u5230\u4e0d\u540c\u7684\u6570\u636e\u6e90\u548c\u5de5\u5177\u3002MCP \u5e2e\u52a9\u60a8\u5728 LLMs \u4e4b\u4e0a\u6784\u5efa\u4ee3\u7406\u548c\u590d\u6742\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002\u4e00\u4e2a\u4e0d\u65ad\u589e\u957f\u7684\u9884\u6784\u5efa\u96c6\u6210\u5217\u8868\uff0c\u60a8\u7684 LLM \u53ef\u4ee5\u76f4\u63a5\u63d2\u5165\u5176\u4e2d\u5728LLM\u4f9b\u5e94\u5546\u548c\u5382\u5546\u4e4b\u95f4\u5207\u6362\u7684\u7075\u6d3b\u6027\u5728\u60a8\u7684\u57fa\u7840\u8bbe\u65bd\u5185\u4fdd\u62a4\u6570\u636e\u7684\u6700\u4f73\u5b9e\u8df5\u3002_cline\u914d\u7f6emcp<\/p>\n","protected":false},"author":2,"featured_media":19372,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1485,81],"topic":[],"class_list":["post-19381","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \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\/19381.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf5\u6b21\u3002MCP \u662f\u4e00\u4e2a\u5f00\u653e\u534f\u8bae\uff0c\u5b83\u6807\u51c6\u5316\u4e86\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u5411LLMs\u63d0\u4f9b\u4e0a\u4e0b\u6587\u3002\u53ef\u4ee5\u5c06 MCP \u89c6\u4e3a AI \u5e94\u7528\u7a0b\u5e8f\u7684 USB-C \u7aef\u53e3\u3002\u6b63\u5982 USB-C \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06\u60a8\u7684\u8bbe\u5907\u8fde\u63a5\u5230\u5404\u79cd\u5916\u56f4\u8bbe\u5907\u548c\u914d\u4ef6\u4e00\u6837\uff0cMCP \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06 AI \u6a21\u578b\u8fde\u63a5\u5230\u4e0d\u540c\u7684\u6570\u636e\u6e90\u548c\u5de5\u5177\u3002MCP \u5e2e\u52a9\u60a8\u5728 LLMs \u4e4b\u4e0a\u6784\u5efa\u4ee3\u7406\u548c\u590d\u6742\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002\u4e00\u4e2a\u4e0d\u65ad\u589e\u957f\u7684\u9884\u6784\u5efa\u96c6\u6210\u5217\u8868\uff0c\u60a8\u7684 LLM \u53ef\u4ee5\u76f4\u63a5\u63d2\u5165\u5176\u4e2d\u5728LLM\u4f9b\u5e94\u5546\u548c\u5382\u5546\u4e4b\u95f4\u5207\u6362\u7684\u7075\u6d3b\u6027\u5728\u60a8\u7684\u57fa\u7840\u8bbe\u65bd\u5185\u4fdd\u62a4\u6570\u636e\u7684\u6700\u4f73\u5b9e\u8df5\u3002_cline\u914d\u7f6emcp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/19381.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-18T17:42:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174234-68028f0aea4f0.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=\"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\/19381.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/19381.html\",\"name\":\"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T17:42:40+00:00\",\"dateModified\":\"2025-04-18T17:42:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/19381.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/19381.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/19381.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002\"}]},{\"@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":"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \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\/19381.html","og_locale":"zh_CN","og_type":"article","og_title":"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf5\u6b21\u3002MCP \u662f\u4e00\u4e2a\u5f00\u653e\u534f\u8bae\uff0c\u5b83\u6807\u51c6\u5316\u4e86\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u5411LLMs\u63d0\u4f9b\u4e0a\u4e0b\u6587\u3002\u53ef\u4ee5\u5c06 MCP \u89c6\u4e3a AI \u5e94\u7528\u7a0b\u5e8f\u7684 USB-C \u7aef\u53e3\u3002\u6b63\u5982 USB-C \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06\u60a8\u7684\u8bbe\u5907\u8fde\u63a5\u5230\u5404\u79cd\u5916\u56f4\u8bbe\u5907\u548c\u914d\u4ef6\u4e00\u6837\uff0cMCP \u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u65b9\u6cd5\u6765\u5c06 AI \u6a21\u578b\u8fde\u63a5\u5230\u4e0d\u540c\u7684\u6570\u636e\u6e90\u548c\u5de5\u5177\u3002MCP \u5e2e\u52a9\u60a8\u5728 LLMs \u4e4b\u4e0a\u6784\u5efa\u4ee3\u7406\u548c\u590d\u6742\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002\u4e00\u4e2a\u4e0d\u65ad\u589e\u957f\u7684\u9884\u6784\u5efa\u96c6\u6210\u5217\u8868\uff0c\u60a8\u7684 LLM \u53ef\u4ee5\u76f4\u63a5\u63d2\u5165\u5176\u4e2d\u5728LLM\u4f9b\u5e94\u5546\u548c\u5382\u5546\u4e4b\u95f4\u5207\u6362\u7684\u7075\u6d3b\u6027\u5728\u60a8\u7684\u57fa\u7840\u8bbe\u65bd\u5185\u4fdd\u62a4\u6570\u636e\u7684\u6700\u4f73\u5b9e\u8df5\u3002_cline\u914d\u7f6emcp","og_url":"https:\/\/www.wsisp.com\/helps\/19381.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T17:42:40+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418174234-68028f0aea4f0.png"}],"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\/19381.html","url":"https:\/\/www.wsisp.com\/helps\/19381.html","name":"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T17:42:40+00:00","dateModified":"2025-04-18T17:42:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/19381.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/19381.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/19381.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u521b\u5efa\u4e00\u4e2aMCP\u670d\u52a1\u5668\uff0c\u5e76\u5728Cline\u4e2d\u4f7f\u7528\uff0c\u589e\u5f3a\u81ea\u5b9a\u4e49\u529f\u80fd\u3002"}]},{"@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\/19381","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=19381"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/19381\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/19372"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=19381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=19381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=19381"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=19381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}