{"id":48658,"date":"2025-07-30T12:57:29","date_gmt":"2025-07-30T04:57:29","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/48658.html"},"modified":"2025-07-30T12:57:29","modified_gmt":"2025-07-30T04:57:29","slug":"%e3%80%90ai%e3%80%91%e5%b8%b8%e7%94%a8mcp%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%af%a6%e8%a7%a3%e4%b8%8e%e5%ba%94%e7%94%a8%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/48658.html","title":{"rendered":"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357"},"content":{"rendered":"<hr \/>\n<p>title: \u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 categories: AI tags:<\/p>\n<ul>\n<li>MCP<\/li>\n<li>AI\u7f16\u7a0b<\/li>\n<li>\u5f00\u53d1\u5de5\u5177<\/li>\n<li>Cursor<\/li>\n<li>\u5de5\u5177\u96c6\u6210<\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e00\u3001MCP\u670d\u52a1\u5668\u6982\u8ff0<\/h2>\n<p>MCP&#xff08;Model Context Protocol&#xff09;\u670d\u52a1\u5668\u662f\u8fde\u63a5AI\u6a21\u578b\u4e0e\u5916\u90e8\u5de5\u5177\u3001\u6570\u636e\u548c\u7cfb\u7edf\u7684\u6865\u6881\u3002\u901a\u8fc7MCP\u670d\u52a1\u5668&#xff0c;AI\u6a21\u578b\u80fd\u591f\u83b7\u53d6\u5916\u90e8\u4fe1\u606f\u3001\u6267\u884c\u7279\u5b9a\u4efb\u52a1\u5e76\u5c06\u7ed3\u679c\u8fd4\u56de&#xff0c;\u6781\u5927\u6269\u5c55\u4e86AI\u5728\u7f16\u7a0b\u548c\u5176\u4ed6\u9886\u57df\u7684\u80fd\u529b\u8303\u56f4\u3002<\/p>\n<h3>&#xff08;\u4e00&#xff09;MCP\u670d\u52a1\u5668\u7684\u57fa\u672c\u539f\u7406<\/h3>\n<p>MCP\u670d\u52a1\u5668\u57fa\u4e8e\u4e00\u79cd\u6807\u51c6\u5316\u534f\u8bae\u5de5\u4f5c&#xff0c;\u8be5\u534f\u8bae\u7531Anthropic\u63a8\u51fa&#xff0c;\u5141\u8bb8AI\u6a21\u578b&#xff1a;<\/p>\n<ul>\n<li>\u8bc6\u522b\u53ef\u7528\u5de5\u5177\u53ca\u5176\u529f\u80fd<\/li>\n<li>\u53d1\u9001\u5de5\u5177\u8c03\u7528\u8bf7\u6c42<\/li>\n<li>\u63a5\u6536\u5de5\u5177\u6267\u884c\u7ed3\u679c<\/li>\n<li>\u57fa\u4e8e\u7ed3\u679c\u63d0\u4f9b\u66f4\u51c6\u786e\u7684\u56de\u5e94<\/li>\n<\/ul>\n<h3>&#xff08;\u4e8c&#xff09;MCP\u670d\u52a1\u5668\u7684\u5206\u7c7b<\/h3>\n<p>\u6839\u636e\u529f\u80fd\u548c\u7528\u9014&#xff0c;MCP\u670d\u52a1\u5668\u4e3b\u8981\u5206\u4e3a\u4ee5\u4e0b\u51e0\u7c7b&#xff1a;<\/p>\n<li>\u4fe1\u606f\u68c0\u7d22\u7c7b&#xff1a;\u5982Web\u641c\u7d22\u3001\u6587\u6863\u68c0\u7d22<\/li>\n<li>\u6587\u4ef6\u64cd\u4f5c\u7c7b&#xff1a;\u5982\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee\u3001\u4ee3\u7801\u5206\u6790<\/li>\n<li>\u5f00\u53d1\u5de5\u5177\u7c7b&#xff1a;\u5982GitHub\u96c6\u6210\u3001\u4ee3\u7801\u6267\u884c<\/li>\n<li>\u81ea\u52a8\u5316\u7c7b&#xff1a;\u5982\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u3001UI\u6d4b\u8bd5<\/li>\n<li>\u6570\u636e\u5904\u7406\u7c7b&#xff1a;\u5982\u6570\u636e\u5e93\u8bbf\u95ee\u3001\u6570\u636e\u5206\u6790<\/li>\n<li>\u8f85\u52a9\u601d\u8003\u7c7b&#xff1a;\u5982\u987a\u5e8f\u601d\u8003\u5de5\u5177\u3001\u95ee\u9898\u5206\u89e3\u5de5\u5177<\/li>\n<h2>\u4e8c\u3001\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u6587\u4ef6\u7cfb\u7edf\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;File System MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9b\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u8bbf\u95ee\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;modelcontextprotocol\/server-filesystem<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> &#064;modelcontextprotocol\/server-filesystem<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;filesystem&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#064;modelcontextprotocol\/server-filesystem&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y &#064;modelcontextprotocol\/server-filesystem<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>filesystem<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#064;modelcontextprotocol\/server-filesystem<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>]}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;filesystem&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#064;modelcontextprotocol\/server-filesystem&#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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9<\/li>\n<li>\u5199\u5165\u6587\u4ef6\u5185\u5bb9<\/li>\n<li>\u5217\u51fa\u76ee\u5f55\u5185\u5bb9<\/li>\n<li>\u521b\u5efa\/\u5220\u9664\u6587\u4ef6\u548c\u76ee\u5f55<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u8bfb\u53d6\u9879\u76ee\u6587\u4ef6\u8fdb\u884c\u5206\u6790<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u521b\u5efa\u6216\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u7ba1\u7406\u6587\u4ef6\u7cfb\u7edf<\/li>\n<\/ul>\n<h3>&#xff08;\u4e8c&#xff09;Web\u641c\u7d22\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;Brave Search MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9b\u7f51\u7edc\u641c\u7d22\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;smithery-ai\/brave-search<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> &#064;smithery\/cli&#064;latest run &#064;smithery-ai\/brave-search <span class=\"token parameter variable\">&#8211;config<\/span> <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>braveApiKey<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>YOUR_BRAVE_API_KEY<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>}&#034;<\/span><\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;brave-search&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#064;smithery\/cli&#064;latest&#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;&#064;smithery-ai\/brave-search&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#8211;config&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;{\\\\&#034;braveApiKey\\\\&#034;:\\\\&#034;YOUR_BRAVE_API_KEY\\\\&#034;}&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y &#064;smithery\/cli&#064;latest run &#064;smithery-ai\/brave-search &#8211;config &#034;{\\\\&#034;braveApiKey\\\\&#034;:\\\\&#034;YOUR_BRAVE_API_KEY\\\\&#034;}&#034;<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>brave-search<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#064;smithery\/cli&#064;latest<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>run<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#064;smithery-ai\/brave-search<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#8211;config<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>{<span class=\"token entity\" title=\"\\\\\\\\\">\\\\\\\\<\/span><span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>braveApiKey<span class=\"token entity\" title=\"\\\\\\\\\">\\\\\\\\<\/span><span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\\\\\\">\\\\\\\\<\/span><span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>YOUR_BRAVE_API_KEY<span class=\"token entity\" title=\"\\\\\\\\\">\\\\\\\\<\/span><span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>}<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>]}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;brave-search&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#064;smithery\/cli&#064;latest&#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;&#064;smithery-ai\/brave-search&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#8211;config&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;{\\\\&#034;braveApiKey\\\\&#034;:\\\\&#034;YOUR_BRAVE_API_KEY\\\\&#034;}&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u6267\u884c\u7f51\u7edc\u641c\u7d22\u67e5\u8be2<\/li>\n<li>\u8fd4\u56de\u76f8\u5173\u641c\u7d22\u7ed3\u679c<\/li>\n<li>\u652f\u6301\u8fc7\u6ee4\u548c\u6392\u5e8f\u9009\u9879<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u83b7\u53d6\u6700\u65b0\u4fe1\u606f<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u67e5\u627e\u7279\u5b9a\u4e3b\u9898\u7684\u8d44\u6599<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u9a8c\u8bc1\u4e8b\u5b9e\u6216\u6570\u636e<\/li>\n<\/ul>\n<h3>&#xff08;\u4e09&#xff09;GitHub\u96c6\u6210\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;GitHub MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9bGitHub API\u96c6\u6210\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;github\/github-mcp-server<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>Docker\u65b9\u5f0f&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-i<\/span> <span class=\"token parameter variable\">&#8211;rm<\/span> <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">GITHUB_PERSONAL_ACCESS_TOKEN<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&lt;<\/span>your-token<span class=\"token operator\">&gt;<\/span> ghcr.io\/github\/github-mcp-server<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;github&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;docker&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/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;-i&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#8211;rm&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;-e&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;GITHUB_PERSONAL_ACCESS_TOKEN&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;ghcr.io\/github\/github-mcp-server&#034;<\/span><br \/>\n      <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;GITHUB_PERSONAL_ACCESS_TOKEN&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;YOUR_GITHUB_TOKEN&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: docker run -i &#8211;rm -e GITHUB_PERSONAL_ACCESS_TOKEN&#061;&lt;your-token&gt; ghcr.io\/github\/github-mcp-server<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>github<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>docker<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>run<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-i<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#8211;rm<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-e<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>GITHUB_PERSONAL_ACCESS_TOKEN<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>ghcr.io\/github\/github-mcp-server<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>],<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>env<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>GITHUB_PERSONAL_ACCESS_TOKEN<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>YOUR_GITHUB_TOKEN<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>}}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;github&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;docker&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/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;-i&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#8211;rm&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;-e&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;GITHUB_PERSONAL_ACCESS_TOKEN&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;ghcr.io\/github\/github-mcp-server&#034;<\/span><br \/>\n      <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;GITHUB_PERSONAL_ACCESS_TOKEN&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;YOUR_GITHUB_TOKEN&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u8bbf\u95ee\u4ed3\u5e93\u5185\u5bb9<\/li>\n<li>\u521b\u5efa\u548c\u66f4\u65b0\u6587\u4ef6<\/li>\n<li>\u7ba1\u7406\u5206\u652f\u548c\u63d0\u4ea4<\/li>\n<li>\u5904\u7406Issues\u548cPull Requests<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u5e2e\u52a9\u7ba1\u7406GitHub\u4ed3\u5e93<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u5206\u6790\u4ee3\u7801\u53d8\u66f4<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u81ea\u52a8\u521b\u5efaIssue\u6216PR<\/li>\n<\/ul>\n<h3>&#xff08;\u56db&#xff09;Python\u4ee3\u7801\u6267\u884c\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;MCP Code Executor<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9bPython\u4ee3\u7801\u6267\u884c\u73af\u5883<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;bazinga012\/mcp_code_executor<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> mcp-code-executor<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;code-executor&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;mcp-code-executor&#034;<\/span><br \/>\n      <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;CODE_STORAGE_DIR&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;\/path\/to\/code\/storage&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;ENV_TYPE&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;conda&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;CONDA_ENV_NAME&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;your-conda-env&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y mcp-code-executor<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>code-executor<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>mcp-code-executor<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>],<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>env<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>CODE_STORAGE_DIR<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>\/path\/to\/code\/storage<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>ENV_TYPE<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>conda<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>CONDA_ENV_NAME<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>your-conda-env<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>}}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;code-executor&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;mcp-code-executor&#034;<\/span><br \/>\n      <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;CODE_STORAGE_DIR&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;\/path\/to\/code\/storage&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;ENV_TYPE&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;conda&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;CONDA_ENV_NAME&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;your-conda-env&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u6267\u884cPython\u4ee3\u7801<\/li>\n<li>\u5b89\u88c5\u4f9d\u8d56\u5305<\/li>\n<li>\u68c0\u67e5\u5df2\u5b89\u88c5\u5305<\/li>\n<li>\u652f\u6301\u589e\u91cf\u4ee3\u7801\u751f\u6210<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u6267\u884c\u6570\u636e\u5206\u6790\u4ee3\u7801<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u6d4b\u8bd5\u548c\u8c03\u8bd5Python\u4ee3\u7801<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u751f\u6210\u53ef\u6267\u884c\u7684\u4ee3\u7801\u793a\u4f8b<\/li>\n<\/ul>\n<h3>&#xff08;\u4e94&#xff09;Puppeteer\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;Puppeteer MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9b\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;merajmehrabi\/puppeteer-mcp-server<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> puppeteer-mcp-server<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;puppeteer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;puppeteer-mcp-server&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y puppeteer-mcp-server<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>puppeteer<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>puppeteer-mcp-server<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>]}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;puppeteer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;puppeteer-mcp-server&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u7f51\u9875\u5bfc\u822a<\/li>\n<li>\u622a\u53d6\u5c4f\u5e55\u622a\u56fe<\/li>\n<li>\u70b9\u51fb\u548c\u586b\u5199\u8868\u5355<\/li>\n<li>\u6267\u884cJavaScript\u4ee3\u7801<\/li>\n<li>\u8fde\u63a5\u5230\u73b0\u6709Chrome\u5b9e\u4f8b<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u81ea\u52a8\u5316Web\u4efb\u52a1<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u6d4b\u8bd5\u7f51\u7ad9\u529f\u80fd<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u63d0\u53d6\u7f51\u9875\u5185\u5bb9<\/li>\n<\/ul>\n<h3>&#xff08;\u516d&#xff09;Playwright\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;Playwright MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9b\u8de8\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;microsoft\/playwright-mcp<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> &#064;playwright\/mcp&#064;latest<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;playwright&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#064;playwright\/mcp&#064;latest&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y &#064;playwright\/mcp&#064;latest<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>playwright<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&#064;playwright\/mcp&#064;latest<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>]}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;playwright&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;&#064;playwright\/mcp&#064;latest&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u8de8\u6d4f\u89c8\u5668\u81ea\u52a8\u5316&#xff08;Chrome\u3001Firefox\u3001Safari&#xff09;<\/li>\n<li>\u9875\u9762\u5feb\u7167\u548c\u622a\u56fe<\/li>\n<li>\u5143\u7d20\u4ea4\u4e92&#xff08;\u70b9\u51fb\u3001\u8f93\u5165\u3001\u9009\u62e9&#xff09;<\/li>\n<li>\u7f51\u7edc\u8bf7\u6c42\u76d1\u63a7<\/li>\n<li>\u652f\u6301\u65e0\u5934\u548c\u6709\u5934\u6a21\u5f0f<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u5728\u591a\u79cd\u6d4f\u89c8\u5668\u4e2d\u6d4b\u8bd5<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u5206\u6790\u7f51\u9875\u7ed3\u6784<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u81ea\u52a8\u586b\u5199\u8868\u5355<\/li>\n<\/ul>\n<h3>&#xff08;\u4e03&#xff09;\u987a\u5e8f\u601d\u8003\u5de5\u5177\u670d\u52a1\u5668<\/h3>\n<h4>\u57fa\u672c\u4fe1\u606f<\/h4>\n<ul>\n<li>\u540d\u79f0&#xff1a;Sequential Thinking MCP Server<\/li>\n<li>\u529f\u80fd&#xff1a;\u63d0\u4f9b\u7ed3\u6784\u5316\u601d\u8003\u548c\u95ee\u9898\u5206\u89e3\u80fd\u529b<\/li>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;spences10\/mcp-sequentialthinking-tools<\/li>\n<li>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p>NPX\u65b9\u5f0f&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> mcp-sequentialthinking-tools<\/p>\n<p>JSON\u914d\u7f6e&#xff08;\u901a\u7528&#xff09;&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpservers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;sequential-thinking&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;mcp-sequentialthinking-tools&#034;<\/span><br \/>\n      <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<p>Cursor\u914d\u7f6e&#xff1a; \u5728Cursor\u4e2d&#xff0c;\u5bfc\u822a\u81f3 Settings &gt; Features &gt; MCP Servers&#xff0c;\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;&#xff0c;\u9009\u62e9stdio\u7c7b\u578b&#xff0c;\u8f93\u5165&#xff1a;<\/p>\n<p>\u547d\u4ee4: npx -y mcp-sequentialthinking-tools<\/p>\n<p>VS Code\u5b89\u88c5&#xff1a;<\/p>\n<p>code &#8211;install-mcp <span class=\"token string\">&#034;{<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>name<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>sequential-thinking<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>command<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>npx<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>args<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>:[<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>-y<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>,<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>mcp-sequentialthinking-tools<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>]}&#034;<\/span><\/p>\n<p>Claude Desktop\u914d\u7f6e&#xff1a; \u5728Claude Desktop\u4e2d&#xff0c;\u8fdb\u5165\u8bbe\u7f6e&#xff0c;\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;sequential-thinking&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#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-property property\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;mcp-sequentialthinking-tools&#034;<\/span><br \/>\n      <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<h4>\u4e3b\u8981\u529f\u80fd<\/h4>\n<ul>\n<li>\u5206\u89e3\u590d\u6742\u95ee\u9898\u4e3a\u53ef\u7ba1\u7406\u6b65\u9aa4<\/li>\n<li>\u4e3a\u6bcf\u4e2a\u6b65\u9aa4\u63a8\u8350\u5408\u9002\u7684\u5de5\u5177<\/li>\n<li>\u63d0\u4f9b\u4fe1\u5fc3\u8bc4\u5206\u548c\u5de5\u5177\u63a8\u8350\u7406\u7531<\/li>\n<li>\u652f\u6301\u601d\u8003\u8fc7\u7a0b\u7684\u5206\u652f\u548c\u4fee\u8ba2<\/li>\n<\/ul>\n<h4>\u4f7f\u7528\u573a\u666f<\/h4>\n<ul>\n<li>\u9700\u8981AI\u52a9\u624b\u89e3\u51b3\u590d\u6742\u95ee\u9898<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u8fdb\u884c\u7cfb\u7edf\u6027\u5206\u6790<\/li>\n<li>\u9700\u8981AI\u52a9\u624b\u8bc4\u4f30\u591a\u79cd\u89e3\u51b3\u65b9\u6848<\/li>\n<\/ul>\n<h2>\u4e09\u3001MCP\u670d\u52a1\u5668\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u5b89\u88c5\u524d\u51c6\u5907<\/h3>\n<p>\u5728\u5b89\u88c5MCP\u670d\u52a1\u5668\u4e4b\u524d&#xff0c;\u9700\u8981\u786e\u4fdd\u7cfb\u7edf\u6ee1\u8db3\u4ee5\u4e0b\u6761\u4ef6&#xff1a;<\/p>\n<li>Node.js\u73af\u5883&#xff1a;\u5927\u591a\u6570MCP\u670d\u52a1\u5668\u57fa\u4e8eNode.js\u5f00\u53d1&#xff0c;\u9700\u8981\u5b89\u88c5Node.js\u548cnpm<\/li>\n<li>Docker&#xff1a;\u67d0\u4e9bMCP\u670d\u52a1\u5668\u63d0\u4f9bDocker\u955c\u50cf&#xff0c;\u9700\u8981\u5b89\u88c5Docker<\/li>\n<li>Python\u73af\u5883&#xff1a;Python\u76f8\u5173\u7684MCP\u670d\u52a1\u5668\u9700\u8981Python\u73af\u5883<\/li>\n<li>API\u5bc6\u94a5&#xff1a;\u67d0\u4e9b\u670d\u52a1\u5668&#xff08;\u5982\u641c\u7d22\u670d\u52a1\u5668&#xff09;\u9700\u8981\u76f8\u5e94\u7684API\u5bc6\u94a5<\/li>\n<h3>&#xff08;\u4e8c&#xff09;\u5b89\u88c5\u65b9\u6cd5<\/h3>\n<p>MCP\u670d\u52a1\u5668\u7684\u5b89\u88c5\u65b9\u6cd5\u901a\u5e38\u6709\u4ee5\u4e0b\u51e0\u79cd&#xff1a;<\/p>\n<h4>1. \u4f7f\u7528NPX\u76f4\u63a5\u8fd0\u884c<\/h4>\n<p>\u8fd9\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5&#xff0c;\u65e0\u9700\u672c\u5730\u5b89\u88c5&#xff0c;\u76f4\u63a5\u901a\u8fc7npx\u547d\u4ee4\u8fd0\u884c&#xff1a;<\/p>\n<p>npx <span class=\"token parameter variable\">-y<\/span> &#064;modelcontextprotocol\/server-filesystem<\/p>\n<h4>2. \u4f7f\u7528Docker\u5bb9\u5668<\/h4>\n<p>\u5bf9\u4e8e\u63d0\u4f9bDocker\u955c\u50cf\u7684MCP\u670d\u52a1\u5668&#xff0c;\u53ef\u4ee5\u901a\u8fc7Docker\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-i<\/span> <span class=\"token parameter variable\">&#8211;rm<\/span> <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">API_KEY<\/span><span class=\"token operator\">&#061;<\/span>your_key image_name<\/p>\n<h4>3. \u672c\u5730\u5b89\u88c5<\/h4>\n<p>\u5148\u5b89\u88c5\u5305&#xff0c;\u7136\u540e\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">npm<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-g<\/span> package-name<br \/>\npackage-name<\/p>\n<h3>&#xff08;\u4e09&#xff09;\u914d\u7f6e\u65b9\u6cd5<\/h3>\n<h4>1. Claude Desktop\u914d\u7f6e<\/h4>\n<p>\u5728Claude Desktop\u4e2d\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff1a;<\/p>\n<li>\u6253\u5f00Claude Desktop<\/li>\n<li>\u8fdb\u5165\u8bbe\u7f6e<\/li>\n<li>\u6dfb\u52a0\u65b0\u7684MCP\u670d\u52a1\u5668<\/li>\n<li>\u8f93\u5165\u914d\u7f6e\u4fe1\u606f&#xff08;\u547d\u4ee4\u3001\u53c2\u6570\u548c\u73af\u5883\u53d8\u91cf&#xff09;<\/li>\n<h4>2. Cursor\u7f16\u8f91\u5668\u914d\u7f6e<\/h4>\n<p>\u5728Cursor\u4e2d\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff1a;<\/p>\n<li>\u6253\u5f00Cursor\u8bbe\u7f6e<\/li>\n<li>\u5bfc\u822a\u81f3Features &gt; MCP Servers<\/li>\n<li>\u70b9\u51fb&#034;&#043; Add New MCP Server&#034;<\/li>\n<li>\u9009\u62e9\u7c7b\u578b&#xff08;\u901a\u5e38\u662fstdio&#xff09;<\/li>\n<li>\u8f93\u5165\u547d\u4ee4\u548c\u53c2\u6570<\/li>\n<h4>3. VS Code\u914d\u7f6e<\/h4>\n<p>\u5728VS Code\u4e2d\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff1a;<\/p>\n<li>\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5MCP\u670d\u52a1\u5668<\/li>\n<li>\u6216\u8005\u5728\u8bbe\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u914d\u7f6e<\/li>\n<h2>\u56db\u3001MCP\u670d\u52a1\u5668\u7684\u5e94\u7528\u5b9e\u8df5<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u57fa\u672c\u4f7f\u7528\u6d41\u7a0b<\/h3>\n<p>\u4f7f\u7528MCP\u670d\u52a1\u5668\u7684\u57fa\u672c\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<li>\u5b89\u88c5\u548c\u914d\u7f6e&#xff1a;\u6309\u7167\u4e0a\u8ff0\u65b9\u6cd5\u5b89\u88c5\u548c\u914d\u7f6eMCP\u670d\u52a1\u5668<\/li>\n<li>\u542f\u52a8AI\u52a9\u624b&#xff1a;\u6253\u5f00\u652f\u6301MCP\u7684AI\u52a9\u624b&#xff08;\u5982Claude\u3001Cursor\u4e2d\u7684Copilot&#xff09;<\/li>\n<li>\u4f7f\u7528\u5de5\u5177&#xff1a;\u5728\u5bf9\u8bdd\u4e2d\u81ea\u7136\u5730\u63cf\u8ff0\u9700\u6c42&#xff0c;AI\u52a9\u624b\u4f1a\u81ea\u52a8\u8c03\u7528\u76f8\u5e94\u7684MCP\u5de5\u5177<\/li>\n<li>\u5ba1\u9605\u7ed3\u679c&#xff1a;\u67e5\u770bAI\u52a9\u624b\u8fd4\u56de\u7684\u7ed3\u679c&#xff0c;\u5fc5\u8981\u65f6\u63d0\u4f9b\u53cd\u9988<\/li>\n<h3>&#xff08;\u4e8c&#xff09;\u5e38\u89c1\u5e94\u7528\u573a\u666f<\/h3>\n<h4>1. \u4ee3\u7801\u5f00\u53d1\u573a\u666f<\/h4>\n<ul>\n<li>\u4f7f\u7528\u6587\u4ef6\u7cfb\u7edf\u670d\u52a1\u5668\u8bfb\u53d6\u548c\u4fee\u6539\u9879\u76ee\u6587\u4ef6<\/li>\n<li>\u4f7f\u7528GitHub\u670d\u52a1\u5668\u7ba1\u7406\u4ee3\u7801\u4ed3\u5e93<\/li>\n<li>\u4f7f\u7528\u4ee3\u7801\u6267\u884c\u670d\u52a1\u5668\u6d4b\u8bd5\u4ee3\u7801\u7247\u6bb5<\/li>\n<\/ul>\n<h4>2. \u4fe1\u606f\u68c0\u7d22\u573a\u666f<\/h4>\n<ul>\n<li>\u4f7f\u7528Web\u641c\u7d22\u670d\u52a1\u5668\u83b7\u53d6\u6700\u65b0\u4fe1\u606f<\/li>\n<li>\u4f7f\u7528\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u670d\u52a1\u5668\u63d0\u53d6\u7279\u5b9a\u7f51\u7ad9\u5185\u5bb9<\/li>\n<\/ul>\n<h4>3. \u81ea\u52a8\u5316\u6d4b\u8bd5\u573a\u666f<\/h4>\n<ul>\n<li>\u4f7f\u7528Puppeteer\u6216Playwright\u670d\u52a1\u5668\u8fdb\u884cUI\u81ea\u52a8\u5316\u6d4b\u8bd5<\/li>\n<li>\u7ed3\u5408\u4ee3\u7801\u6267\u884c\u670d\u52a1\u5668\u8fdb\u884c\u7aef\u5230\u7aef\u6d4b\u8bd5<\/li>\n<\/ul>\n<h4>4. \u95ee\u9898\u89e3\u51b3\u573a\u666f<\/h4>\n<ul>\n<li>\u4f7f\u7528\u987a\u5e8f\u601d\u8003\u5de5\u5177\u670d\u52a1\u5668\u5206\u89e3\u590d\u6742\u95ee\u9898<\/li>\n<li>\u7ed3\u5408\u5176\u4ed6\u5de5\u5177\u670d\u52a1\u5668\u5b9e\u73b0\u5b8c\u6574\u89e3\u51b3\u65b9\u6848<\/li>\n<\/ul>\n<h3>&#xff08;\u4e09&#xff09;\u6700\u4f73\u5b9e\u8df5<\/h3>\n<li>\u7ec4\u5408\u4f7f\u7528&#xff1a;\u5c06\u591a\u4e2aMCP\u670d\u52a1\u5668\u7ec4\u5408\u4f7f\u7528&#xff0c;\u53d1\u6325\u534f\u540c\u6548\u5e94<\/li>\n<li>\u660e\u786e\u6307\u4ee4&#xff1a;\u5411AI\u52a9\u624b\u63d0\u4f9b\u660e\u786e\u7684\u6307\u4ee4&#xff0c;\u5e2e\u52a9\u5176\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177<\/li>\n<li>\u5b89\u5168\u8003\u8651&#xff1a;\u5bf9\u4e8e\u654f\u611f\u64cd\u4f5c&#xff0c;\u8bbe\u7f6e\u9002\u5f53\u7684\u6743\u9650\u9650\u5236<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0&#xff1a;\u4fdd\u6301MCP\u670d\u52a1\u5668\u7684\u7248\u672c\u66f4\u65b0&#xff0c;\u83b7\u53d6\u6700\u65b0\u529f\u80fd\u548c\u5b89\u5168\u4fee\u590d<\/li>\n<h2>\u4e94\u3001MCP\u670d\u52a1\u5668\u5f00\u53d1\u6307\u5357<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u5f00\u53d1\u73af\u5883\u8bbe\u7f6e<\/h3>\n<p>\u8981\u5f00\u53d1\u81ea\u5df1\u7684MCP\u670d\u52a1\u5668&#xff0c;\u9700\u8981\u51c6\u5907\u4ee5\u4e0b\u73af\u5883&#xff1a;<\/p>\n<li>Node.js\u6216Python&#xff1a;\u6839\u636e\u504f\u597d\u9009\u62e9\u5f00\u53d1\u8bed\u8a00<\/li>\n<li>MCP SDK&#xff1a;\u5b89\u88c5\u76f8\u5e94\u8bed\u8a00\u7684MCP SDK\n<ul>\n<li>Node.js: npm install &#064;modelcontextprotocol\/sdk<\/li>\n<li>Python: pip install mcp<\/li>\n<\/ul>\n<\/li>\n<li>\u5f00\u53d1\u5de5\u5177&#xff1a;\u9009\u62e9\u5408\u9002\u7684IDE\u6216\u7f16\u8f91\u5668<\/li>\n<h3>&#xff08;\u4e8c&#xff09;\u57fa\u672c\u5f00\u53d1\u6d41\u7a0b<\/h3>\n<li>\u5b9a\u4e49\u529f\u80fd&#xff1a;\u660e\u786eMCP\u670d\u52a1\u5668\u8981\u63d0\u4f9b\u7684\u529f\u80fd<\/li>\n<li>\u5b9e\u73b0\u5de5\u5177&#xff1a;\u4f7f\u7528MCP SDK\u5b9e\u73b0\u5de5\u5177\u51fd\u6570<\/li>\n<li>\u5b9a\u4e49\u8d44\u6e90&#xff1a;\u5982\u679c\u9700\u8981&#xff0c;\u5b9e\u73b0\u8d44\u6e90\u8bbf\u95ee\u529f\u80fd<\/li>\n<li>\u6d4b\u8bd5&#xff1a;\u4f7f\u7528MCP Inspector\u6216AI\u52a9\u624b\u6d4b\u8bd5\u670d\u52a1\u5668\u529f\u80fd<\/li>\n<li>\u53d1\u5e03&#xff1a;\u5c06MCP\u670d\u52a1\u5668\u53d1\u5e03\u4e3anpm\u5305\u6216Python\u5305<\/li>\n<h3>&#xff08;\u4e09&#xff09;\u793a\u4f8b\u4ee3\u7801<\/h3>\n<h4>Node.js\u793a\u4f8b<\/h4>\n<p><span class=\"token keyword\">const<\/span> <span class=\"token punctuation\">{<\/span> Server <span class=\"token punctuation\">}<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">require<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;&#064;modelcontextprotocol\/sdk&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u521b\u5efa\u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token keyword\">const<\/span> server <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">Server<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;example-server&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5b9a\u4e49\u5de5\u5177<\/span><br \/>\nserver<span class=\"token punctuation\">.<\/span><span class=\"token function\">registerTool<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token literal-property property\">name<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;hello&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token literal-property property\">description<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;\u8fd4\u56de\u95ee\u5019\u4fe1\u606f&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token literal-property property\">parameters<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token literal-property property\">name<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token literal-property property\">type<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;string&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token literal-property property\">description<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#039;\u8981\u95ee\u5019\u7684\u540d\u5b57&#039;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token function-variable function\">handler<\/span><span class=\"token operator\">:<\/span> <span class=\"token keyword\">async<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token parameter\">params<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">&#096;<\/span><span class=\"token string\">Hello, <\/span><span class=\"token interpolation\"><span class=\"token interpolation-punctuation punctuation\">${<\/span>params<span class=\"token punctuation\">.<\/span>name<span class=\"token interpolation-punctuation punctuation\">}<\/span><\/span><span class=\"token string\">!<\/span><span class=\"token template-punctuation string\">&#096;<\/span><\/span><span class=\"token punctuation\">;<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u542f\u52a8\u670d\u52a1\u5668<\/span><br \/>\nserver<span class=\"token punctuation\">.<\/span><span class=\"token function\">start<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h4>Python\u793a\u4f8b<\/h4>\n<p><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<\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u670d\u52a1\u5668<\/span><br \/>\nmcp <span class=\"token operator\">&#061;<\/span> FastMCP<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Example&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\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\">hello<\/span><span class=\"token punctuation\">(<\/span>name<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u8fd4\u56de\u95ee\u5019\u4fe1\u606f&#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Hello, <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>name<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">!&#034;<\/span><\/span><\/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<h2>\u516d\u3001MCP\u670d\u52a1\u5668\u7684\u672a\u6765\u53d1\u5c55<\/h2>\n<h3>&#xff08;\u4e00&#xff09;\u6280\u672f\u8d8b\u52bf<\/h3>\n<p>MCP\u670d\u52a1\u5668\u6280\u672f\u6b63\u5728\u5feb\u901f\u53d1\u5c55&#xff0c;\u672a\u6765\u53ef\u80fd\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u8d8b\u52bf&#xff1a;<\/p>\n<li>\u66f4\u591a\u4e13\u4e1a\u9886\u57df\u670d\u52a1\u5668&#xff1a;\u9488\u5bf9\u7279\u5b9a\u884c\u4e1a\u6216\u9886\u57df\u7684\u4e13\u4e1aMCP\u670d\u52a1\u5668<\/li>\n<li>\u66f4\u5f3a\u7684\u5b89\u5168\u673a\u5236&#xff1a;\u66f4\u5b8c\u5584\u7684\u6743\u9650\u63a7\u5236\u548c\u5b89\u5168\u5ba1\u8ba1<\/li>\n<li>\u66f4\u597d\u7684\u4e92\u64cd\u4f5c\u6027&#xff1a;\u4e0d\u540cMCP\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u534f\u4f5c\u80fd\u529b<\/li>\n<li>\u66f4\u667a\u80fd\u7684\u5de5\u5177\u63a8\u8350&#xff1a;\u57fa\u4e8e\u4e0a\u4e0b\u6587\u81ea\u52a8\u63a8\u8350\u5408\u9002\u7684\u5de5\u5177<\/li>\n<h3>&#xff08;\u4e8c&#xff09;\u5e94\u7528\u524d\u666f<\/h3>\n<p>MCP\u670d\u52a1\u5668\u5728\u4ee5\u4e0b\u9886\u57df\u6709\u5e7f\u9614\u7684\u5e94\u7528\u524d\u666f&#xff1a;<\/p>\n<li>\u8f6f\u4ef6\u5f00\u53d1&#xff1a;\u4ee3\u7801\u751f\u6210\u3001\u6d4b\u8bd5\u3001\u90e8\u7f72\u81ea\u52a8\u5316<\/li>\n<li>\u6570\u636e\u5206\u6790&#xff1a;\u6570\u636e\u83b7\u53d6\u3001\u6e05\u6d17\u3001\u5206\u6790\u3001\u53ef\u89c6\u5316<\/li>\n<li>\u5185\u5bb9\u521b\u4f5c&#xff1a;\u7814\u7a76\u3001\u5199\u4f5c\u3001\u8bbe\u8ba1\u3001\u53d1\u5e03<\/li>\n<li>\u77e5\u8bc6\u7ba1\u7406&#xff1a;\u4fe1\u606f\u68c0\u7d22\u3001\u7ec4\u7ec7\u3001\u603b\u7ed3\u3001\u5206\u4eab<\/li>\n<h3>&#xff08;\u4e09&#xff09;\u53c2\u4e0e\u8d21\u732e<\/h3>\n<p>\u5982\u679c\u4f60\u5bf9MCP\u670d\u52a1\u5668\u611f\u5174\u8da3&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u53c2\u4e0e\u8d21\u732e&#xff1a;<\/p>\n<li>\u4f7f\u7528\u73b0\u6709\u670d\u52a1\u5668&#xff1a;\u63d0\u4f9b\u4f7f\u7528\u53cd\u9988\u548c\u6539\u8fdb\u5efa\u8bae<\/li>\n<li>\u5f00\u53d1\u65b0\u670d\u52a1\u5668&#xff1a;\u9488\u5bf9\u7279\u5b9a\u9700\u6c42\u5f00\u53d1\u65b0\u7684MCP\u670d\u52a1\u5668<\/li>\n<li>\u5b8c\u5584\u6587\u6863&#xff1a;\u5e2e\u52a9\u6539\u8fdbMCP\u670d\u52a1\u5668\u7684\u6587\u6863<\/li>\n<li>\u53c2\u4e0e\u793e\u533a&#xff1a;\u52a0\u5165MCP\u76f8\u5173\u7684\u5f00\u53d1\u8005\u793e\u533a<\/li>\n<h2>\u4e03\u3001\u603b\u7ed3<\/h2>\n<p>MCP\u670d\u52a1\u5668\u4f5c\u4e3aAI\u6a21\u578b\u4e0e\u5916\u90e8\u4e16\u754c\u4ea4\u4e92\u7684\u6865\u6881&#xff0c;\u6781\u5927\u5730\u6269\u5c55\u4e86AI\u52a9\u624b\u7684\u80fd\u529b\u8303\u56f4\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u4e03\u79cd\u5e38\u7528MCP\u670d\u52a1\u5668&#xff0c;\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u670d\u52a1\u5668&#xff0c;\u5b9e\u73b0\u6587\u4ef6\u64cd\u4f5c\u3001\u7f51\u7edc\u641c\u7d22\u3001\u4ee3\u7801\u6267\u884c\u3001\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u7b49\u591a\u79cd\u529f\u80fd\u3002<\/p>\n<p>\u968f\u7740MCP\u6280\u672f\u7684\u4e0d\u65ad\u53d1\u5c55&#xff0c;\u6211\u4eec\u53ef\u4ee5\u671f\u5f85\u66f4\u591a\u529f\u80fd\u5f3a\u5927\u3001\u6613\u4e8e\u4f7f\u7528\u7684MCP\u670d\u52a1\u5668\u51fa\u73b0&#xff0c;\u4e3aAI\u52a9\u624b\u63d0\u4f9b\u66f4\u5e7f\u6cdb\u7684\u80fd\u529b&#xff0c;\u5e2e\u52a9\u7528\u6237\u66f4\u9ad8\u6548\u5730\u5b8c\u6210\u5404\u79cd\u4efb\u52a1\u3002<\/p>\n<h2>\u53c2\u8003\u8d44\u6599<\/h2>\n<li>Model Context Protocol\u5b98\u65b9\u6587\u6863<\/li>\n<li>Anthropic Claude MCP\u6307\u5357<\/li>\n<li>GitHub MCP Server\u6587\u6863<\/li>\n<li>Awesome MCP Servers\u4e2d\u6587\u7248<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf25\u6b21\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668\u662f\u8fde\u63a5AI\u6a21\u578b\u4e0e\u5916\u90e8\u5de5\u5177\u3001\u6570\u636e\u548c\u7cfb\u7edf\u7684\u6865\u6881\u3002\u901a\u8fc7MCP\u670d\u52a1\u5668\uff0cAI\u6a21\u578b\u80fd\u591f\u83b7\u53d6\u5916\u90e8\u4fe1\u606f\u3001\u6267\u884c\u7279\u5b9a\u4efb\u52a1\u5e76\u5c06\u7ed3\u679c\u8fd4\u56de\uff0c\u6781\u5927\u6269\u5c55\u4e86AI\u5728\u7f16\u7a0b\u548c\u5176\u4ed6\u9886\u57df\u7684\u80fd\u529b\u8303\u56f4\u3002MCP\u670d\u52a1\u5668\u4f5c\u4e3aAI\u6a21\u578b\u4e0e\u5916\u90e8\u4e16\u754c\u4ea4\u4e92\u7684\u6865\u6881\uff0c\u6781\u5927\u5730\u6269\u5c55\u4e86AI\u52a9\u624b\u7684\u80fd\u529b\u8303\u56f4\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u4e03\u79cd\u5e38\u7528MCP\u670d\u52a1\u5668\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u670d\u52a1\u5668\uff0c\u5b9e\u73b0\u6587\u4ef6\u64cd\u4f5c\u3001\u7f51\u7edc\u641c\u7d22\u3001\u4ee3\u7801\u6267\u884c\u3001\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u7b49\u591a\u79cd\u529f\u80fd\u3002_\u82e5\u4f9dai mcp<\/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":[66,53,73,50],"topic":[],"class_list":{"0":"post-48658","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-ai","9":"tag-mcp","10":"tag-50"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \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\/48658.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf25\u6b21\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668\u662f\u8fde\u63a5AI\u6a21\u578b\u4e0e\u5916\u90e8\u5de5\u5177\u3001\u6570\u636e\u548c\u7cfb\u7edf\u7684\u6865\u6881\u3002\u901a\u8fc7MCP\u670d\u52a1\u5668\uff0cAI\u6a21\u578b\u80fd\u591f\u83b7\u53d6\u5916\u90e8\u4fe1\u606f\u3001\u6267\u884c\u7279\u5b9a\u4efb\u52a1\u5e76\u5c06\u7ed3\u679c\u8fd4\u56de\uff0c\u6781\u5927\u6269\u5c55\u4e86AI\u5728\u7f16\u7a0b\u548c\u5176\u4ed6\u9886\u57df\u7684\u80fd\u529b\u8303\u56f4\u3002MCP\u670d\u52a1\u5668\u4f5c\u4e3aAI\u6a21\u578b\u4e0e\u5916\u90e8\u4e16\u754c\u4ea4\u4e92\u7684\u6865\u6881\uff0c\u6781\u5927\u5730\u6269\u5c55\u4e86AI\u52a9\u624b\u7684\u80fd\u529b\u8303\u56f4\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u4e03\u79cd\u5e38\u7528MCP\u670d\u52a1\u5668\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u670d\u52a1\u5668\uff0c\u5b9e\u73b0\u6587\u4ef6\u64cd\u4f5c\u3001\u7f51\u7edc\u641c\u7d22\u3001\u4ee3\u7801\u6267\u884c\u3001\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u7b49\u591a\u79cd\u529f\u80fd\u3002_\u82e5\u4f9dai mcp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/48658.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T04:57:29+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=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/48658.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/48658.html\",\"name\":\"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T04:57:29+00:00\",\"dateModified\":\"2025-07-30T04:57:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/48658.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/48658.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/48658.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357\"}]},{\"@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":"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \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\/48658.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf25\u6b21\u3002MCP\uff08Model Context Protocol\uff09\u670d\u52a1\u5668\u662f\u8fde\u63a5AI\u6a21\u578b\u4e0e\u5916\u90e8\u5de5\u5177\u3001\u6570\u636e\u548c\u7cfb\u7edf\u7684\u6865\u6881\u3002\u901a\u8fc7MCP\u670d\u52a1\u5668\uff0cAI\u6a21\u578b\u80fd\u591f\u83b7\u53d6\u5916\u90e8\u4fe1\u606f\u3001\u6267\u884c\u7279\u5b9a\u4efb\u52a1\u5e76\u5c06\u7ed3\u679c\u8fd4\u56de\uff0c\u6781\u5927\u6269\u5c55\u4e86AI\u5728\u7f16\u7a0b\u548c\u5176\u4ed6\u9886\u57df\u7684\u80fd\u529b\u8303\u56f4\u3002MCP\u670d\u52a1\u5668\u4f5c\u4e3aAI\u6a21\u578b\u4e0e\u5916\u90e8\u4e16\u754c\u4ea4\u4e92\u7684\u6865\u6881\uff0c\u6781\u5927\u5730\u6269\u5c55\u4e86AI\u52a9\u624b\u7684\u80fd\u529b\u8303\u56f4\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u4e03\u79cd\u5e38\u7528MCP\u670d\u52a1\u5668\uff0c\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u670d\u52a1\u5668\uff0c\u5b9e\u73b0\u6587\u4ef6\u64cd\u4f5c\u3001\u7f51\u7edc\u641c\u7d22\u3001\u4ee3\u7801\u6267\u884c\u3001\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u7b49\u591a\u79cd\u529f\u80fd\u3002_\u82e5\u4f9dai mcp","og_url":"https:\/\/www.wsisp.com\/helps\/48658.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T04:57:29+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/48658.html","url":"https:\/\/www.wsisp.com\/helps\/48658.html","name":"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T04:57:29+00:00","dateModified":"2025-07-30T04:57:29+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/48658.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/48658.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/48658.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010AI\u3011\u5e38\u7528MCP\u670d\u52a1\u5668\u8be6\u89e3\u4e0e\u5e94\u7528\u6307\u5357"}]},{"@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\/48658","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=48658"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/48658\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=48658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=48658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=48658"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=48658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}