{"id":83872,"date":"2026-07-26T05:33:42","date_gmt":"2026-07-25T21:33:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83872.html"},"modified":"2026-07-26T05:33:42","modified_gmt":"2026-07-25T21:33:42","slug":"%e4%b8%ba-opencode-%e6%8c%82%e8%bd%bd%e5%a4%96%e9%83%a8%e8%83%bd%e5%8a%9b%ef%bc%9amcp-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%8c%e5%85%a8%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83872.html","title":{"rendered":"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\u6307\u5357"},"content":{"rendered":"<h3><\/h3>\n<p>\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff08;MCP&#xff09;\u8ba9 OpenCode \u80fd\u591f\u5bf9\u63a5\u5916\u90e8\u5de5\u5177&#xff0c;\u65e0\u8bba\u662f\u8fd0\u884c\u5728\u672c\u5730\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f&#xff0c;\u8fd8\u662f\u90e8\u7f72\u5728\u8fdc\u7aef\u7684 HTTP \u670d\u52a1\u3002\u4e00\u65e6\u63a5\u5165&#xff0c;\u8fd9\u4e9b MCP \u63d0\u4f9b\u7684\u5de5\u5177\u5c31\u4f1a\u548c\u5185\u7f6e\u529f\u80fd\u4e00\u6837&#xff0c;\u81ea\u52a8\u51fa\u73b0\u5728\u5927\u8bed\u8a00\u6a21\u578b\u7684\u53ef\u7528\u5de5\u5177\u5217\u8868\u4e2d&#xff0c;\u76f4\u63a5\u901a\u8fc7\u5bf9\u8bdd\u8fdb\u884c\u8c03\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725213341-6a652bb51c4bf.png\" alt=\"\" \/><\/p>\n<h4>\u4f7f\u7528\u524d\u7684\u5fc5\u8981\u63d0\u9192<\/h4>\n<p>\u6bcf\u4e2a MCP \u670d\u52a1\u5668\u90fd\u4f1a\u5360\u7528\u4e00\u90e8\u5206\u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u5982\u679c\u540c\u65f6\u542f\u7528\u5927\u91cf\u5de5\u5177&#xff0c;\u5f88\u5bb9\u6613\u585e\u6ee1 token \u914d\u989d&#xff0c;\u5c24\u5176\u662f\u4e00\u4e9b\u8fd4\u56de\u6570\u636e\u91cf\u5e9e\u5927\u7684\u670d\u52a1\u5668\u3002\u4e00\u4e2a\u5178\u578b\u7684\u4f8b\u5b50\u662f GitHub MCP \u670d\u52a1\u5668&#xff0c;\u5b83\u5f80\u5f80\u4f1a\u62c9\u5165\u5927\u91cf\u4fe1\u606f&#xff0c;\u7a0d\u4e0d\u7559\u795e\u5c31\u53ef\u80fd\u8d85\u51fa\u4e0a\u4e0b\u6587\u9650\u5236\u3002\u56e0\u6b64&#xff0c;\u53ea\u5f00\u542f\u771f\u6b63\u9700\u8981\u7684 MCP \u670d\u52a1\u5668&#xff0c;\u662f\u4fdd\u6301\u4f1a\u8bdd\u9ad8\u6548\u7684\u5173\u952e\u539f\u5219\u3002<\/p>\n<h4>\u542f\u7528 MCP \u670d\u52a1\u5668<\/h4>\n<p>\u6240\u6709 MCP \u670d\u52a1\u5668\u90fd\u5728 opencode.json \u914d\u7f6e\u6587\u4ef6\u7684 mcp \u5b57\u6bb5\u4e0b\u5b9a\u4e49\u3002\u6bcf\u4e2a\u670d\u52a1\u5668\u62e5\u6709\u4e00\u4e2a\u72ec\u4e00\u65e0\u4e8c\u7684\u540d\u5b57&#xff0c;\u540e\u7eed\u5728\u63d0\u793a\u8bcd\u4e2d\u53ef\u4ee5\u76f4\u63a5\u5f15\u7528\u8fd9\u4e2a\u540d\u5b57\u6765\u8c03\u7528\u5de5\u5177\u3002<\/p>\n<p>{<br \/>\n  &#034;$schema&#034;: &#034;https:\/\/opencode.ai\/config.json&#034;,<br \/>\n  &#034;mcp&#034;: {<br \/>\n    &#034;name-of-mcp-server&#034;: {<br \/>\n      \/\/ &#8230;<br \/>\n      &#034;enabled&#034;: true<br \/>\n    },<br \/>\n    &#034;name-of-other-mcp-server&#034;: {<br \/>\n      \/\/ &#8230;<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<p>\u5982\u679c\u53ea\u662f\u6682\u65f6\u4e0d\u60f3\u4f7f\u7528\u67d0\u4e2a\u670d\u52a1\u5668&#xff0c;\u53ef\u4ee5\u5c06\u5176 enabled \u8bbe\u4e3a false&#xff0c;\u8fd9\u6837\u65e0\u9700\u4ece\u914d\u7f6e\u4e2d\u5220\u9664\u5373\u53ef\u5173\u95ed\u3002<\/p>\n<h4>\u8986\u76d6\u7ec4\u7ec7\u8fdc\u7a0b\u9ed8\u8ba4\u503c<\/h4>\n<p>\u4e00\u4e9b\u56e2\u961f\u4f1a\u901a\u8fc7 \/.well-known\/opencode \u7aef\u70b9\u63d0\u4f9b\u9ed8\u8ba4\u7684 MCP \u670d\u52a1\u5668\u5217\u8868\u3002\u8fd9\u4e9b\u8fdc\u7a0b\u9884\u8bbe\u53ef\u80fd\u662f\u9ed8\u8ba4\u7981\u7528\u7684&#xff0c;\u4f9b\u6210\u5458\u6309\u9700\u542f\u7528\u3002\u8981\u60f3\u6fc0\u6d3b\u67d0\u4e2a\u6765\u81ea\u7ec4\u7ec7\u8fdc\u7a0b\u914d\u7f6e\u7684\u670d\u52a1\u5668&#xff0c;\u53ea\u9700\u5728\u672c\u5730\u914d\u7f6e\u4e2d\u58f0\u660e\u540c\u540d\u6761\u76ee&#xff0c;\u5e76\u5c06 enabled \u8bbe\u4e3a true\u3002\u672c\u5730\u914d\u7f6e\u7684\u4f18\u5148\u7ea7\u4f1a\u8986\u76d6\u8fdc\u7a0b\u9ed8\u8ba4\u8bbe\u7f6e\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;jira&#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;remote&#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:\/\/jira.example.com\/mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;enabled&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/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>\u6dfb\u52a0\u672c\u5730 MCP \u670d\u52a1\u5668<\/h4>\n<p>\u5c06 type \u8bbe\u4e3a &#034;local&#034; \u5373\u53ef\u5b9a\u4e49\u672c\u5730\u670d\u52a1\u5668\u3002command \u5b57\u6bb5\u8d1f\u8d23\u6307\u5b9a\u542f\u52a8\u8be5\u670d\u52a1\u5668\u7684\u547d\u4ee4\u548c\u53c2\u6570&#xff0c;\u8fd8\u53ef\u901a\u8fc7 environment \u5bf9\u8c61\u6ce8\u5165\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<p>{<br \/>\n  &#034;$schema&#034;: &#034;https:\/\/opencode.ai\/config.json&#034;,<br \/>\n  &#034;mcp&#034;: {<br \/>\n    &#034;my-local-mcp-server&#034;: {<br \/>\n      &#034;type&#034;: &#034;local&#034;,<br \/>\n      &#034;command&#034;: [&#034;npx&#034;, &#034;-y&#034;, &#034;my-mcp-command&#034;],<br \/>\n      &#034;enabled&#034;: true,<br \/>\n      &#034;environment&#034;: {<br \/>\n        &#034;MY_ENV_VAR&#034;: &#034;my_env_var_value&#034;<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<p>\u4e00\u4e2a\u5b9e\u9645\u4f8b\u5b50\u662f\u63a5\u5165\u5b98\u65b9\u7684\u6d4b\u8bd5\u670d\u52a1\u5668 &#064;modelcontextprotocol\/server-everything&#xff1a;<\/p>\n<p>{<br \/>\n  &#034;$schema&#034;: &#034;https:\/\/opencode.ai\/config.json&#034;,<br \/>\n  &#034;mcp&#034;: {<br \/>\n    &#034;mcp_everything&#034;: {<br \/>\n      &#034;type&#034;: &#034;local&#034;,<br \/>\n      &#034;command&#034;: [&#034;npx&#034;, &#034;-y&#034;, &#034;&#064;modelcontextprotocol\/server-everything&#034;]<br \/>\n    }<br \/>\n  }<br \/>\n}<\/p>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u5728\u63d0\u793a\u8bcd\u4e2d\u5199\u4e0a\u201c\u4f7f\u7528 mcp_everything \u5de5\u5177\u628a 3 \u548c 4 \u76f8\u52a0\u201d&#xff0c;\u6a21\u578b\u5c31\u4f1a\u81ea\u52a8\u8c03\u7528\u5bf9\u5e94\u7684\u8fd0\u7b97\u5de5\u5177\u3002<\/p>\n<p>\u672c\u5730 MCP \u914d\u7f6e\u9009\u9879<\/p>\n<table>\n<tr>\u9009\u9879\u7c7b\u578b\u5fc5\u586b\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>type<\/td>\n<td>string<\/td>\n<td>\u662f<\/td>\n<td>\u670d\u52a1\u5668\u8fde\u63a5\u7c7b\u578b&#xff0c;\u5fc5\u987b\u4e3a &#034;local&#034;\u3002<\/td>\n<\/tr>\n<tr>\n<td>command<\/td>\n<td>array<\/td>\n<td>\u662f<\/td>\n<td>\u542f\u52a8 MCP \u670d\u52a1\u5668\u7684\u547d\u4ee4\u53ca\u53c2\u6570\u3002<\/td>\n<\/tr>\n<tr>\n<td>environment<\/td>\n<td>object<\/td>\n<td>\u5426<\/td>\n<td>\u542f\u52a8\u670d\u52a1\u5668\u65f6\u8bbe\u7f6e\u7684\u73af\u5883\u53d8\u91cf\u3002<\/td>\n<\/tr>\n<tr>\n<td>enabled<\/td>\n<td>boolean<\/td>\n<td>\u5426<\/td>\n<td>\u662f\u5426\u5728\u542f\u52a8\u65f6\u542f\u7528\u8be5\u670d\u52a1\u5668\u3002<\/td>\n<\/tr>\n<tr>\n<td>timeout<\/td>\n<td>number<\/td>\n<td>\u5426<\/td>\n<td>\u4ece MCP \u670d\u52a1\u5668\u83b7\u53d6\u5de5\u5177\u7684\u7b49\u5f85\u65f6\u95f4&#xff08;\u6beb\u79d2&#xff09;&#xff0c;\u9ed8\u8ba4 5000&#xff08;5 \u79d2&#xff09;\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u6dfb\u52a0\u8fdc\u7a0b MCP \u670d\u52a1\u5668<\/h4>\n<p>\u5c06 type \u8bbe\u4e3a &#034;remote&#034;&#xff0c;\u5e76\u6307\u5b9a url \u5373\u53ef\u63a5\u5165\u8fdc\u7a0b HTTP MCP \u670d\u52a1\u3002\u540c\u65f6\u53ef\u4ee5\u643a\u5e26\u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934&#xff0c;\u6bd4\u5982\u7528\u4e8e API \u5bc6\u94a5\u9274\u6743\u7684 Authorization \u5934\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-remote-mcp&#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;remote&#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:\/\/my-mcp-server.com&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;enabled&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;headers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;Authorization&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;Bearer MY_API_KEY&#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>\u8fdc\u7a0b MCP \u914d\u7f6e\u9009\u9879<\/p>\n<table>\n<tr>\u9009\u9879\u7c7b\u578b\u5fc5\u586b\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>type<\/td>\n<td>string<\/td>\n<td>\u662f<\/td>\n<td>\u670d\u52a1\u5668\u8fde\u63a5\u7c7b\u578b&#xff0c;\u5fc5\u987b\u4e3a &#034;remote&#034;\u3002<\/td>\n<\/tr>\n<tr>\n<td>url<\/td>\n<td>string<\/td>\n<td>\u662f<\/td>\n<td>\u8fdc\u7a0b MCP \u670d\u52a1\u5668\u7684 URL\u3002<\/td>\n<\/tr>\n<tr>\n<td>enabled<\/td>\n<td>boolean<\/td>\n<td>\u5426<\/td>\n<td>\u662f\u5426\u5728\u542f\u52a8\u65f6\u542f\u7528\u8be5\u670d\u52a1\u5668\u3002<\/td>\n<\/tr>\n<tr>\n<td>headers<\/td>\n<td>object<\/td>\n<td>\u5426<\/td>\n<td>\u8bf7\u6c42\u65f6\u9644\u52a0\u7684\u81ea\u5b9a\u4e49 HTTP \u5934\u3002<\/td>\n<\/tr>\n<tr>\n<td>oauth<\/td>\n<td>object \u6216 false<\/td>\n<td>\u5426<\/td>\n<td>OAuth \u8ba4\u8bc1\u914d\u7f6e&#xff0c;\u8be6\u89c1\u4e0b\u6587\u3002\u8bbe\u4e3a false \u53ef\u5173\u95ed\u81ea\u52a8 OAuth\u3002<\/td>\n<\/tr>\n<tr>\n<td>timeout<\/td>\n<td>number<\/td>\n<td>\u5426<\/td>\n<td>\u4ece MCP \u670d\u52a1\u5668\u83b7\u53d6\u5de5\u5177\u7684\u7b49\u5f85\u65f6\u95f4&#xff08;\u6beb\u79d2&#xff09;&#xff0c;\u9ed8\u8ba4 5000&#xff08;5 \u79d2&#xff09;\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>OAuth \u8ba4\u8bc1<\/h4>\n<p>\u8fdc\u7a0b MCP \u670d\u52a1\u5668\u5982\u679c\u9700\u8981\u6388\u6743&#xff0c;OpenCode \u4f1a\u81ea\u52a8\u5904\u7406 OAuth \u6d41\u7a0b\u3002\u5f53\u670d\u52a1\u7aef\u8fd4\u56de 401 \u72b6\u6001\u7801\u65f6&#xff0c;\u4f1a\u89e6\u53d1\u4ee5\u4e0b\u52a8\u4f5c&#xff1a;<\/p>\n<ul>\n<li>\u5c1d\u8bd5\u4f7f\u7528\u52a8\u6001\u5ba2\u6237\u7aef\u6ce8\u518c&#xff08;RFC 7591&#xff0c;\u82e5\u670d\u52a1\u5668\u652f\u6301&#xff09;<\/li>\n<li>\u5b89\u5168\u5b58\u50a8\u4ee4\u724c\u4f9b\u540e\u7eed\u8bf7\u6c42\u4f7f\u7528<\/li>\n<\/ul>\n<p>\u81ea\u52a8\u6a21\u5f0f<\/p>\n<p>\u7edd\u5927\u591a\u6570\u652f\u6301 OAuth \u7684 MCP \u670d\u52a1\u5668\u65e0\u9700\u989d\u5916\u914d\u7f6e&#xff0c;\u76f4\u63a5\u586b\u5199 URL \u5373\u53ef\u3002\u82e5\u670d\u52a1\u5668\u8981\u6c42\u6388\u6743&#xff0c;\u7b2c\u4e00\u6b21\u5c1d\u8bd5\u4f7f\u7528\u65f6\u4f1a\u5f39\u51fa\u8ba4\u8bc1\u63d0\u793a&#xff1b;\u4e5f\u53ef\u4ee5\u624b\u52a8\u6267\u884c opencode mcp auth &lt;\u670d\u52a1\u5668\u540d&gt; \u6765\u542f\u52a8\u6d41\u7a0b\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-oauth-server&#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;remote&#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:\/\/mcp.example.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><\/p>\n<p>\u9884\u6ce8\u518c\u5ba2\u6237\u7aef\u51ed\u8bc1<\/p>\n<p>\u5982\u679c\u5df2\u7ecf\u4ece\u670d\u52a1\u65b9\u62ff\u5230\u4e86\u5ba2\u6237\u7aef ID \u548c\u5bc6\u94a5&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5199\u5165\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-oauth-server&#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;remote&#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:\/\/mcp.example.com\/mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;oauth&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;clientId&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;{env:MY_MCP_CLIENT_ID}&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;clientSecret&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;{env:MY_MCP_CLIENT_SECRET}&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string-property property\">&#034;scope&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;tools:read tools:execute&#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>\u51ed\u8bc1\u7ba1\u7406\u547d\u4ee4<\/p>\n<p>\u624b\u52a8\u7ba1\u7406\u8ba4\u8bc1\u72b6\u6001\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u7ec8\u7aef\u547d\u4ee4&#xff1a;<\/p>\n<ul>\n<li>\u5bf9\u6307\u5b9a\u670d\u52a1\u5668\u53d1\u8d77\u8ba4\u8bc1&#xff1a;opencode mcp auth my-oauth-server<\/li>\n<li>\u5217\u51fa\u6240\u6709 MCP \u670d\u52a1\u5668\u53ca\u8ba4\u8bc1\u72b6\u6001&#xff1a;opencode mcp list<\/li>\n<li>\u79fb\u9664\u5df2\u5b58\u50a8\u7684\u51ed\u8bc1&#xff1a;opencode mcp logout my-oauth-server<\/li>\n<\/ul>\n<p>\u6267\u884c mcp auth \u547d\u4ee4\u4f1a\u6253\u5f00\u7cfb\u7edf\u6d4f\u89c8\u5668\u8fdb\u884c\u6388\u6743&#xff0c;\u5b8c\u6210\u540e\u4ee4\u724c\u4f1a\u5b89\u5168\u5b58\u50a8\u5728 ~\/.local\/share\/opencode\/mcp-auth.json \u4e2d\u3002<\/p>\n<p>\u5173\u95ed\u81ea\u52a8 OAuth<\/p>\n<p>\u5bf9\u4e8e\u4f7f\u7528 API \u5bc6\u94a5\u800c\u975e OAuth \u7684\u670d\u52a1\u5668&#xff0c;\u53ef\u5c06 oauth \u8bbe\u4e3a false \u6765\u7981\u7528\u81ea\u52a8\u8ba4\u8bc1\u68c0\u6d4b&#xff0c;\u540c\u65f6\u4ecd\u53ef\u901a\u8fc7 headers \u4f20\u9012\u5bc6\u94a5&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-api-key-server&#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;remote&#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:\/\/mcp.example.com\/mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;oauth&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;headers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;Authorization&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;Bearer {env:MY_API_KEY}&#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>OAuth \u9009\u9879\u7ec6\u8282<\/p>\n<table>\n<tr>\u9009\u9879\u7c7b\u578b\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>oauth<\/td>\n<td>object \u6216 false<\/td>\n<td>OAuth \u914d\u7f6e\u5bf9\u8c61&#xff0c;\u8bbe\u4e3a false \u5219\u7981\u7528\u81ea\u52a8 OAuth \u68c0\u6d4b\u3002<\/td>\n<\/tr>\n<tr>\n<td>clientId<\/td>\n<td>string<\/td>\n<td>OAuth \u5ba2\u6237\u7aef ID\u3002\u4e0d\u63d0\u4f9b\u65f6\u4f1a\u5c1d\u8bd5\u52a8\u6001\u6ce8\u518c\u3002<\/td>\n<\/tr>\n<tr>\n<td>clientSecret<\/td>\n<td>string<\/td>\n<td>OAuth \u5ba2\u6237\u7aef\u5bc6\u94a5&#xff0c;\u89c6\u6388\u6743\u670d\u52a1\u5668\u8981\u6c42\u800c\u5b9a\u3002<\/td>\n<\/tr>\n<tr>\n<td>scope<\/td>\n<td>string<\/td>\n<td>\u6388\u6743\u65f6\u8bf7\u6c42\u7684\u4f5c\u7528\u57df\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u8c03\u8bd5\u8fde\u63a5\u95ee\u9898<\/h4>\n<p>\u5f53\u8fdc\u7a0b MCP \u670d\u52a1\u5668\u8ba4\u8bc1\u5931\u8d25\u65f6&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u8c03\u8bd5\u547d\u4ee4\u5b9a\u4f4d\u95ee\u9898&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u6240\u6709\u5177\u5907 OAuth \u80fd\u529b\u7684\u670d\u52a1\u5668\u8ba4\u8bc1\u72b6\u6001<\/span><br \/>\nopencode mcp auth list<\/p>\n<p><span class=\"token comment\"># \u8c03\u8bd5\u7279\u5b9a\u670d\u52a1\u5668\u7684\u8fde\u63a5\u548c OAuth \u6d41\u7a0b<\/span><br \/>\nopencode mcp debug my-oauth-server<\/p>\n<p>mcp debug \u547d\u4ee4\u4f1a\u663e\u793a\u5f53\u524d\u8ba4\u8bc1\u72b6\u6001\u3001\u6d4b\u8bd5 HTTP \u8fde\u901a\u6027&#xff0c;\u5e76\u5c1d\u8bd5\u6267\u884c OAuth \u53d1\u73b0\u6d41\u7a0b\u3002<\/p>\n<h4>\u7cbe\u7ec6\u63a7\u5236 MCP \u5de5\u5177<\/h4>\n<p>\u63a5\u5165\u7684 MCP \u670d\u52a1\u5668\u4f1a\u4ee5\u5de5\u5177\u5f62\u5f0f\u51fa\u73b0\u5728 OpenCode \u4e2d&#xff0c;\u4e0e\u5185\u7f6e\u5de5\u5177\u5e76\u5217\u3002\u53ef\u4ee5\u5728 tools \u5b57\u6bb5\u4e2d\u50cf\u63a7\u5236\u5176\u4ed6\u5de5\u5177\u4e00\u6837\u7ba1\u7406\u5b83\u4eec\u3002<\/p>\n<p>\u5168\u5c40\u542f\u7528\/\u7981\u7528<\/p>\n<p>\u76f4\u63a5\u5bf9 MCP \u670d\u52a1\u5668\u540d\u8fdb\u884c\u5168\u5c40\u5f00\u5173\u8bbe\u5b9a&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-mcp-foo&#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;local&#034;<\/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 punctuation\">[<\/span><span class=\"token string\">&#034;bun&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;x&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;my-mcp-command-foo&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-mcp-bar&#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;local&#034;<\/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 punctuation\">[<\/span><span class=\"token string\">&#034;bun&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;x&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;my-mcp-command-bar&#034;<\/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><br \/>\n  <span class=\"token string-property property\">&#034;tools&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-mcp-foo&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">false<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528 glob \u901a\u914d\u7b26\u6279\u91cf\u7981\u7528\u6240\u6709\u5339\u914d\u7684\u670d\u52a1\u5668\u5de5\u5177\u3002\u4f8b\u5982&#xff0c;\u4e0b\u9762\u8fd9\u6761\u914d\u7f6e\u7981\u7528\u4e86\u6240\u6709\u4ee5 my-mcp \u5f00\u5934\u7684 MCP \u670d\u52a1\u5668&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-mcp-foo&#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;local&#034;<\/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 punctuation\">[<\/span><span class=\"token string\">&#034;bun&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;x&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;my-mcp-command-foo&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-mcp-bar&#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;local&#034;<\/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 punctuation\">[<\/span><span class=\"token string\">&#034;bun&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;x&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;my-mcp-command-bar&#034;<\/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><br \/>\n  <span class=\"token string-property property\">&#034;tools&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-mcp*&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">false<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6309\u4ee3\u7406&#xff08;agent&#xff09;\u542f\u7528<\/p>\n<p>\u5f53 MCP \u670d\u52a1\u5668\u6570\u91cf\u8f83\u591a\u65f6&#xff0c;\u66f4\u63a8\u8350\u7684\u505a\u6cd5\u662f\u5168\u5c40\u7981\u7528&#xff0c;\u53ea\u8ba9\u7279\u5b9a\u7684\u4ee3\u7406\u542f\u7528\u3002\u9996\u5148\u5728\u5168\u5c40\u5de5\u5177\u4e2d\u5c06\u5176\u5173\u95ed&#xff0c;\u7136\u540e\u5728\u76ee\u6807\u4ee3\u7406\u7684\u914d\u7f6e\u91cc\u91cd\u65b0\u6253\u5f00&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;my-mcp&#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;local&#034;<\/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 punctuation\">[<\/span><span class=\"token string\">&#034;bun&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;x&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;my-mcp-command&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;enabled&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/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 string-property property\">&#034;tools&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-mcp*&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">false<\/span><br \/>\n  <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string-property property\">&#034;agent&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token string-property property\">&#034;my-agent&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n      <span class=\"token string-property property\">&#034;tools&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;my-mcp*&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">true<\/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>\u5173\u4e8e glob \u6a21\u5f0f<\/p>\n<p>OpenCode \u7684 glob \u652f\u6301\u7b80\u5355\u89c4\u5219&#xff1a;<\/p>\n<ul>\n<li>* \u5339\u914d\u96f6\u4e2a\u6216\u591a\u4e2a\u4efb\u610f\u5b57\u7b26&#xff08;\u5982 my-mcp* \u80fd\u5339\u914d my-mcp_search\u3001my-mcp_list \u7b49&#xff09;<\/li>\n<li>? \u5339\u914d\u6070\u597d\u4e00\u4e2a\u5b57\u7b26<\/li>\n<li>\u5176\u4ed6\u5b57\u7b26\u539f\u6837\u5339\u914d<\/li>\n<\/ul>\n<p>\u6709\u4e00\u70b9\u9700\u8981\u7279\u522b\u7559\u610f&#xff1a;MCP \u670d\u52a1\u5668\u6ce8\u518c\u5de5\u5177\u65f6&#xff0c;\u5de5\u5177\u540d\u4f1a\u5e26\u4e0a\u670d\u52a1\u5668\u540d\u79f0\u4f5c\u4e3a\u524d\u7f00\u3002\u6240\u4ee5&#xff0c;\u8981\u7981\u7528\u67d0\u4e2a\u670d\u52a1\u5668\u7684\u5168\u90e8\u5de5\u5177&#xff0c;\u53ea\u9700\u4f7f\u7528 &#034;\u670d\u52a1\u5668\u540d_*&#034;: false \u5373\u53ef\u3002<\/p>\n<h4>\u5e38\u89c1 MCP \u670d\u52a1\u5668\u793a\u4f8b<\/h4>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u670d\u52a1\u5668\u7684\u5177\u4f53\u914d\u7f6e&#xff0c;\u5f00\u53d1\u8005\u4e5f\u53ef\u4ee5\u5411\u6587\u6863\u4ed3\u5e93\u63d0\u4ea4 PR \u6765\u8865\u5145\u66f4\u591a\u6848\u4f8b\u3002<\/p>\n<p>Sentry<\/p>\n<p>\u63a5\u5165 Sentry MCP \u670d\u52a1\u5668\u540e&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u5728\u5bf9\u8bdd\u4e2d\u67e5\u8be2\u9879\u76ee\u548c\u95ee\u9898\u6570\u636e\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;sentry&#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;remote&#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:\/\/mcp.sentry.dev\/mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;oauth&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/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<p>\u914d\u7f6e\u597d\u4e4b\u540e&#xff0c;\u8fd0\u884c opencode mcp auth sentry \u5b8c\u6210\u6d4f\u89c8\u5668\u4e2d\u7684 OAuth \u6388\u6743\u3002\u63a5\u4e0b\u6765\u5c31\u80fd\u5728\u63d0\u793a\u8bcd\u91cc\u4f7f\u7528 use sentry \u8981\u6c42\u6a21\u578b\u83b7\u53d6\u6700\u65b0\u672a\u89e3\u51b3\u7684 issue \u7b49\u4fe1\u606f\u3002<\/p>\n<p>Context7<\/p>\n<p>Context7 \u63d0\u4f9b\u6587\u6863\u641c\u7d22\u80fd\u529b&#xff0c;\u9002\u5408\u5728\u9700\u8981\u67e5\u9605\u6700\u65b0\u6280\u672f\u8d44\u6599\u65f6\u8c03\u7528\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;context7&#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;remote&#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:\/\/mcp.context7.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><\/p>\n<p>\u5982\u679c\u5df2\u7ecf\u6ce8\u518c\u4e86 Context7 \u7684\u514d\u8d39\u8d26\u6237&#xff0c;\u8fd8\u53ef\u4ee5\u63d0\u4f9b API \u5bc6\u94a5\u6765\u83b7\u5f97\u66f4\u9ad8\u7684\u901f\u7387\u9650\u989d\u3002\u4e0b\u9762\u7684\u5199\u6cd5\u5047\u8bbe\u73af\u5883\u53d8\u91cf CONTEXT7_API_KEY \u5df2\u7ecf\u8bbe\u7f6e\u597d&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;context7&#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;remote&#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:\/\/mcp.context7.com\/mcp&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n      <span class=\"token string-property property\">&#034;headers&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string-property property\">&#034;CONTEXT7_API_KEY&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;{env:CONTEXT7_API_KEY}&#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>\u4f7f\u7528\u65f6\u5728\u63d0\u793a\u8bcd\u4e2d\u52a0\u5165 use context7 \u5373\u53ef&#xff0c;\u4e5f\u53ef\u4ee5\u5728 AGENTS.md \u4e2d\u5199\u5165\u7c7b\u4f3c\u6307\u4ee4&#xff0c;\u8ba9\u6a21\u578b\u81ea\u52a8\u5728\u9700\u8981\u65f6\u641c\u7d22\u6587\u6863\u3002<\/p>\n<p>Vercel \u7684 Grep<\/p>\n<p>Grep \u5de5\u5177\u80fd\u591f\u641c\u7d22 GitHub \u4e0a\u7684\u516c\u5f00\u4ee3\u7801\u7247\u6bb5&#xff0c;\u9002\u5408\u67e5\u627e\u5b9e\u9645\u7528\u4f8b\u3002<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string-property property\">&#034;$schema&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;https:\/\/opencode.ai\/config.json&#034;<\/span><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;gh_grep&#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;remote&#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:\/\/mcp.grep.app&#034;<\/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>\u7531\u4e8e\u8fd9\u91cc\u7ed9\u5b83\u53d6\u540d gh_grep&#xff0c;\u63d0\u793a\u8bcd\u4e2d\u53ef\u4ee5\u4f7f\u7528 use the gh_grep tool \u6765\u8ba9\u6a21\u578b\u8c03\u7528\u3002\u7c7b\u4f3c\u7684&#xff0c;\u4e5f\u53ef\u4ee5\u5728 AGENTS.md \u91cc\u6307\u793a\u6a21\u578b\u5728\u4e0d\u719f\u6089\u67d0\u4e2a\u7528\u6cd5\u65f6\u4e3b\u52a8\u4f7f\u7528 gh_grep \u641c\u7d22 GitHub \u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<hr \/>\n<p>\u901a\u8fc7 MCP \u673a\u5236&#xff0c;OpenCode \u5c06\u5916\u90e8\u5de5\u5177\u4e0e\u8bed\u8a00\u6a21\u578b\u7684\u4ea4\u4e92\u53d8\u5f97\u6781\u5176\u987a\u7545\u3002\u4ece\u672c\u5730\u811a\u672c\u5230\u9700\u8981 OAuth \u6388\u6743\u7684\u8fdc\u7a0b\u670d\u52a1&#xff0c;\u53ea\u9700\u4e00\u4efd\u7b80\u6d01\u7684 JSON \u914d\u7f6e&#xff0c;\u6240\u6709\u5de5\u5177\u5c31\u80fd\u50cf\u5185\u7f6e\u529f\u80fd\u4e00\u6837\u88ab\u5927\u6a21\u578b\u7406\u89e3\u548c\u8c03\u7528\u3002\u914d\u5408\u7075\u6d3b\u7684\u542f\u7528\u7b56\u7565\u548c glob \u63a7\u5236&#xff0c;\u5373\u4f7f\u5728\u591a\u4ee3\u7406\u3001\u591a\u5de5\u5177\u7684\u590d\u6742\u73af\u5883\u4e0b&#xff0c;\u4f9d\u7136\u80fd\u591f\u4fdd\u6301\u4e0a\u4e0b\u6587\u7684\u9ad8\u6548\u5229\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff08;MCP&#xff09;\u8ba9 OpenCode \u80fd\u591f\u5bf9\u63a5\u5916\u90e8\u5de5\u5177&#xff0c;\u65e0\u8bba\u662f\u8fd0\u884c\u5728\u672c\u5730\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f&#xff0c;\u8fd8\u662f\u90e8\u7f72\u5728\u8fdc\u7aef\u7684 HTTP \u670d\u52a1\u3002\u4e00\u65e6\u63a5\u5165&#xff0c;\u8fd9\u4e9b MCP \u63d0\u4f9b\u7684\u5de5\u5177\u5c31\u4f1a\u548c\u5185\u7f6e\u529f\u80fd\u4e00\u6837&#xff0c;\u81ea\u52a8\u51fa\u73b0\u5728\u5927\u8bed\u8a00\u6a21\u578b\u7684\u53ef\u7528\u5de5\u5177\u5217\u8868\u4e2d&#xff0c;\u76f4\u63a5\u901a\u8fc7\u5bf9\u8bdd\u8fdb\u884c\u8c03\u7528\u3002\u4f7f\u7528\u524d\u7684\u5fc5\u8981\u63d0\u9192<br \/>\n\u6bcf\u4e2a MCP \u670d\u52a1\u5668\u90fd\u4f1a\u5360\u7528\u4e00\u90e8\u5206\u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u5982\u679c\u540c\u65f6\u542f\u7528\u5927\u91cf\u5de5\u5177&#xff0c;\u5f88\u5bb9\u6613\u585e\u6ee1 token \u914d\u989d&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":83871,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7616,73],"topic":[],"class_list":["post-83872","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-opencode","tag-mcp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\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\/83872.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff08;MCP&#xff09;\u8ba9 OpenCode \u80fd\u591f\u5bf9\u63a5\u5916\u90e8\u5de5\u5177&#xff0c;\u65e0\u8bba\u662f\u8fd0\u884c\u5728\u672c\u5730\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f&#xff0c;\u8fd8\u662f\u90e8\u7f72\u5728\u8fdc\u7aef\u7684 HTTP \u670d\u52a1\u3002\u4e00\u65e6\u63a5\u5165&#xff0c;\u8fd9\u4e9b MCP \u63d0\u4f9b\u7684\u5de5\u5177\u5c31\u4f1a\u548c\u5185\u7f6e\u529f\u80fd\u4e00\u6837&#xff0c;\u81ea\u52a8\u51fa\u73b0\u5728\u5927\u8bed\u8a00\u6a21\u578b\u7684\u53ef\u7528\u5de5\u5177\u5217\u8868\u4e2d&#xff0c;\u76f4\u63a5\u901a\u8fc7\u5bf9\u8bdd\u8fdb\u884c\u8c03\u7528\u3002\u4f7f\u7528\u524d\u7684\u5fc5\u8981\u63d0\u9192 \u6bcf\u4e2a MCP \u670d\u52a1\u5668\u90fd\u4f1a\u5360\u7528\u4e00\u90e8\u5206\u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u5982\u679c\u540c\u65f6\u542f\u7528\u5927\u91cf\u5de5\u5177&#xff0c;\u5f88\u5bb9\u6613\u585e\u6ee1 token \u914d\u989d&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83872.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T21:33:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725213341-6a652bb51c4bf.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83872.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83872.html\",\"name\":\"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T21:33:42+00:00\",\"dateModified\":\"2026-07-25T21:33:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83872.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83872.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83872.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\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":"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\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\/83872.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6a21\u578b\u4e0a\u4e0b\u6587\u534f\u8bae&#xff08;MCP&#xff09;\u8ba9 OpenCode \u80fd\u591f\u5bf9\u63a5\u5916\u90e8\u5de5\u5177&#xff0c;\u65e0\u8bba\u662f\u8fd0\u884c\u5728\u672c\u5730\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f&#xff0c;\u8fd8\u662f\u90e8\u7f72\u5728\u8fdc\u7aef\u7684 HTTP \u670d\u52a1\u3002\u4e00\u65e6\u63a5\u5165&#xff0c;\u8fd9\u4e9b MCP \u63d0\u4f9b\u7684\u5de5\u5177\u5c31\u4f1a\u548c\u5185\u7f6e\u529f\u80fd\u4e00\u6837&#xff0c;\u81ea\u52a8\u51fa\u73b0\u5728\u5927\u8bed\u8a00\u6a21\u578b\u7684\u53ef\u7528\u5de5\u5177\u5217\u8868\u4e2d&#xff0c;\u76f4\u63a5\u901a\u8fc7\u5bf9\u8bdd\u8fdb\u884c\u8c03\u7528\u3002\u4f7f\u7528\u524d\u7684\u5fc5\u8981\u63d0\u9192 \u6bcf\u4e2a MCP \u670d\u52a1\u5668\u90fd\u4f1a\u5360\u7528\u4e00\u90e8\u5206\u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u5982\u679c\u540c\u65f6\u542f\u7528\u5927\u91cf\u5de5\u5177&#xff0c;\u5f88\u5bb9\u6613\u585e\u6ee1 token \u914d\u989d&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/83872.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T21:33:42+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725213341-6a652bb51c4bf.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83872.html","url":"https:\/\/www.wsisp.com\/helps\/83872.html","name":"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T21:33:42+00:00","dateModified":"2026-07-25T21:33:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83872.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83872.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83872.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e3a OpenCode \u6302\u8f7d\u5916\u90e8\u80fd\u529b\uff1aMCP \u670d\u52a1\u5668\u5b8c\u5168\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\/83872","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=83872"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83872\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83871"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83872"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}