{"id":10021370,"date":"2026-06-01T02:43:56","date_gmt":"2026-05-31T18:43:56","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021370"},"modified":"2026-06-01T02:43:56","modified_gmt":"2026-05-31T18:43:56","slug":"%e6%88%91%e6%95%b4%e7%90%86%e4%ba%86%e4%b8%80%e4%b8%aa%e5%85%8d%e8%b4%b9%e5%bc%80%e5%8f%91%e8%b5%84%e6%ba%90%e7%9b%ae%e5%bd%95%ef%bc%8c%e8%bf%98%e5%81%9a%e6%88%90%e4%ba%86-cli-%e5%92%8cmcp","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021370","title":{"rendered":"\u6211\u6574\u7406\u4e86\u4e00\u4e2a\u514d\u8d39\u5f00\u53d1\u8d44\u6e90\u76ee\u5f55\uff0c\u8fd8\u505a\u6210\u4e86 CLI \u548cMCP"},"content":{"rendered":"<p>GitHub\uff1a <a href=\"https:\/\/link.segmentfault.com\/?enc=hdOnU%2Fg8nf9OvzHuBIp7Gw%3D%3D.vlC7CSXySiBNThcyzxioe7iCnNk0pn1%2F5eyDk4ZQOJPlorxpH%2BFz2DxYh1fHapLU\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/xingbofeng\/baipiao<\/a><\/p>\n<p>\u5b98\u7f51\uff1a <a href=\"https:\/\/link.segmentfault.com\/?enc=bq9jEVxSIJb3tBlll7b1iw%3D%3D.znn8zQqMXncFjgb%2B3cuUnfsddZP53xW6hcDvSJAyY9Y%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/baipiao.counterxing.top<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"411\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdozXn\" alt=\"image.png\" title=\"image.png\"><\/p>\n<p>\u6211\u4e4b\u524d\u4e00\u76f4\u6536\u85cf\u5404\u79cd\u514d\u8d39\u5f00\u53d1\u8005\u8d44\u6e90\uff1aGroq\u3001OpenRouter\u3001Gemini\u3001Supabase\u3001R2\u3001Vercel\u3001Neon\u3001Netlify\u3001Render\u2026\u2026<\/p>\n<p>LLM\u3001\u6570\u636e\u5e93\u3001\u5bf9\u8c61\u5b58\u50a8\u3001Hosting\u3001Auth\u3001Email\u3001Monitoring\uff0c\u8d8a\u6512\u8d8a\u591a\u3002<\/p>\n<p>\u4f46\u771f\u6b63\u9ebb\u70e6\u7684\u662f\uff1a\u8d44\u6e90\u6563\u5728\u6536\u85cf\u5939\u3001README\u3001\u5b98\u7f51\u548c\u5404\u79cd\u5e16\u5b50\u91cc\uff1b\u627e\u5230\u670d\u52a1\u4ee5\u540e\uff0c\u8fd8\u8981\u53bb\u4e0d\u540c\u63a7\u5236\u53f0\u521b\u5efa API Key\uff1b\u6700\u540e\u8fd8\u5f97\u624b\u5199 <code>.env.local<\/code>\uff0c\u518d\u786e\u8ba4 Key \u6709\u6ca1\u6709\u914d\u5bf9\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u6574\u7406\u5e76\u5f00\u6e90\u4e86\u4e00\u4e2a\u9879\u76ee\uff1a<strong>baipiao<\/strong>\u3002<\/p>\n<p>\u5b83\u4e0d\u662f\u5355\u7eaf\u7684\u201c\u767d\u5ad6\u5217\u8868\u201d\uff0c\u800c\u662f\u628a\u514d\u8d39\u5f00\u53d1\u8d44\u6e90\u76ee\u5f55\u3001CLI\u3001\u672c\u5730 Vault\u3001<code>.env.local<\/code> \u751f\u6210\u548c MCP \u652f\u6301\u4e32\u6210\u4e86\u4e00\u6761\u5b8c\u6574\u5de5\u4f5c\u6d41\u3002<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047764755\" alt=\"baipiao \u4ea7\u54c1\u6f14\u793a\" title=\"baipiao \u4ea7\u54c1\u6f14\u793a\" loading=\"lazy\"><\/p>\n<h2>\u5b83\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898\uff1f<\/h2>\n<p>\u5982\u679c\u4f60\u7ecf\u5e38\u505a AI Demo\u3001\u5c0f\u5de5\u5177\u3001Side Project\uff0c\u5e94\u8be5\u4f1a\u9047\u5230\u8fd9\u4e9b\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\u60f3\u63a5 LLM\uff0c\u8981\u627e Groq\u3001OpenRouter\u3001Gemini \u7b49\u670d\u52a1<\/li>\n<li>\u60f3\u5b58\u6570\u636e\uff0c\u8981\u627e Supabase\u3001Neon \u7b49\u6570\u636e\u5e93<\/li>\n<li>\u60f3\u653e\u56fe\u7247\u6216\u6587\u4ef6\uff0c\u8981\u627e R2\u3001Cloudflare \u7b49\u5bf9\u8c61\u5b58\u50a8<\/li>\n<li>\u60f3\u90e8\u7f72\uff0c\u53c8\u8981\u770b Vercel\u3001Netlify\u3001Render \u7b49\u5e73\u53f0<\/li>\n<li>\u914d\u5b8c\u670d\u52a1\u4ee5\u540e\uff0c\u8fd8\u8981\u7ba1\u7406\u4e00\u5806 API Key \u548c\u73af\u5883\u53d8\u91cf<\/li>\n<\/ul>\n<p>\u514d\u8d39\u8d44\u6e90\u5176\u5b9e\u5f88\u591a\uff0c\u4f46\u592a\u6563\u4e86\u3002<\/p>\n<p>baipiao \u7684\u76ee\u6807\u662f\u628a\u8fd9\u4e9b\u8d44\u6e90\u6536\u62e2\u5230\u4e00\u4e2a\u53ef\u641c\u7d22\u3001\u53ef\u914d\u7f6e\u3001\u53ef\u7ed9 AI \u7f16\u7a0b\u5de5\u5177\u8c03\u7528\u7684\u5de5\u4f5c\u6d41\u91cc\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li>\u641c\u7d22\u514d\u8d39\u5f00\u53d1\u8005\u670d\u52a1<\/li>\n<li>\u67e5\u770b LLM\u3001\u6570\u636e\u5e93\u3001\u5bf9\u8c61\u5b58\u50a8\u3001\u90e8\u7f72\u3001Auth\u3001Email\u3001Monitoring \u7b49\u8d44\u6e90<\/li>\n<li>\u7528 CLI \u751f\u6210\u7ed9 Codex \/ Claude Code \/ Cursor \u4f7f\u7528\u7684\u5b89\u5168\u914d\u7f6e\u63d0\u793a\u8bcd<\/li>\n<li>\u8ba9 Agent \u53bb\u7f51\u9875\u91cc\u8f85\u52a9\u914d\u7f6e\u670d\u52a1<\/li>\n<li>\u56de\u586b <code>KEY=VALUE<\/code><\/li>\n<li>\u5b58\u8fdb\u672c\u5730\u7cfb\u7edf\u51ed\u636e\u7ba1\u7406\u5668<\/li>\n<li>\u81ea\u52a8\u751f\u6210 <code>.env.local<\/code><\/li>\n<li>\u6d4b\u8bd5\u8fde\u63a5<\/li>\n<li>\u901a\u8fc7 MCP \u7ed9 AI \u7f16\u7a0b\u5de5\u5177\u4f7f\u7528<\/li>\n<\/ul>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047764756\" alt=\"baipiao CLI \u56db\u5bab\u683c\u9884\u89c8\" title=\"baipiao CLI \u56db\u5bab\u683c\u9884\u89c8\" loading=\"lazy\"><\/p>\n<p>\u6211\u6700\u91cd\u89c6\u7684\u4e00\u70b9\u662f\uff1a<strong>API Key \u4e0d\u4e0a\u4f20\u4e91\u7aef<\/strong>\u3002<\/p>\n<p>Key \u4f1a\u5b58\u5728\u672c\u673a\u7cfb\u7edf\u51ed\u636e\u7ba1\u7406\u5668\u91cc\uff0c\u518d\u6309\u9879\u76ee\u9700\u8981\u751f\u6210 <code>.env.local<\/code>\u3002\u8fd9\u6837\u65e2\u65b9\u4fbf Agent \u4f7f\u7528\uff0c\u4e5f\u4e0d\u4f1a\u628a\u654f\u611f\u4fe1\u606f\u6563\u843d\u5728\u804a\u5929\u8bb0\u5f55\u3001\u526a\u8d34\u677f\u6216\u5404\u79cd\u4e34\u65f6\u6587\u6863\u91cc\u3002<\/p>\n<h2>\u9002\u5408\u8c01\uff1f<\/h2>\n<ul>\n<li>\u72ec\u7acb\u5f00\u53d1\u8005<\/li>\n<li>\u5b66\u751f\u515a<\/li>\n<li>AI \u4ea7\u54c1\u539f\u578b\u5f00\u53d1\u8005<\/li>\n<li>\u7ecf\u5e38\u505a Side Project \u7684\u4eba<\/li>\n<li>\u7ecf\u5e38\u7528 Codex \/ Claude Code \/ Cursor \u7684\u4eba<\/li>\n<li>\u7ecf\u5e38\u627e\u514d\u8d39 API \u548c\u5f00\u53d1\u8d44\u6e90\u7684\u4eba<\/li>\n<\/ul>\n<h2>\u9879\u76ee\u5730\u5740<\/h2>\n<p>GitHub\uff1a <a href=\"https:\/\/link.segmentfault.com\/?enc=PEtwA5CB30aK1dm7U4GQcg%3D%3D.7KJelx%2BLHHYXI7iVR6VAikbrw%2F4kUDqG1eMlX0Dw37nIyybMYPA88i%2B87tuRAZqY\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/xingbofeng\/baipiao<\/a><\/p>\n<p>\u5b98\u7f51\uff1a <a href=\"https:\/\/link.segmentfault.com\/?enc=8RvKPKabtHlInx%2FmGbPfUA%3D%3D.iPzirGWBKqpJPvHYl9W0NZFkO6FdiIiYecDkNd4VRMc%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/baipiao.counterxing.top<\/a><\/p>\n<p>\u5982\u679c\u4f60\u4e5f\u7ecf\u5e38\u4e3a\u4e86\u627e\u514d\u8d39 API\u3001\u914d\u73af\u5883\u53d8\u91cf\u3001\u7ba1\u7406 Key \u6298\u817e\uff0c\u6b22\u8fce Star\u3001\u8bd5\u7528\u3001\u63d0 Issue\uff0c\u4e00\u8d77\u628a\u8fd9\u4e2a\u514d\u8d39\u5f00\u53d1\u8d44\u6e90\u76ee\u5f55\u8865\u5168\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047764753\">https:\/\/segmentfault.com\/a\/1190000047764753<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub\uff1a https:\/\/github.com\/xingbofeng\/baipiao \u5b98\u7f51\uff1a https [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021370","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021370"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021370\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}