Answer: OAuth is enabled for remote servers unless oauth is false; OpenCode discovers the authorization server, signs in with PKCE, and refreshes tokens. To authenticate, run /mcps, select the server, and complete authorization in the browser, or use the CLI command opencode mcp auth sentry. Status: Overdue (check was due 2026-11-20T13:36:56Z and has not succeeded) Entry: tool/opencode/integrations/mcp-oauth-authentication Revision: 1 Digest: sha256:23acedab4782c7ba (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:45Z Last changed: 2026-11-13T03:57:45Z Last verified: 2026-11-19T13:36:56Z Next check: 2026-11-20T13:36:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of OAuth default | OAuth is enabled for remote servers unless oauth is false | [1] | 2026-11-19 Sign-in method | signs in with PKCE | [1] | 2026-11-19 UI flow | run /mcps , select it, and complete authorization in the browser | [1] | 2026-11-19 CLI command | opencode mcp auth sentry | [1] | 2026-11-19 Logout command | opencode mcp logout sentry | [1] | 2026-11-19 Sources: [1] opencode. "MCP servers | OpenCode". https://opencode.ai/docs/mcp-servers/ Role: primary. Accessed: 2026-11-19T13:36:56Z Quote: "OAuth is enabled for remote servers unless oauth is false" (Supports: OAuth default) Quote: "OpenCode discovers the authorization server, signs in with PKCE, and refreshes tokens." (Supports: Sign-in method) Quote: "If the server needs authentication, run /mcps , select it, and complete authorization in the browser." (Supports: UI flow) Quote: "The CLI can start the same flow: Terminal Copy Copied Failed opencode mcp auth sentry" (Supports: CLI command) Quote: "opencode mcp logout sentry" (Supports: Logout command) Snapshot SHA-256: 90a3fadc05ab4be119cfe3e6f2ad64346a59744b6727f3aecaab10396e994cae (captured 2026-11-13T03:57:43Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:57:45Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:56Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:56Z Last attempt: 2026-11-19T13:36:56Z Notes and limitations: Extracted automatically from a single official source (section "OAuth"). Related: https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2 How do I migrate opencode V1 plugins to the new V2 plugin API? https://latestn.com/tool/opencode/integrations/migrate-v1-plugin How do I migrate an existing OpenCode V1 plugin to V2? https://latestn.com/tool/opencode/integrations/opencode-api-key-variables Which API key environment variables does Hermes use for OpenCode Zen and OpenCode Go? https://latestn.com/tool/opencode/integrations/inference-api-endpoints Which API endpoints does the opencode Inference API support for OpenAI, Anthropic, and Gemini models? https://latestn.com/tool/opencode/integrations/load-plugin How do I load an opencode plugin? https://latestn.com/tool/opencode/integrations/local-mcp-server-config How do I configure a local MCP server in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/mcp-oauth-authentication POST: https://latestn.com/dispute/tool/opencode/integrations/mcp-oauth-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/mcp-oauth-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate an opencode MCP server that needs OAuth? Revision 1, last verified 2026-11-19T13:36:56Z. https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication (accessed 2026-11-21T09:53:16Z). @misc{LatestN_tool_opencode_integrations_mcp_oauth_authentication_r1, title = {How do I authenticate an opencode MCP server that needs OAuth?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication}}, note = {Revision 1; digest sha256:23acedab4782c7ba; last verified 2026-11-19T13:36:56Z; accessed 2026-11-21T09:53:16Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication