Skip to content

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

docs: add remote server install instructions for Gemini CLI

Tahab1fd4d572a1c
diff --git a/README.md b/README.md
index a5613e7e..3550b75d 100644
--- a/README.md
+++ b/README.md
@@ -307,6 +307,18 @@ See [Gemini CLI Configuration](https://github.com/google-gemini/gemini-cli/blob/
1. Open the Gemini CLI settings file. The location is `~/.gemini/settings.json` (where `~` is your home directory).
2. Add the following to the `mcpServers` object in your `settings.json` file:
+```json
+{
+ "mcpServers": {
+ "context7": {
+ "httpUrl": "https://mcp.context7.com/mcp"
+ }
+ }
+}
+```
+
+Or, for a local server:
+
```json
{
"mcpServers": {