mirror of
https://github.com/upstash/context7.git
synced 2025-06-26 23:50:04 +00:00
Merge pull request #337 from Ifan24/add-gemini-cli-instructions
This commit is contained in:
commit
98cd24504d
23
README.md
23
README.md
@ -263,6 +263,29 @@ It can be installed via [Zed Extensions](https://zed.dev/extensions?query=Contex
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Install in Gemini CLI</b></summary>
|
||||||
|
|
||||||
|
See [Gemini CLI Configuration](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md) for details.
|
||||||
|
|
||||||
|
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": {
|
||||||
|
"command": "npx",
|
||||||
|
"args": ["-y", "@upstash/context7-mcp"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
If the `mcpServers` object does not exist, create it.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><b>Install in Claude Code</b></summary>
|
<summary><b>Install in Claude Code</b></summary>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user