{"id":32457,"date":"2025-04-24T08:41:04","date_gmt":"2025-04-24T00:41:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/32457.html"},"modified":"2025-04-24T08:41:04","modified_gmt":"2025-04-24T00:41:04","slug":"%e9%85%8d%e7%bd%aemcp%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bb%a5%e6%8f%90%e5%8d%87cursor%e5%8a%9f%e8%83%bd%e4%b8%93%e4%b8%9a%e8%bf%9b%e9%98%b6%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/32457.html","title":{"rendered":"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248)"},"content":{"rendered":"<h2>\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248)<\/h2>\n<h3>\u5f15\u8a00<\/h3>\n<p>\u57282025\u5e744\u6708&#xff0c;AI\u9a71\u52a8\u7684\u5f00\u53d1\u5de5\u5177\u6b63\u5728\u8fc5\u901f\u6539\u53d8\u8f6f\u4ef6\u5f00\u53d1\u65b9\u5f0f\u3002Cursor \u4f5c\u4e3a\u4e00\u6b3e\u96c6\u6210\u4eba\u5de5\u667a\u80fd\u7684IDE&#xff0c;\u901a\u8fc7MCP&#xff08;\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff09;\u6269\u5c55\u5176\u529f\u80fd&#xff0c;\u4f7f\u5f00\u53d1\u8005\u80fd\u591f\u76f4\u63a5\u5728IDE\u4e2d\u8c03\u7528\u5916\u90e8\u5de5\u5177&#xff0c;\u4f8b\u5982\u5b9e\u65f6\u7f51\u7edc\u641c\u7d22\u3001\u6570\u636e\u5e93\u67e5\u8be2\u6216GitHub\u64cd\u4f5c\u3002\u672c\u6587\u9762\u5411\u4e13\u4e1a\u4eba\u58eb&#xff0c;\u63d0\u4f9b\u4e00\u4efd\u6700\u65b0\u7684\u4e2d\u6587\u6559\u7a0b&#xff0c;\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Windows\u73af\u5883\u4e0b\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff0c;\u4ee5\u5145\u5206\u53d1\u6325Cursor\u7684AI\u589e\u5f3a\u529f\u80fd&#xff0c;\u5e76\u5217\u51fa8\u4e2a\u5b9e\u7528\u793a\u4f8b&#xff0c;\u8986\u76d6\u9879\u76ee\u5206\u6790\u3001\u7248\u672c\u63a7\u5236\u3001\u6570\u636e\u5e93\u7ba1\u7406\u7b49\u9886\u57df\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424004103-6809889f6015d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u4ec0\u4e48\u662fMCP\u670d\u52a1\u5668&#xff1f;<\/h3>\n<p>MCP&#xff08;\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff09;\u662fAnthropic\u4e8e2024\u5e74\u63d0\u51fa\u7684\u5f00\u653e\u6807\u51c6&#xff0c;\u65e8\u5728\u4e3a\u5927\u578b\u8bed\u8a00\u6a21\u578b&#xff08;LLM&#xff09;\u63d0\u4f9b\u4e0e\u5916\u90e8\u5de5\u5177\u548c\u6570\u636e\u6e90\u7684\u6807\u51c6\u5316\u4ea4\u4e92\u63a5\u53e3\u3002\u901a\u8fc7\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff0c;Cursor\u53ef\u4ee5\u4e0e\u6570\u636e\u5e93\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u7b49\u4ea4\u4e92&#xff0c;\u4ece\u800c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u7814\u7a76\u8868\u660e&#xff0c;MCP\u670d\u52a1\u5668\u80fd\u591f\u663e\u8457\u589e\u5f3aCursor\u7684\u529f\u80fd&#xff0c;\u7279\u522b\u9002\u5408\u4e13\u4e1a\u5f00\u53d1\u4efb\u52a1\u3002<\/p>\n<h3>\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u5728\u5f00\u59cb\u914d\u7f6e\u4e4b\u524d&#xff0c;\u8bf7\u786e\u4fdd\u4ee5\u4e0b\u5de5\u5177\u5df2\u5b89\u88c5&#xff1a;<\/p>\n<table>\n<tr>\u5de5\u5177\u8981\u6c42\u4e0b\u8f7d\u94fe\u63a5<\/tr>\n<tbody>\n<tr>\n<td>Cursor IDE<\/td>\n<td>\u6700\u65b0\u7248\u672c&#xff08;\u5efa\u8bae0.46.7&#043;&#xff09;<\/td>\n<td>Cursor\u5b98\u7f51<\/td>\n<\/tr>\n<tr>\n<td>Node.js<\/td>\n<td>\u7248\u672c18\u6216\u66f4\u9ad8&#xff0c;\u786e\u4fddnpx\u53ef\u7528<\/td>\n<td>Node.js\u5b98\u7f51<\/td>\n<\/tr>\n<tr>\n<td>Git<\/td>\n<td>\u6700\u65b0\u7a33\u5b9a\u7248&#xff08;\u53ef\u9009&#xff09;<\/td>\n<td>Git\u5b98\u7f51<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26&#xff08;CMD&#xff09;\u6216PowerShell\u3002<\/li>\n<li>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u7248\u672c&#xff1a;\n<ul>\n<li>node -v&#xff1a;\u786e\u8ba4Node.js\u7248\u672c&#xff08;\u4f8b\u5982v18.x.x&#xff09;\u3002<\/li>\n<li>npx -v&#xff1a;\u786e\u8ba4npx\u53ef\u7528\u3002<\/li>\n<li>git &#8211;version&#xff1a;\u786e\u8ba4Git\u7248\u672c&#xff08;\u4f8b\u5982git version 2.x.x&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<p>\u6ce8\u610f&#xff1a;\u5efa\u8bae\u4f7f\u7528PowerShell\u6216Git Bash\u8fd0\u884c\u547d\u4ee4&#xff0c;\u4ee5\u907f\u514dWindows\u4e0b\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<h3>\u914d\u7f6e\u6b65\u9aa4<\/h3>\n<p>Cursor\u901a\u8fc7mcp.json\u6587\u4ef6\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff0c;\u8be5\u6587\u4ef6\u4f4d\u4e8e\u7528\u6237\u4e3b\u76ee\u5f55\u4e0b\u7684.cursor\u6587\u4ef6\u5939&#xff08;\u5373%USERPROFILE%\\\\.cursor\\\\mcp.json&#xff09;\u3002\u4ee5\u4e0b\u662f\u901a\u7528\u914d\u7f6e\u6b65\u9aa4&#xff1a;<\/p>\n<li>\n<p>\u521b\u5efa.cursor\u76ee\u5f55&#xff1a;<\/p>\n<p> <span class=\"token function\">mkdir<\/span> %USERPROFILE%<span class=\"token punctuation\">\\\\<\/span>.cursor\n <\/li>\n<li>\n<p>\u521b\u5efamcp.json\u6587\u4ef6&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668&#xff08;\u5982VS Code&#xff09;\u521b\u5efamcp.json&#xff0c;\u4fdd\u5b58\u5230.cursor\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6dfb\u52a0\u670d\u52a1\u5668\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>\u5728mcp.json\u4e2d\u6dfb\u52a0\u670d\u52a1\u5668\u4fe1\u606f&#xff0c;\u5305\u62eccommand&#xff08;\u547d\u4ee4&#xff09;\u3001args&#xff08;\u53c2\u6570&#xff09;\u548cenv&#xff08;\u73af\u5883\u53d8\u91cf&#xff0c;\u53ef\u9009&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u91cd\u542fCursor&#xff1a;<\/p>\n<ul>\n<li>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u91cd\u542fCursor\u4ee5\u52a0\u8f7d\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<\/li>\n<h3>8\u4e2a\u5b9e\u7528MCP\u670d\u52a1\u5668\u793a\u4f8b<\/h3>\n<p>\u4ee5\u4e0b\u662f8\u4e2a\u9002\u5408\u4e13\u4e1a\u4eba\u58eb\u7684MCP\u670d\u52a1\u5668\u793a\u4f8b&#xff0c;\u5305\u62ec\u7528\u9014\u3001\u547d\u4ee4\u548c\u914d\u7f6e\u65b9\u6cd5&#xff1a;<\/p>\n<h4>1. Sequential Thinking&#xff08;\u9879\u76ee\u5206\u6790&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u5206\u6790\u9879\u76ee\u6587\u4ef6&#xff0c;\u9002\u5408\u89c4\u5212\u5f00\u53d1\u4efb\u52a1&#xff08;\u5982\u6e38\u620f\u8bbe\u8ba1&#xff09;\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y &#064;modelcontextprotocol\/server-sequential-thinking<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;thinking&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/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-sequential-thinking&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;config&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;{}&#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>\n <\/li>\n<\/ul>\n<h4>2. GitHub&#xff08;\u7248\u672c\u63a7\u5236&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u7ba1\u7406GitHub\u4ed3\u5e93\u3001\u95ee\u9898\u548c\u62c9\u53d6\u8bf7\u6c42\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx &#064;modelcontextprotocol\/server-github<\/li>\n<li>\u6ce8\u610f&#xff1a;\u6b64\u5305\u5df2\u5f03\u7528&#xff0c;\u5efa\u8bae\u4f7f\u7528\u5b98\u65b9GitHub MCP\u670d\u52a1\u5668\u3002<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;github&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#064;modelcontextprotocol\/server-github&#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>\n <\/li>\n<\/ul>\n<h4>3. PostgreSQL&#xff08;\u6570\u636e\u5e93\u7ba1\u7406&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u67e5\u8be2\u548c\u7ba1\u7406PostgreSQL\u6570\u636e\u5e93\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y &#064;modelcontextprotocol\/server-postgres &lt;connection_string&gt;<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;postgres&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/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-postgres&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;postgresql:\/\/username:password&#064;host:port\/database&#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>\n <\/li>\n<li>\u6ce8\u610f&#xff1a;\u66ff\u6362&lt;connection_string&gt;\u4e3a\u5b9e\u9645\u8fde\u63a5\u5b57\u7b26\u4e32\u3002<\/li>\n<\/ul>\n<h4>4. Brave Search&#xff08;\u9690\u79c1\u641c\u7d22&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u4f7f\u7528Brave API\u8fdb\u884c\u9690\u79c1\u4fdd\u62a4\u7684\u7f51\u7edc\u641c\u7d22\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y &#064;modelcontextprotocol\/server-brave-search<\/li>\n<li>\u8981\u6c42&#xff1a;\u9700\u8981Brave Search API\u5bc6\u94a5\u3002<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;brave-search&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/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-brave-search&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;env&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;BRAVE_API_KEY&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;YOUR_API_KEY_HERE&#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>\n <\/li>\n<\/ul>\n<h4>5. Filesystem&#xff08;\u6587\u4ef6\u7cfb\u7edf&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u8bbf\u95ee\u548c\u64cd\u4f5c\u672c\u5730\u6587\u4ef6\u7cfb\u7edf&#xff08;\u6307\u5b9a\u76ee\u5f55&#xff09;\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y &#064;modelcontextprotocol\/server-filesystem &lt;directory_path&gt;<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;filesystem&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/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> <span class=\"token string\">&#034;C:\\\\\\\\path\\\\\\\\to\\\\\\\\allowed\\\\\\\\directory&#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>\n <\/li>\n<\/ul>\n<h4>6. Puppeteer&#xff08;\u6d4f\u89c8\u5668\u81ea\u52a8\u5316&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u6267\u884c\u6d4f\u89c8\u5668\u81ea\u52a8\u5316\u4efb\u52a1&#xff0c;\u5982\u7f51\u9875\u6293\u53d6\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y &#064;modelcontextprotocol\/server-puppeteer<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;puppeteer&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/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-puppeteer&#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>\n <\/li>\n<\/ul>\n<h4>7. Obsidian&#xff08;\u7b14\u8bb0\u7ba1\u7406&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u8bfb\u53d6\u548c\u641c\u7d22Obsidian\u7b14\u8bb0\u5e93\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y mcp-obsidian &lt;vault_path&gt;<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;obsidian&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;mcp-obsidian&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;C:\\\\\\\\path\\\\\\\\to\\\\\\\\obsidian\\\\\\\\vault&#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>\n <\/li>\n<\/ul>\n<h4>8. Kubernetes&#xff08;\u4e91\u5e73\u53f0\u7ba1\u7406&#xff09;<\/h4>\n<ul>\n<li>\u7528\u9014&#xff1a;\u7ba1\u7406Kubernetes\u96c6\u7fa4\u3002<\/li>\n<li>\u547d\u4ee4&#xff1a;npx -y mcp-k8s-go<\/li>\n<li>mcp.json\u914d\u7f6e&#xff1a;<span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;mcpServers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string\">&#034;kubernetes&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string\">&#034;command&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;cmd&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string\">&#034;args&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\/c&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;npx&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-y&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;mcp-k8s-go&#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>\n <\/li>\n<\/ul>\n<h3>\u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<table>\n<tr>\u95ee\u9898\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>\u670d\u52a1\u5668\u65e0\u6cd5\u8fde\u63a5<\/td>\n<td>\u68c0\u67e5Node.js\u548cGit\u5b89\u88c5&#xff1b;\u9a8c\u8bc1\u7f51\u7edc&#xff1b;\u68c0\u67e5JSON\u683c\u5f0f\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u5177\u672a\u51fa\u73b0<\/td>\n<td>\u786e\u4fdd\u670d\u52a1\u5668\u542f\u7528&#xff1b;\u91cd\u542fCursor&#xff1b;\u68c0\u67e5\u72b6\u6001\u6307\u793a\u706f\u3002<\/td>\n<\/tr>\n<tr>\n<td>API\u5bc6\u94a5\u65e0\u6548<\/td>\n<td>\u91cd\u65b0\u751f\u6210\u5bc6\u94a5&#xff1b;\u786e\u4fdd\u6b63\u786e\u914d\u7f6e\u5728env\u4e2d\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u547d\u4ee4\u6267\u884c\u5931\u8d25<\/td>\n<td>\u4f7f\u7528PowerShell\u6216Git Bash\u8fd0\u884c&#xff1b;\u68c0\u67e5\u73af\u5883\u53d8\u91cf\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u7ed3\u8bba<\/h3>\n<p>\u901a\u8fc7\u672c\u6587\u7684\u6307\u5bfc&#xff0c;\u60a8\u53ef\u4ee5\u5728Windows\u73af\u5883\u4e0b\u8f7b\u677e\u914d\u7f6eMCP\u670d\u52a1\u5668&#xff0c;\u589e\u5f3aCursor\u7684\u529f\u80fd\u3002\u8fd98\u4e2a\u5b9e\u7528\u793a\u4f8b\u8986\u76d6\u4e86\u4e13\u4e1a\u5f00\u53d1\u4e2d\u7684\u5e38\u89c1\u573a\u666f&#xff0c;\u5e2e\u52a9\u60a8\u4f18\u5316\u5de5\u4f5c\u6d41\u3002\u5e0c\u671b\u8fd9\u4efd\u6559\u7a0b\u80fd\u52a9\u529b\u60a8\u63a2\u7d22AI\u9a71\u52a8\u5f00\u53d1\u7684\u66f4\u591a\u53ef\u80fd\u6027&#xff01;<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>Cursor\u5b98\u65b9\u6587\u6863<\/li>\n<li>Cursor Directory<\/li>\n<li>awesome-mcp-servers<\/li>\n<li>Brave Search API<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb920\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf12\u6b21\u3002MCP\uff08\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff09\u662fAnthropic\u4e8e2024\u5e74\u63d0\u51fa\u7684\u5f00\u653e\u6807\u51c6\uff0c\u65e8\u5728\u4e3a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u63d0\u4f9b\u4e0e\u5916\u90e8\u5de5\u5177\u548c\u6570\u636e\u6e90\u7684\u6807\u51c6\u5316\u4ea4\u4e92\u63a5\u53e3\u3002\u901a\u8fc7\u914d\u7f6eMCP\u670d\u52a1\u5668\uff0cCursor\u53ef\u4ee5\u4e0e\u6570\u636e\u5e93\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u7b49\u4ea4\u4e92\uff0c\u4ece\u800c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u7814\u7a76\u8868\u660e\uff0cMCP\u670d\u52a1\u5668\u80fd\u591f\u663e\u8457\u589e\u5f3aCursor\u7684\u529f\u80fd\uff0c\u7279\u522b\u9002\u5408\u4e13\u4e1a\u5f00\u53d1\u4efb\u52a1\u3002<\/p>\n","protected":false},"author":2,"featured_media":32456,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-32457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \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\/32457.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb920\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf12\u6b21\u3002MCP\uff08\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff09\u662fAnthropic\u4e8e2024\u5e74\u63d0\u51fa\u7684\u5f00\u653e\u6807\u51c6\uff0c\u65e8\u5728\u4e3a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u63d0\u4f9b\u4e0e\u5916\u90e8\u5de5\u5177\u548c\u6570\u636e\u6e90\u7684\u6807\u51c6\u5316\u4ea4\u4e92\u63a5\u53e3\u3002\u901a\u8fc7\u914d\u7f6eMCP\u670d\u52a1\u5668\uff0cCursor\u53ef\u4ee5\u4e0e\u6570\u636e\u5e93\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u7b49\u4ea4\u4e92\uff0c\u4ece\u800c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u7814\u7a76\u8868\u660e\uff0cMCP\u670d\u52a1\u5668\u80fd\u591f\u663e\u8457\u589e\u5f3aCursor\u7684\u529f\u80fd\uff0c\u7279\u522b\u9002\u5408\u4e13\u4e1a\u5f00\u53d1\u4efb\u52a1\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/32457.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-24T00:41:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424004103-6809889f6015d.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32457.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/32457.html\",\"name\":\"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-24T00:41:04+00:00\",\"dateModified\":\"2025-04-24T00:41:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/32457.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/32457.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/32457.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248)\"}]},{\"@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":"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \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\/32457.html","og_locale":"zh_CN","og_type":"article","og_title":"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb920\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf12\u6b21\u3002MCP\uff08\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae\uff09\u662fAnthropic\u4e8e2024\u5e74\u63d0\u51fa\u7684\u5f00\u653e\u6807\u51c6\uff0c\u65e8\u5728\u4e3a\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLM\uff09\u63d0\u4f9b\u4e0e\u5916\u90e8\u5de5\u5177\u548c\u6570\u636e\u6e90\u7684\u6807\u51c6\u5316\u4ea4\u4e92\u63a5\u53e3\u3002\u901a\u8fc7\u914d\u7f6eMCP\u670d\u52a1\u5668\uff0cCursor\u53ef\u4ee5\u4e0e\u6570\u636e\u5e93\u3001\u6587\u4ef6\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u7b49\u4ea4\u4e92\uff0c\u4ece\u800c\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002\u7814\u7a76\u8868\u660e\uff0cMCP\u670d\u52a1\u5668\u80fd\u591f\u663e\u8457\u589e\u5f3aCursor\u7684\u529f\u80fd\uff0c\u7279\u522b\u9002\u5408\u4e13\u4e1a\u5f00\u53d1\u4efb\u52a1\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/32457.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-24T00:41:04+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250424004103-6809889f6015d.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/32457.html","url":"https:\/\/www.wsisp.com\/helps\/32457.html","name":"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-24T00:41:04+00:00","dateModified":"2025-04-24T00:41:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/32457.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/32457.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/32457.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u914d\u7f6eMCP\u670d\u52a1\u5668\u4ee5\u63d0\u5347Cursor\u529f\u80fd(\u4e13\u4e1a\u8fdb\u9636\u7248)"}]},{"@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\/32457","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=32457"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/32457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/32456"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=32457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=32457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=32457"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=32457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}