Answer: You add an MCP server using the command `opencode mcp add` with a name and `--url`, and add `--global` to make it available in every project. Then check its connection with `opencode mcp list`. Status: Overdue (check was due 2026-11-20T13:36:54Z and has not succeeded) Entry: tool/opencode/integrations/add-mcp-server Revision: 1 Digest: sha256:9e3e38f78bd7d3c3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:43Z Last changed: 2026-11-13T03:57:43Z Last verified: 2026-11-19T13:36:54Z Next check: 2026-11-20T13:36:54Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of add command | opencode mcp add context7 --url https://mcp.context7.com/mcp | [1] | 2026-11-19 global flag | --global | [1] | 2026-11-19 global command | opencode mcp add context7 --global --url https://mcp.context7.com/mcp | [1] | 2026-11-19 list command | opencode mcp list | [1] | 2026-11-19 auth default | OAuth | [1] | 2026-11-19 Sources: [1] opencode. "MCP servers | OpenCode". https://opencode.ai/docs/mcp-servers/ Role: primary. Accessed: 2026-11-19T13:36:54Z Quote: "opencode mcp add context7 --url https://mcp.context7.com/mcp" (Supports: add command) Quote: "Add --global to make it available in every project" (Supports: global flag) Quote: "opencode mcp add context7 --global --url https://mcp.context7.com/mcp" (Supports: global command) Quote: "opencode mcp list" (Supports: list command) Quote: "Remote servers use OAuth by default." (Supports: auth default) 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:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:54Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:54Z Last attempt: 2026-11-19T13:36:54Z Notes and limitations: Extracted automatically from a single official source (section "Setup"). Related: https://latestn.com/tool/opencode/integrations/build-gui-plugin-bundle How do I build the opencode GUI plugin bundle? https://latestn.com/tool/opencode/integrations/call-provider-directly How do I call an opencode Console provider directly from my own tools? https://latestn.com/tool/opencode/integrations/call-rpc How do I call an opencode plugin RPC over HTTP or from another plugin? https://latestn.com/tool/opencode/install-and-setup/install-v2-over-v1 How do I install opencode V2 when V1 is already installed? https://latestn.com/tool/opencode/install-and-setup/subscribe-and-connect-go How do I subscribe to OpenCode Go and connect it in the TUI? https://latestn.com/tool/opencode/install-and-setup/v2-breaking-changes What are the breaking changes when upgrading opencode from V1 to V2? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/add-mcp-server/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/add-mcp-server POST: https://latestn.com/dispute/tool/opencode/integrations/add-mcp-server with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/add-mcp-server?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add an MCP server to opencode? Revision 1, last verified 2026-11-19T13:36:54Z. https://latestn.com/tool/opencode/integrations/add-mcp-server (accessed 2026-11-21T09:52:35Z). @misc{LatestN_tool_opencode_integrations_add_mcp_server_r1, title = {How do I add an MCP server to opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/add-mcp-server}}, note = {Revision 1; digest sha256:9e3e38f78bd7d3c3; last verified 2026-11-19T13:36:54Z; accessed 2026-11-21T09:52:35Z} } 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/add-mcp-server