{"id":44050,"date":"2025-06-16T18:05:33","date_gmt":"2025-06-16T10:05:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/44050.html"},"modified":"2025-06-16T18:05:33","modified_gmt":"2025-06-16T10:05:33","slug":"github-mcp-server-v0-5-0-%e5%8f%91%e5%b8%83%e8%af%a6%e8%a7%a3%ef%bc%9a%e8%bf%9c%e7%a8%8b-github-mcp-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%85%a8%e6%96%b0%e5%8d%87%e7%ba%a7%e4%b8%8e%e6%9c%80%e4%bd%b3%e5%ae%9e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/44050.html","title":{"rendered":"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250616100532-684fec6c2aa22.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>2025\u5e746\u670813\u65e5&#xff0c;github-mcp-server \u53d1\u5e03\u4e86\u5168\u65b0\u7248\u672c v0.5.0&#xff0c;\u6b64\u6b21\u66f4\u65b0\u5f15\u5165\u4e86\u6700\u65b0\u7684\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u6258\u7ba1\u529f\u80fd&#xff0c;\u5e76\u9488\u5bf9\u591a\u4e2a\u7ec6\u8282\u8fdb\u884c\u4e86\u4f18\u5316\u548c\u4fee\u590d\u3002\u8be5\u7248\u672c\u4e3a\u5f00\u53d1\u8005\u5728\u4f7f\u7528 MCP&#xff08;Model-Context-Prediction&#xff09;\u67b6\u6784\u8fc7\u7a0b\u4e2d&#xff0c;\u7279\u522b\u662f\u5728\u96c6\u6210 GitHub \u76f8\u5173\u670d\u52a1\u65f6&#xff0c;\u63d0\u4f9b\u4e86\u66f4\u52a0\u7b80\u6d01\u9ad8\u6548\u7684\u4f53\u9a8c\u3002<\/p>\n<p>\u672c\u6587\u5c06\u5168\u9762\u5256\u6790 github-mcp-server v0.5.0 \u7684\u65b0\u7279\u6027\u3001\u5b89\u88c5\u53ca\u4f7f\u7528\u6b65\u9aa4\u3001\u517c\u5bb9\u6027\u8bf4\u660e\u3001\u6838\u5fc3\u4ee3\u7801\u4f18\u5316\u70b9\u53ca\u5e94\u7528\u573a\u666f&#xff0c;\u5168\u9762\u5e2e\u52a9\u8bfb\u8005\u7406\u89e3\u548c\u638c\u63e1\u8be5\u7248\u672c\u7684\u6280\u672f\u8981\u70b9\u4e0e\u5b9e\u9645\u5e94\u7528\u7684\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u7248\u672c\u6982\u8ff0<\/h3>\n<p>github-mcp-server v0.5.0 \u91cd\u70b9\u589e\u5f3a\u4e86\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u7684\u529f\u80fd&#xff0c;\u5b9e\u73b0\u4e86\u7531\u5b98\u65b9\u76f4\u63a5\u6258\u7ba1\u7684\u8fdc\u7a0b\u670d\u52a1&#xff0c;\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u4fbf\u6377\u5730\u8fde\u63a5\u5e76\u4f7f\u7528 MCP Server&#xff0c;\u65e0\u9700\u672c\u5730\u90e8\u7f72\u590d\u6742\u73af\u5883\u3002<\/p>\n<p>\u6b64\u5916&#xff0c;\u7248\u672c\u8fd8\u6db5\u76d6\u4e86\u591a\u4e2a\u5e95\u5c42\u7ec4\u4ef6\u7684\u5347\u7ea7\u3001\u5173\u952e\u95ee\u9898\u4fee\u590d\u53ca\u6587\u6863\u5b8c\u5584&#xff0c;\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027&#xff0c;\u540c\u65f6\u4f18\u5316\u4e86\u5bf9 GitHub Enterprise Cloud&#xff08;ghe.com&#xff09;\u6570\u636e\u9a7b\u7559\u7684\u652f\u6301\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u8be6\u89e3<\/h3>\n<h4>2.1 \u8fdc\u7a0b\u670d\u52a1\u5668\u7b80\u4ecb<\/h4>\n<p>\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u662f\u7531 GitHub \u5b98\u65b9\u6258\u7ba1\u7684 MCP Server&#xff0c;\u7528\u6237\u65e0\u9700\u624b\u52a8\u642d\u5efa\u548c\u7ef4\u62a4\u670d\u52a1\u5668\u73af\u5883&#xff0c;\u53ea\u9700\u901a\u8fc7\u914d\u7f6e\u5373\u53ef\u5feb\u901f\u63a5\u5165\u3002\u63d0\u4f9b\u7684\u670d\u52a1\u5730\u5740\u4e3a&#xff1a;<\/p>\n<p>https:\/\/api.githubcopilot.com\/mcp\/<\/p>\n<p>\u901a\u8fc7\u8be5\u670d\u52a1&#xff0c;\u5f00\u53d1\u8005\u53ef\u76f4\u63a5\u8c03\u7528 MCP Server \u76f8\u5173\u63a5\u53e3&#xff0c;\u5b9e\u73b0\u667a\u80fd\u8f85\u52a9\u7f16\u7a0b\u3001\u4ee3\u7801\u5ba1\u67e5\u3001\u81ea\u52a8\u5316\u9884\u6d4b\u7b49\u529f\u80fd&#xff0c;\u663e\u8457\u964d\u4f4e\u5f00\u53d1\u95e8\u69db\u3002<\/p>\n<h4>2.2 \u4e0e\u672c\u5730\u7248\u672c\u7684\u533a\u522b<\/h4>\n<ul>\n<li>\u8fdc\u7a0b\u7248\u672c&#xff1a;\u7531 GitHub \u76f4\u63a5\u6258\u7ba1\u7ba1\u7406&#xff0c;\u9002\u5408\u7f51\u7edc\u901a\u7545\u3001\u7248\u672c\u517c\u5bb9\u7684\u4f7f\u7528\u73af\u5883&#xff0c;\u65e0\u9700\u5173\u6ce8\u670d\u52a1\u5668\u7ef4\u62a4\u548c\u5347\u7ea7&#xff0c;\u5feb\u901f\u4e0a\u624b\u3002<\/li>\n<li>\u672c\u5730\u7248\u672c&#xff1a;\u9002\u7528\u4e8e\u7f51\u7edc\u53d7\u9650\u6216\u5b89\u5168\u7b56\u7565\u4e25\u683c&#xff0c;\u4e0d\u5141\u8bb8\u6570\u636e\u7ecf\u7531\u516c\u7f51\u7684\u73af\u5883&#xff0c;\u9700\u8981\u81ea\u884c\u642d\u5efa\u548c\u7ef4\u62a4 MCP Server&#xff0c;\u914d\u7f6e\u7075\u6d3b\u5ea6\u9ad8\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e09\u3001\u4f7f\u7528\u73af\u5883\u4e0e\u524d\u7f6e\u6761\u4ef6<\/h3>\n<h4>3.1 MCP Host \u73af\u5883\u8981\u6c42<\/h4>\n<ul>\n<li>MCP Host&#xff08;\u5982 VS Code\u3001VS Code Insiders&#xff09;\u9700\u8981\u652f\u6301\u6700\u65b0 MCP \u89c4\u8303\u53ca\u8fdc\u7a0b\u670d\u52a1\u5668\u8fde\u63a5\u529f\u80fd\u3002<\/li>\n<li>\u786e\u4fdd\u5f00\u53d1\u73af\u5883\u7f51\u7edc\u80fd\u591f\u8bbf\u95ee https:\/\/api.githubcopilot.com\/mcp\/ \u3002<\/li>\n<\/ul>\n<h4>3.2 \u4f9d\u8d56\u8f6f\u4ef6<\/h4>\n<ul>\n<li>\u63a8\u8350\u4f7f\u7528\u6700\u65b0\u7248\u672c\u7684 VS Code \u6216 MCP Host \u7f16\u8f91\u5668&#xff0c;\u4ee5\u4fdd\u8bc1\u5bf9\u65b0\u7248\u672c MCP Server \u652f\u6301\u66f4\u5168\u9762\u3002<\/li>\n<li>\u652f\u6301 JSON \u683c\u5f0f\u914d\u7f6e\u6587\u4ef6\u7f16\u8f91\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u5b89\u88c5\u4e0e\u914d\u7f6e\u6307\u5357<\/h3>\n<h4>4.1 VS Code \u5feb\u901f\u5b89\u88c5<\/h4>\n<ul>\n<li>\u4f7f\u7528\u5b98\u65b9\u63d0\u4f9b\u7684\u4e00\u952e\u5b89\u88c5\u6309\u94ae&#xff0c;\u5feb\u901f\u5b8c\u6210\u63d2\u4ef6\u5b89\u88c5\u3002<\/li>\n<li>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5b9a\u4f4d\u81f3 Copilot Chat \u8f93\u5165\u6846\u65c1\u7684 Agent \u6a21\u5f0f\u5f00\u5173&#xff0c;\u542f\u7528\u8be5\u6a21\u5f0f&#xff0c;\u7cfb\u7edf\u5373\u81ea\u52a8\u8fde\u63a5\u8fdc\u7a0b MCP \u670d\u52a1\u5668\u5e76\u542f\u52a8\u670d\u52a1\u3002<\/li>\n<\/ul>\n<h4>4.2 \u5176\u4ed6 MCP Hosts \u96c6\u6210<\/h4>\n<p>\u9488\u5bf9\u652f\u6301\u8fdc\u7a0b\u670d\u52a1\u5668\u4f46\u975e VS Code \u7684\u7f16\u8f91\u5668&#xff0c;\u7528\u6237\u9700\u624b\u52a8\u6dfb\u52a0\u5982\u4e0b JSON \u914d\u7f6e\u5757&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;mcp&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;servers&#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;type&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;http&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;url&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/api.githubcopilot.com\/mcp\/&#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>\u6ce8\u610f&#xff1a;\u5177\u4f53\u914d\u7f6e\u683c\u5f0f\u53ca\u4f4d\u7f6e\u53ef\u80fd\u56e0\u4e0d\u540c\u4e3b\u673a\u800c\u5f02&#xff0c;\u7528\u6237\u5e94\u53c2\u8003\u5bf9\u5e94\u4e3b\u673a\u5b98\u65b9\u6587\u6863\u8c03\u6574\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u529f\u80fd\u4e0e\u6280\u672f\u53d8\u66f4\u8be6\u89e3<\/h3>\n<h4>5.1 \u6838\u5fc3\u4f9d\u8d56\u5e93\u53ca\u7248\u672c\u5347\u7ea7<\/h4>\n<ul>\n<li>MCP \u6838\u5fc3\u5e93 mcp-go \u4ece 0.30.0 \u5347\u7ea7\u81f3\u6700\u65b0\u7248&#xff0c;\u63d0\u5347\u4e86\u63a5\u53e3\u7a33\u5b9a\u6027\u4e0e\u529f\u80fd\u8986\u76d6\u3002<\/li>\n<li>go-github \u7248\u672c\u5347\u7ea7\u81f3 v72.0.0&#xff0c;\u589e\u5f3a\u5bf9 GitHub API \u7684\u517c\u5bb9\u6027&#xff0c;\u652f\u6301\u66f4\u591a\u6700\u65b0 API \u529f\u80fd\u3002<\/li>\n<li>\u4f9d\u8d56\u7ba1\u7406\u901a\u8fc7\u81ea\u52a8\u5316\u5de5\u5177\u8fdb\u884c\u7248\u672c\u63a7\u5236\u53ca\u5b89\u5168\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<h4>5.2 \u4ee3\u7801\u4e0e\u5de5\u5177\u94fe\u6539\u8fdb<\/h4>\n<ul>\n<li>\u79fb\u9664\u4e86\u5df2\u4e0d\u5b58\u5728\u7684\u5de5\u5177\u5f15\u7528 get_line_number_in_pull_request_file&#xff0c;\u907f\u514d\u8fd0\u884c\u65f6\u9519\u8bef\u3002<\/li>\n<li>\u5168\u9762\u91c7\u7528\u7c7b\u578b\u5316\u5de5\u5177\u5904\u7406\u5668&#xff08;typed tool handler&#xff09;&#xff0c;\u4f18\u5316\u8c03\u7528\u8fc7\u7a0b\u7684\u5b89\u5168\u6027\u4e0e\u7a33\u5b9a\u6027\u3002<\/li>\n<li>\u4f18\u5316\u9ed8\u8ba4\u53c2\u6570\u987a\u5e8f&#xff0c;\u8c03\u6574 API \u53c2\u6570\u5904\u7406&#xff0c;\u786e\u4fdd\u4e0e GitHub \u540e\u7aef\u4e00\u81f4\u3002<\/li>\n<li>\u5b9e\u73b0\u66f4\u4f73\u7684\u539f\u59cb\u6587\u4ef6\u5904\u7406\u903b\u8f91&#xff0c;\u63d0\u5347\u6587\u4ef6\u64cd\u4f5c\u6548\u7387\u548c\u51c6\u786e\u7387\u3002<\/li>\n<\/ul>\n<h4>5.3 \u5176\u4ed6\u91cd\u8981\u6539\u52a8<\/h4>\n<ul>\n<li>\u8c03\u6574\u5bb9\u5668\u6216\u955c\u50cf\u542f\u52a8\u65f6\u7684 ENTRYPOINT \u548c CMD \u914d\u7f6e&#xff0c;\u4fdd\u8bc1\u53c2\u6570\u4f20\u9012\u548c\u8fdb\u7a0b\u542f\u52a8\u7684\u89c4\u8303\u3002<\/li>\n<li>\u589e\u52a0\u53ea\u8bfb\u64cd\u4f5c\u7684\u4f7f\u7528\u8bf4\u660e&#xff0c;\u8be6\u89c1\u6700\u65b0 README \u6307\u5357\u3002<\/li>\n<li>\u63d0\u4f9b\u65b0\u7684\u4e0a\u4e0b\u6587\u5de5\u5177\u96c6&#xff0c;\u4e30\u5bcc\u6269\u5c55\u80fd\u529b\u3002<\/li>\n<li>\u652f\u6301 GitHub Enterprise Cloud (ghe.com) \u6570\u636e\u9a7b\u7559\u529f\u80fd&#xff0c;\u6ee1\u8db3\u4f01\u4e1a\u7528\u6237\u5408\u89c4\u9700\u6c42\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u516d\u3001\u5f00\u53d1\u8005\u89c6\u89d2\u7684\u8be6\u7ec6\u89e3\u8bfb<\/h3>\n<h4>6.1 MCP Server \u7684\u8fdc\u7a0b\u8bbf\u95ee\u539f\u7406<\/h4>\n<p>\u8fdc\u7a0b MCP Server \u5b9e\u8d28\u662f\u6258\u7ba1\u5728 GitHub \u4e91\u7aef\u7684 RESTful API \u670d\u52a1&#xff0c;\u5f00\u53d1\u8005\u7684\u7f16\u7801\u73af\u5883\u901a\u8fc7 HTTP \u8bf7\u6c42\u4e0e\u670d\u52a1\u5668\u4ea4\u4e92&#xff0c;\u8bf7\u6c42\u667a\u80fd\u4ee3\u7801\u5efa\u8bae\u3001\u8bed\u6cd5\u68c0\u67e5\u3001\u4ee3\u7801\u5206\u6790\u7b49\u670d\u52a1\u3002\u6b64\u79cd\u6a21\u5f0f\u6781\u5927\u5730\u964d\u4f4e\u4e86\u5ba2\u6237\u7aef\u7684\u8d44\u6e90\u5360\u7528&#xff0c;\u4e5f\u51cf\u8f7b\u4e86\u672c\u5730\u73af\u5883\u7684\u590d\u6742\u914d\u7f6e\u3002<\/p>\n<h4>6.2 \u7c7b\u578b\u5316\u5de5\u5177\u5904\u7406\u5668\u7684\u4f18\u52bf<\/h4>\n<p>\u91c7\u7528\u7c7b\u578b\u5316\u5de5\u5177\u5904\u7406\u5668&#xff0c;\u610f\u5473\u7740 MCP Server \u7684\u5404\u7c7b\u5de5\u5177\u8c03\u7528\u5177\u5907\u66f4\u4e25\u683c\u7684\u53c2\u6570\u548c\u8fd4\u56de\u503c\u7c7b\u578b\u5b9a\u4e49&#xff0c;\u8f85\u52a9\u9759\u6001\u68c0\u6d4b\u53ca\u8fd0\u884c\u65f6\u6821\u9a8c&#xff0c;\u51cf\u5c11\u6f5c\u5728\u7c7b\u578b\u9519\u8bef\u548c\u5f02\u5e38\u5d29\u6e83&#xff0c;\u63d0\u5347\u6574\u4f53\u8f6f\u4ef6\u5065\u58ee\u6027\u3002<\/p>\n<h4>6.3 \u4f9d\u8d56\u5e93\u7684\u7248\u672c\u7ba1\u7406\u7b56\u7565<\/h4>\n<p>\u5b9a\u671f\u5347\u7ea7\u6838\u5fc3\u4f9d\u8d56&#xff0c;\u80fd\u591f\u5229\u7528\u793e\u533a\u6700\u65b0\u7684\u529f\u80fd\u53ca\u5b89\u5168\u8865\u4e01&#xff0c;\u540c\u65f6\u901a\u8fc7\u81ea\u52a8\u5316\u5de5\u5177&#xff08;\u5982 dependabot&#xff09;\u7ba1\u7406\u7248\u672c\u66f4\u65b0&#xff0c;\u786e\u4fdd\u9879\u76ee\u59cb\u7ec8\u5904\u4e8e\u5b89\u5168\u3001\u7a33\u5b9a\u3001\u9ad8\u6548\u7684\u72b6\u6001\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u5b9e\u9645\u5e94\u7528\u6848\u4f8b<\/h3>\n<h4>7.1 VS Code \u4e2d\u5feb\u901f\u96c6\u6210 GitHub MCP Server<\/h4>\n<p>\u901a\u8fc7\u4e00\u952e\u5b89\u88c5 GitHub Copilot \u63d2\u4ef6&#xff0c;\u5e76\u5207\u6362\u81f3 Agent \u6a21\u5f0f&#xff0c;\u7528\u6237\u5373\u523b\u4f53\u9a8c\u7531\u8fdc\u7a0b MCP Server \u63d0\u4f9b\u7684\u667a\u80fd\u8f85\u52a9\u7f16\u7a0b\u529f\u80fd&#xff0c;\u5982\u667a\u80fd\u8865\u5168\u3001\u4ee3\u7801\u7247\u6bb5\u63a8\u8350\u3001\u4ee3\u7801\u98ce\u683c\u68c0\u6d4b\u7b49\u3002<\/p>\n<h4>7.2 \u5728\u4f01\u4e1a\u5185\u90e8\u5f00\u53d1\u73af\u5883\u7684\u4f7f\u7528<\/h4>\n<p>\u5229\u7528\u914d\u7f6e\u6587\u4ef6\u5c06\u8fdc\u7a0b\u670d\u52a1\u5668\u5730\u5740\u6ce8\u5165 MCP Host&#xff0c;\u6ee1\u8db3\u4f01\u4e1a\u7528\u6237\u5728\u4fdd\u6301\u6570\u636e\u5408\u89c4\u7684\u60c5\u51b5\u4e0b&#xff0c;\u4eab\u7528\u6700\u65b0\u529f\u80fd\u7684\u9700\u6c42\u3002\u540c\u65f6\u7ed3\u5408 GitHub Enterprise Cloud \u652f\u6301&#xff0c;\u786e\u4fdd\u6570\u636e\u9a7b\u7559\u4e8e\u6307\u5b9a\u533a\u57df\u3002<\/p>\n<hr \/>\n<h3>\u7ed3\u8bed<\/h3>\n<p>github-mcp-server v0.5.0 \u7248\u672c\u901a\u8fc7\u5f15\u5165\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668&#xff0c;\u6781\u5927\u5730\u7b80\u5316\u4e86 MCP Server \u7684\u4f7f\u7528\u6d41\u7a0b&#xff0c;\u63d0\u5347\u4e86\u7cfb\u7edf\u7684\u517c\u5bb9\u6027\u4e0e\u7a33\u5b9a\u6027\u3002\u65e0\u8bba\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u8fd8\u662f\u4f01\u4e1a\u7ea7\u7528\u6237&#xff0c;\u90fd\u53ef\u4ee5\u501f\u52a9\u6b64\u6b21\u5347\u7ea7&#xff0c;\u9ad8\u6548\u5730\u6574\u5408\u667a\u80fd\u4ee3\u7801\u8f85\u52a9\u529f\u80fd&#xff0c;\u63a8\u52a8\u5f00\u53d1\u6548\u7387\u548c\u4ee3\u7801\u8d28\u91cf\u7684\u6301\u7eed\u63d0\u5347\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb713\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf22\u6b21\u3002github-mcp-server v0.5.0 \u91cd\u70b9\u589e\u5f3a\u4e86\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u7684\u529f\u80fd\uff0c\u5b9e\u73b0\u4e86\u7531\u5b98\u65b9\u76f4\u63a5\u6258\u7ba1\u7684\u8fdc\u7a0b\u670d\u52a1\uff0c\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u4fbf\u6377\u5730\u8fde\u63a5\u5e76\u4f7f\u7528 MCP Server\uff0c\u65e0\u9700\u672c\u5730\u90e8\u7f72\u590d\u6742\u73af\u5883\u3002\u6b64\u5916\uff0c\u7248\u672c\u8fd8\u6db5\u76d6\u4e86\u591a\u4e2a\u5e95\u5c42\u7ec4\u4ef6\u7684\u5347\u7ea7\u3001\u5173\u952e\u95ee\u9898\u4fee\u590d\u53ca\u6587\u6863\u5b8c\u5584\uff0c\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\uff0c\u540c\u65f6\u4f18\u5316\u4e86\u5bf9 GitHub Enterprise Cloud\uff08ghe.com\uff09\u6570\u636e\u9a7b\u7559\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"author":2,"featured_media":44049,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[92,230,4084,43],"topic":[],"class_list":["post-44050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-github","tag-php","tag-vschatgpt","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \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\/44050.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb713\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf22\u6b21\u3002github-mcp-server v0.5.0 \u91cd\u70b9\u589e\u5f3a\u4e86\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u7684\u529f\u80fd\uff0c\u5b9e\u73b0\u4e86\u7531\u5b98\u65b9\u76f4\u63a5\u6258\u7ba1\u7684\u8fdc\u7a0b\u670d\u52a1\uff0c\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u4fbf\u6377\u5730\u8fde\u63a5\u5e76\u4f7f\u7528 MCP Server\uff0c\u65e0\u9700\u672c\u5730\u90e8\u7f72\u590d\u6742\u73af\u5883\u3002\u6b64\u5916\uff0c\u7248\u672c\u8fd8\u6db5\u76d6\u4e86\u591a\u4e2a\u5e95\u5c42\u7ec4\u4ef6\u7684\u5347\u7ea7\u3001\u5173\u952e\u95ee\u9898\u4fee\u590d\u53ca\u6587\u6863\u5b8c\u5584\uff0c\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\uff0c\u540c\u65f6\u4f18\u5316\u4e86\u5bf9 GitHub Enterprise Cloud\uff08ghe.com\uff09\u6570\u636e\u9a7b\u7559\u7684\u652f\u6301\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/44050.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-16T10:05:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250616100532-684fec6c2aa22.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44050.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/44050.html\",\"name\":\"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-16T10:05:33+00:00\",\"dateModified\":\"2025-06-16T10:05:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/44050.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/44050.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44050.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5\"}]},{\"@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":"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \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\/44050.html","og_locale":"zh_CN","og_type":"article","og_title":"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb713\u6b21\uff0c\u70b9\u8d5e23\u6b21\uff0c\u6536\u85cf22\u6b21\u3002github-mcp-server v0.5.0 \u91cd\u70b9\u589e\u5f3a\u4e86\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u7684\u529f\u80fd\uff0c\u5b9e\u73b0\u4e86\u7531\u5b98\u65b9\u76f4\u63a5\u6258\u7ba1\u7684\u8fdc\u7a0b\u670d\u52a1\uff0c\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u4fbf\u6377\u5730\u8fde\u63a5\u5e76\u4f7f\u7528 MCP Server\uff0c\u65e0\u9700\u672c\u5730\u90e8\u7f72\u590d\u6742\u73af\u5883\u3002\u6b64\u5916\uff0c\u7248\u672c\u8fd8\u6db5\u76d6\u4e86\u591a\u4e2a\u5e95\u5c42\u7ec4\u4ef6\u7684\u5347\u7ea7\u3001\u5173\u952e\u95ee\u9898\u4fee\u590d\u53ca\u6587\u6863\u5b8c\u5584\uff0c\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\u548c\u517c\u5bb9\u6027\uff0c\u540c\u65f6\u4f18\u5316\u4e86\u5bf9 GitHub Enterprise Cloud\uff08ghe.com\uff09\u6570\u636e\u9a7b\u7559\u7684\u652f\u6301\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/44050.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-16T10:05:33+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250616100532-684fec6c2aa22.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/44050.html","url":"https:\/\/www.wsisp.com\/helps\/44050.html","name":"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-16T10:05:33+00:00","dateModified":"2025-06-16T10:05:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/44050.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/44050.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/44050.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"github-mcp-server v0.5.0 \u53d1\u5e03\u8be6\u89e3\uff1a\u8fdc\u7a0b GitHub MCP \u670d\u52a1\u5668\u5168\u65b0\u5347\u7ea7\u4e0e\u6700\u4f73\u5b9e\u8df5"}]},{"@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\/44050","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=44050"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/44050\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/44049"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=44050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=44050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=44050"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=44050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}