Context7 Platform -- Up-to-date docs for AI agents
docs(opencode): document plugin OAuth command (#3049)
Fahreddin Özcan5284672feb57
diff --git a/docs/clients/opencode.mdx b/docs/clients/opencode.mdxindex 1e43ddd4..6d729959 100644--- a/docs/clients/opencode.mdx+++ b/docs/clients/opencode.mdx@@ -19,13 +19,19 @@ npx ctx7 setup --opencodeAuthenticates via OAuth, generates an API key, and installs the appropriate skill. You can choose between CLI or MCP mode.-You can also install Context7 as an OpenCode plugin. It bundles the MCP server with a skill:+You can also install Context7 as an [OpenCode plugin](#plugin). It bundles the MCP server with a skill:```bashopencode plugin @upstash/context7-opencode```-Restart OpenCode after installing. On the first lookup, a browser window opens so you can log in to Context7 via OAuth, which gives you your account's rate limits.+Restart OpenCode after installing, then authenticate the plugin:++```bash+opencode mcp auth context7+```++Complete the OAuth flow in your browser to use your account's rate limits. If you skip this command, the browser opens automatically on the first lookup.For manual MCP installation or other configuration options, see [All MCP Clients](/resources/all-clients).@@ -33,6 +39,12 @@ For manual MCP installation or other configuration options, see [All MCP Clients## Plugin+Install the plugin from your project directory:++```bash+opencode plugin @upstash/context7-opencode+```+The plugin is an alternative to `ctx7 setup` that configures OpenCode in one command. It adds two things:<CardGroup cols={2}>