Skip to content

Context7 Platform -- Up-to-date docs for AI agents

docs: reorder add-mcp installation instructions in README

enesgules83c91b68857a
diff --git a/README.md b/README.md
index 8bd437e4..537876f4 100644
--- a/README.md
+++ b/README.md
@@ -39,16 +39,6 @@ Context7 fetches up-to-date code examples and documentation right into your LLM'
> [!NOTE]
> **API Key Recommended**: Get a free API key at [context7.com/dashboard](https://context7.com/dashboard) for higher rate limits.
-### Install with add-mcp
-
-Install the MCP server for all your coding agents:
-
-```bash
-npx add-mcp https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
-```
-
-Add `-y` to skip the confirmation prompt and install to all detected agents already in use in the project directory.
-
<details>
<summary><b>Install in Cursor</b></summary>
@@ -147,6 +137,19 @@ Add this to your Opencode configuration file. See [Opencode MCP docs](https://op
</details>
+<details>
+<summary><b>Install with add-mcp</b></summary>
+
+Install the MCP server for all your coding agents:
+
+```bash
+npx add-mcp https://mcp.context7.com/mcp --header "CONTEXT7_API_KEY: YOUR_API_KEY"
+```
+
+Add `-y` to skip the confirmation prompt and install to all detected agents already in use in the project directory.
+
+</details>
+
**[Other IDEs and Clients →](https://context7.com/docs/resources/all-clients)**
<details>