mirror of
https://github.com/upstash/context7.git
synced 2025-07-26 02:13:48 +00:00
Merge pull request #294 from techcow2/my-documentation-update
This commit is contained in:
commit
e057538e9b
39
README.md
39
README.md
@ -403,24 +403,43 @@ The configuration on Windows is slightly different compared to Linux or macOS (_
|
|||||||
<details>
|
<details>
|
||||||
<summary><b>Install in Augment Code</b></summary>
|
<summary><b>Install in Augment Code</b></summary>
|
||||||
|
|
||||||
To configure Context7 MCP in Augment Code, follow these steps:
|
To configure Context7 MCP in Augment Code, you can use either the graphical interface or manual configuration.
|
||||||
|
|
||||||
|
### **A. Using the Augment Code UI**
|
||||||
|
|
||||||
|
1. Click the hamburger menu.
|
||||||
|
2. Select **Settings**.
|
||||||
|
3. Navigate to the **Tools** section.
|
||||||
|
4. Click the **+ Add MCP** button.
|
||||||
|
5. Enter the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
npx -y @upstash/context7-mcp@latest
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Name the MCP: **Context7**.
|
||||||
|
7. Click the **Add** button.
|
||||||
|
|
||||||
|
Once the MCP server is added, you can start using Context7's up-to-date code documentation features directly within Augment Code.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### **B. Manual Configuration**
|
||||||
|
|
||||||
1. Press Cmd/Ctrl Shift P or go to the hamburger menu in the Augment panel
|
1. Press Cmd/Ctrl Shift P or go to the hamburger menu in the Augment panel
|
||||||
2. Select Edit Settings
|
2. Select Edit Settings
|
||||||
3. Under Advanced, click Edit in settings.json
|
3. Under Advanced, click Edit in settings.json
|
||||||
4. Add the server configuration to the `mcpServers` array in the `augment.advanced` object
|
4. Add the server configuration to the `mcpServers` array in the `augment.advanced` object
|
||||||
|
|
||||||
```json
|
|
||||||
"augment.advanced": {
|
"augment.advanced": {
|
||||||
"mcpServers": [
|
"mcpServers": [
|
||||||
{
|
{
|
||||||
"name": "context7",
|
"name": "context7",
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": ["-y", "@upstash/context7-mcp"]
|
"args": ["-y", "@upstash/context7-mcp"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
|
||||||
|
|
||||||
Once the MCP server is added, restart your editor. If you receive any errors, check the syntax to make sure closing brackets or commas are not missing.
|
Once the MCP server is added, restart your editor. If you receive any errors, check the syntax to make sure closing brackets or commas are not missing.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user