@contextstream/mcp-server 0.4.66 → 0.4.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
  <div align="center">
25
25
 
26
26
  ```bash
27
- npx @contextstream/mcp-server@latest setup
27
+ npx --prefer-online -y @contextstream/mcp-server@latest setup
28
28
  ```
29
29
 
30
30
  </div>
@@ -35,6 +35,36 @@ npx @contextstream/mcp-server@latest setup
35
35
 
36
36
  ---
37
37
 
38
+ ## Get Started (VS Code + Copilot)
39
+
40
+ ### Option 1: Rust MCP (recommended)
41
+
42
+ ```bash
43
+ curl -fsSL https://contextstream.io/scripts/mcp.sh | bash
44
+ ```
45
+
46
+ ```powershell
47
+ irm https://contextstream.io/scripts/mcp.ps1 | iex
48
+ ```
49
+
50
+ Then run:
51
+
52
+ ```bash
53
+ contextstream-mcp setup
54
+ ```
55
+
56
+ ### Option 2: Node MCP
57
+
58
+ ```bash
59
+ npx --prefer-online -y @contextstream/mcp-server@latest setup
60
+ ```
61
+
62
+ After setup, restart VS Code/Copilot.
63
+
64
+ **Works with:** Claude Code • Cursor • VS Code • Claude Desktop • Codex CLI • OpenCode • Antigravity
65
+
66
+ ---
67
+
38
68
  ## This Isn't Just Memory. This Is Intelligence.
39
69
 
40
70
  Other tools give your AI a notepad. **ContextStream gives it a brain.**
@@ -76,18 +106,6 @@ Long conversation? ContextStream tracks token usage, auto-saves critical state,
76
106
 
77
107
  ---
78
108
 
79
- ## Setup Takes 30 Seconds
80
-
81
- ```bash
82
- npx @contextstream/mcp-server@latest setup
83
- ```
84
-
85
- The wizard handles everything: authentication, configuration, editor integration, and optional hooks that supercharge your workflow.
86
-
87
- **Works with:** Claude Code • Cursor • VS Code • Claude Desktop • Codex CLI • OpenCode • Antigravity
88
-
89
- ---
90
-
91
109
  ## The Tools Your AI Gets
92
110
 
93
111
  ```
@@ -114,8 +132,8 @@ Your AI uses these automatically. You just code.
114
132
  <summary><b>Claude Code</b></summary>
115
133
 
116
134
  ```bash
117
- claude mcp add contextstream -- npx @contextstream/mcp-server
118
- claude mcp update contextstream -e CONTEXTSTREAM_API_KEY=your_key
135
+ claude mcp add contextstream -- npx --prefer-online -y @contextstream/mcp-server@latest
136
+ claude mcp update contextstream -e CONTEXTSTREAM_API_URL=https://api.contextstream.io -e CONTEXTSTREAM_API_KEY=your_key
119
137
  ```
120
138
 
121
139
  </details>
@@ -128,8 +146,11 @@ claude mcp update contextstream -e CONTEXTSTREAM_API_KEY=your_key
128
146
  "mcpServers": {
129
147
  "contextstream": {
130
148
  "command": "npx",
131
- "args": ["-y", "@contextstream/mcp-server"],
132
- "env": { "CONTEXTSTREAM_API_KEY": "your_key" }
149
+ "args": ["--prefer-online", "-y", "@contextstream/mcp-server@latest"],
150
+ "env": {
151
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
152
+ "CONTEXTSTREAM_API_KEY": "your_key"
153
+ }
133
154
  }
134
155
  }
135
156
  }
@@ -184,14 +205,39 @@ For the local variant, export `CONTEXTSTREAM_API_KEY` before launching OpenCode.
184
205
  <details>
185
206
  <summary><b>VS Code</b></summary>
186
207
 
208
+ For GitHub Copilot in VS Code, use project-level MCP at `.vscode/mcp.json`.
209
+
210
+ **Rust MCP (recommended)**
211
+
212
+ ```json
213
+ {
214
+ "servers": {
215
+ "contextstream": {
216
+ "type": "stdio",
217
+ "command": "contextstream-mcp",
218
+ "args": [],
219
+ "env": {
220
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
221
+ "CONTEXTSTREAM_API_KEY": "your_key"
222
+ }
223
+ }
224
+ }
225
+ }
226
+ ```
227
+
228
+ **Node MCP server**
229
+
187
230
  ```json
