Skip to content

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

docs: add installation instructions for Roo Code MCP integration

likweitan71fb2eaecad5
diff --git a/README.md b/README.md
index d8a5f7aa..07e2d405 100644
--- a/README.md
+++ b/README.md
@@ -377,6 +377,39 @@ Once the MCP server is added, restart your editor. If you receive any errors, ch
</details>
+<details>
+<summary><b>Install in Roo Code</b></summary>
+
+Add this to your Roo Code MCP configuration file. See [Roo Code MCP docs](https://docs.roocode.com/features/mcp/using-mcp-in-roo) for more info.
+
+#### Roo Code Remote Server Connection
+
+```json
+{
+ "mcpServers": {
+ "context7": {
+ "type": "streamable-http",
+ "url": "https://mcp.context7.com/mcp"
+ }
+ }
+}
+```
+
+#### Roo Code Local Server Connection
+
+```json
+{
+ "mcpServers": {
+ "context7": {
+ "command": "npx",
+ "args": ["-y", "@upstash/context7-mcp"]
+ }
+ }
+}
+```
+
+</details>
+
## 🔧 Environment Variables
The Context7 MCP server supports the following environment variables: