@cryptotaxi247 / netdata / commits / cc1d03869

docs: update continue ext setup (#20689)

Ilya Mashchenko committed Jul 16, 2025 at 13:33 UTC cc1d03869c8dbeca5b5fd2d05fd0a7c3687585a1
1 file changed +49 -43
docs/ml-ai/ai-chat-netdata/vs-code.md
+49 -43
@@ -32,37 +32,38 @@ Autonomous coding agent that can use MCP tools.
32
33 ### Configuration
34
35 -1. Open Command Palette (Ctrl+Shift+P)
36 -2. Type "Continue: Open config.json"
37 -3. Add Netdata MCP configuration:
38 -
39 -```json
40 -{
41 - "models": [
42 - {
43 - "title": "Claude 3.5 Sonnet",
44 - "provider": "anthropic",
45 - "model": "claude-3-5-sonnet-20241022",
46 - "apiKey": "YOUR_ANTHROPIC_KEY"
47 - }
48 - ],
49 - "mcpServers": {
50 - "netdata": {
51 - "command": "/usr/sbin/nd-mcp",
52 - "args": [
53 - "ws://YOUR_NETDATA_IP:19999/mcp?api_key=NETDATA_MCP_API_KEY"
54 - ]
55 - }
56 - }
57 -}
58 -```
59 -
60 -Replace:
61 -
62 -- `/usr/sbin/nd-mcp` - With your [actual nd-mcp path](/docs/learn/mcp.md#finding-the-nd-mcp-bridge)
63 -- `YOUR_NETDATA_IP` - IP address or hostname of your Netdata Agent/Parent
64 -- `NETDATA_MCP_API_KEY` - Your [Netdata MCP API key](/docs/learn/mcp.md#finding-your-api-key)
65 -- `YOUR_ANTHROPIC_KEY` - Your Anthropic API key
35 +#### Step 1: Add Claude Model
36 +
37 +1. Click "**Select model**" dropdown at the bottom (next to Chat dropdown)
38 +2. Click "**+ Add Chat model**"
39 +3. In the configuration screen:
40 + - **Provider**: Change to "Anthropic"
41 + - **Model**: Select `Claude-3.5-Sonnet`
42 + - **API key**: Enter your Anthropic API key
43 + - Click "**Connect**"
44 +
45 +#### Step 2: Add Netdata MCP Server
46 +
47 +1. Click "**MCP**" in the top toolbar
48 +2. Click "**+ Add MCP Servers**"
49 +3. This opens `~/.continue/mcpServers/new-mcp-server.yaml`
50 +4. Replace the content with:
51 + ```yaml
52 + name: Netdata MCP
53 + version: 0.0.1
54 + schema: v1
55 + mcpServers:
56 + - name: netdata
57 + command: /usr/sbin/nd-mcp
58 + args:
59 + - ws://YOUR_NETDATA_IP:19999/mcp?api_key=NETDATA_MCP_API_KEY
60 + env: {}
61 + ```
62 +5. Replace:
63 + - `/usr/sbin/nd-mcp` with your actual nd-mcp path
64 + - `YOUR_NETDATA_IP` with your Netdata instance IP/hostname
65 + - `NETDATA_MCP_API_KEY` with your Netdata MCP API key
66 +6. Save the file
67
68 ### Usage
69
@@ -105,9 +106,9 @@ Press `Ctrl+L` to open Continue chat, then:
106
107 1. Open Cline (Ctrl+Shift+P → "Cline: Open Chat")
108 2. Cline can autonomously:
108 - - Analyze performance issues
109 - - Create monitoring scripts
110 - - Debug based on metrics
109 + - Analyze performance issues
110 + - Create monitoring scripts
111 + - Debug based on metrics
112
113 Example:
114
@@ -126,7 +127,9 @@ Create `.vscode/settings.json` in your project:
127 "continue.mcpServers": {
128 "netdata-prod": {
129 "command": "/usr/sbin/nd-mcp",
129 - "args": ["ws://prod-parent:19999/mcp?api_key=PROD_NETDATA_MCP_API_KEY"]
130 + "args": [
131 + "ws://prod-parent:19999/mcp?api_key=PROD_NETDATA_MCP_API_KEY"
132 + ]
133 }
134 }
135 }
@@ -169,7 +172,10 @@ Add Netdata checks to tasks.json:
172 "label": "Check Production Metrics",
173 "type": "shell",
174 "command": "continue",
172 - "args": ["--ask", "@netdata show current system status"]
175 + "args": [
176 + "--ask",
177 + "@netdata show current system status"
178 + ]
179 }
180 ]
181 }
@@ -193,13 +199,13 @@ Create snippets that include metric checks:
199
200 ## Extension Comparison
201
196 -| Feature | Continue | Cline | Codeium | Copilot Chat |
197 -|---------|----------|-------|---------|--------------|
198 -| MCP Support | ✅ Full | ✅ Full | ❓ Check | ❓ Future |
199 -| Autonomous Actions | ❌ | ✅ | ❌ | ❌ |
200 -| Multiple Models | ✅ | ✅ | ❌ | ❌ |
201 -| Free Tier | ❌ | ❌ | ✅ | ❌ |
202 -| Open Source | ✅ | ✅ | ❌ | ❌ |
202 +| Feature | Continue | Cline | Codeium | Copilot Chat |
203 +|--------------------|----------|--------|---------|--------------|
204 +| MCP Support | ✅ Full | ✅ Full | ❓ Check | ❓ Future |
205 +| Autonomous Actions | ❌ | ✅ | ❌ | ❌ |
206 +| Multiple Models | ✅ | ✅ | ❌ | ❌ |
207 +| Free Tier | ❌ | ❌ | ✅ | ❌ |
208 +| Open Source | ✅ | ✅ | ❌ | ❌ |
209
210 ## Troubleshooting
211