Skip to content

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

docs fixes

enesakarf13e3a1becf7
diff --git a/README.md b/README.md
index cd605ee2..8722eb07 100644
--- a/README.md
+++ b/README.md
@@ -75,19 +75,6 @@ Check out our [project addition guide](https://context7.com/docs/adding-librarie
>
> From then on, you'll get Context7's docs in any related conversation without typing anything extra. You can alter the rule to match your use cases.
-<details>
-<summary><b>Installing via Smithery</b></summary>
-
-To install Context7 MCP Server for any client automatically via [Smithery](https://smithery.ai/server/@upstash/context7-mcp):
-
-```bash
-npx -y @smithery/cli@latest install @upstash/context7-mcp --client <CLIENT_NAME> --key <YOUR_SMITHERY_KEY>
-```
-
-You can find your Smithery key in the [Smithery.ai webpage](https://smithery.ai/server/@upstash/context7-mcp).
-
-</details>
-
<details>
<summary><b>Install in Cursor</b></summary>
@@ -150,6 +137,42 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp --api-key YOUR_API_KEY
</details>
+<details>
+<summary><b>Install in Opencode</b></summary>
+
+Add this to your Opencode configuration file. See [Opencode MCP docs](https://opencode.ai/docs/mcp-servers) for more info.
+
+#### Opencode Remote Server Connection
+
+```json
+"mcp": {
+ "context7": {
+ "type": "remote",
+ "url": "https://mcp.context7.com/mcp",
+ "headers": {
+ "CONTEXT7_API_KEY": "YOUR_API_KEY"
+ },
+ "enabled": true
+ }
+}
+```
+
+#### Opencode Local Server Connection
+
+```json
+{
+ "mcp": {
+ "context7": {
+ "type": "local",
+ "command": ["npx", "-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"],
+ "enabled": true
+ }
+ }
+}
+```
+
+</details>
+
<details>
<summary><b>Install in Amp</b></summary>
@@ -299,6 +322,19 @@ It can be installed via [Zed Extensions](https://zed.dev/extensions?query=Contex
</details>
+<details>
+<summary><b>Installing via Smithery</b></summary>
+
+To install Context7 MCP Server for any client automatically via [Smithery](https://smithery.ai/server/@upstash/context7-mcp):
+
+```bash
+npx -y @smithery/cli@latest install @upstash/context7-mcp --client <CLIENT_NAME> --key <YOUR_SMITHERY_KEY>
+```
+
+You can find your Smithery key in the [Smithery.ai webpage](https://smithery.ai/server/@upstash/context7-mcp).
+
+</details>
+
<details>
<summary><b>Install in Augment Code</b></summary>
@@ -590,42 +626,6 @@ Open Claude Desktop developer settings and edit your `claude_desktop_config.json
</details>
-<details>
-<summary><b>Install in Opencode</b></summary>
-
-Add this to your Opencode configuration file. See [Opencode MCP docs](https://opencode.ai/docs/mcp-servers) for more info.
-
-#### Opencode Remote Server Connection
-
-```json
-"mcp": {
- "context7": {
- "type": "remote",
- "url": "https://mcp.context7.com/mcp",
- "headers": {
- "CONTEXT7_API_KEY": "YOUR_API_KEY"
- },
- "enabled": true
- }
-}
-```
-
-#### Opencode Local Server Connection
-
-```json
-{
- "mcp": {
- "context7": {
- "type": "local",
- "command": ["npx", "-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"],
- "enabled": true
- }
- }
-}
-```
-
-</details>
-
<details>
<summary><b>Install in OpenAI Codex</b></summary>
diff --git a/docs/docs.json b/docs/docs.json
index 340e3cbc..8bb55728 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -17,15 +17,9 @@
"group": "Overview",
"pages": [
"overview",
- {
- "title": "Installation",
- "url": "https://github.com/upstash/context7?tab=readme-ov-file#%EF%B8%8F-installation"
- },
+ "installation",
"adding-libraries",
- {
- "title": "Plans & Pricing",
- "url": "https://context7.com/plans"
- },
+ "plans-pricing",
"api-guide"
]
},
diff --git a/docs/installation.mdx b/docs/installation.mdx
new file mode 100644
index 00000000..a90989c5
--- /dev/null
+++ b/docs/installation.mdx
@@ -0,0 +1,5 @@
+---
+title: Installation
+url: https://github.com/upstash/context7?tab=readme-ov-file#%EF%B8%8F-installation
+---
+
diff --git a/docs/plans-pricing.mdx b/docs/plans-pricing.mdx
new file mode 100644
index 00000000..513cf253
--- /dev/null
+++ b/docs/plans-pricing.mdx
@@ -0,0 +1,5 @@
+---
+title: Plans & Pricing
+url: https://context7.com/plans
+---
+