Skip to content

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

Update README.md

RawToastd1b9019db9ab
diff --git a/README.md b/README.md
index 94a86160..e9b5c0d9 100644
--- a/README.md
+++ b/README.md
@@ -675,26 +675,27 @@ See [Warp Model Context Protocol Documentation](https://docs.warp.dev/knowledge-
<details>
<summary><b>Install in Opencode</b></summary>
-Pasting the following configuration into your Opencode `~/.config/opencode/config.json` file is the recommended approach. Alternatively, you can paste it into a `opencode.json` file at the root of your project. See [Opencode MCP docs](https://opencode.ai/docs/mcp-servers) for more info.
+Add this to your Opencode configuration file. See [Opencode MCP docs](https://opencode.ai/docs/mcp-servers) docs for more info.
#### Opencode Remote Server Connection
```json
"mcp": {
- "remotemcp": {
- "type": "remote",
- "url": "https://mcp.context7.com/mcp",
- "enabled": true
- }
+ "remotemcp": {
+ "type": "remote",
+ "url": "https://mcp.context7.com/mcp",
+ "enabled": true
}
+}
```
#### Opencode Local Server Connection
```json
+
{
- "mcpServers": {
- "context7": {
+ "mcp": {
+ "localmcp": {
"type": "local",
"command": ["npx", "-y", "@upstash/context7-mcp"],
"enabled": true