188
231
  {
189
232
  "servers": {
190
233
  "contextstream": {
191
234
  "type": "stdio",
192
235
  "command": "npx",
193
- "args": ["-y", "@contextstream/mcp-server"],
194
- "env": { "CONTEXTSTREAM_API_KEY": "your_key" }
236
+ "args": ["--prefer-online", "-y", "@contextstream/mcp-server@latest"],
237
+ "env": {
238
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
239
+ "CONTEXTSTREAM_API_KEY": "your_key"
240
+ }
195
241
  }
196
242
  }
197
243
  }
@@ -208,15 +254,37 @@ Use the Copilot CLI to interactively add the MCP server:
208
254
  /mcp add
209
255
  ```
210
256
 
211
- Or add to `~/.copilot/mcp-config.json`:
257
+ Or add to `~/.copilot/mcp-config.json` (pick one runtime):
258
+
259
+ **Rust MCP (recommended)**
260
+
261
+ ```json
262
+ {
263
+ "mcpServers": {
264
+ "contextstream": {
265
+ "command": "contextstream-mcp",
266
+ "args": [],
267
+ "env": {
268
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
269
+ "CONTEXTSTREAM_API_KEY": "your_key"
270
+ }
271
+ }
272
+ }
273
+ }
274
+ ```
275
+
276
+ **Node MCP server**
212
277
 
213
278
  ```json
214
279
  {
215
280
  "mcpServers": {
216
281
  "contextstream": {
217
282
  "command": "npx",
218
- "args": ["-y", "@contextstream/mcp-server"],
219
- "env": { "CONTEXTSTREAM_API_KEY": "your_key" }
283
+ "args": ["--prefer-online", "-y", "@contextstream/mcp-server@latest"],
284
+ "env": {
285
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
286
+ "CONTEXTSTREAM_API_KEY": "your_key"
287
+ }
220
288
  }
221
289
  }
222
290
  }
@@ -228,6 +296,28 @@ For more information, see the [GitHub Copilot CLI documentation](https://docs.gi
228
296
 
229
297
  ---
230
298
 
299
+ ## VS Code + Copilot Tips
300
+
301
+ - Run setup once and keep both config files:
302
+ - `~/.copilot/mcp-config.json`
303
+ - `.vscode/mcp.json`
304
+ - Rust install: use `contextstream-mcp` as the command.
305
+ - Node install: use `npx --prefer-online -y @contextstream/mcp-server@latest` as the command.
306
+ - Use `mcpServers` in Copilot CLI config and `servers` in VS Code config.
307
+
308
+ ## Quick Troubleshooting
309
+
310
+ - Remove duplicate ContextStream entries across Workspace/User config scopes.
311
+ - Check `CONTEXTSTREAM_API_URL` and `CONTEXTSTREAM_API_KEY` are set.
312
+ - Remove stale version pins like `@contextstream/mcp-server@0.3.xx`.
313
+ - Restart VS Code/Copilot after config changes.
314
+
315
+ ## Marketplace Note
316
+
317
+ Marketplace npm installs can pin Node MCP versions and do not run external bootstrap scripts (`curl ... | bash` / `irm ... | iex`). Use the Rust install command directly when you want the Rust runtime.
318
+
319
+ ---
320
+
231
321
  ## Links
232
322
 
233
323
  **Website:** https://contextstream.io