@contextstream/mcp-server 0.3.28 → 0.3.30

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
@@ -38,6 +38,21 @@ No special syntax. No commands to learn. Just ask.
38
38
 
39
39
  ## Quickstart
40
40
 
41
+ ### Setup wizard (recommended)
42
+
43
+ This interactive wizard sets up authentication, installs editor rules, and writes MCP config files for the tools you select.
44
+
45
+ ```bash
46
+ npx -y @contextstream/mcp-server setup
47
+ ```
48
+
49
+ Notes:
50
+ - Uses browser/device login by default and creates an API key for you (stored locally in the config files it writes).
51
+ - Some tools still require UI/CLI-based MCP setup (the wizard will tell you when it can’t write a config).
52
+ - Preview changes without writing files: `npx -y @contextstream/mcp-server setup --dry-run`
53
+
54
+ ### Run the server
55
+
41
56
  Run directly (recommended for MCP configs):
42
57
 
43
58
  ```bash
@@ -53,9 +68,23 @@ contextstream-mcp
53
68
 
54
69
  ## Configure your MCP client
55
70
 
56
- ### Cursor / VS Code / Windsurf / Claude Desktop (JSON)
71
+ ### Manual setup
57
72
 
58
- Add to your MCP config:
73
+ If you ran the [setup wizard](#setup-wizard-recommended), you can usually skip this section.
74
+
75
+ If you prefer to configure things by hand (or your tool can’t be auto-configured), add the ContextStream MCP server to your client using one of the examples below.
76
+
77
+ ### Cursor / Windsurf / Claude Desktop (JSON)
78
+
79
+ These clients use the `mcpServers` JSON schema:
80
+
81
+ - Cursor: `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project)
82
+ - Windsurf: `~/.codeium/windsurf/mcp_config.json`
83
+ - Claude Desktop:
84
+ - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
85
+ - Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`
86
+
87
+ Many other MCP JSON clients also use this same `mcpServers` shape (including Claude Code project scope via `.mcp.json`).
59
88
 
60
89
  ```json
61
90
  {
@@ -72,6 +101,72 @@ Add to your MCP config:
72
101
  }
73
102
  ```
74
103
 
104
+ ### VS Code (`.vscode/mcp.json`)
105
+
106
+ VS Code uses a different schema with a top-level `servers` map:
107
+
108
+ ```json
109
+ {
110
+ "servers": {
111
+ "contextstream": {
112
+ "type": "stdio",
113
+ "command": "npx",
114
+ "args": ["-y", "@contextstream/mcp-server"],
115
+ "env": {
116
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
117
+ "CONTEXTSTREAM_API_KEY": "your_api_key"
118
+ }
119
+ }
120
+ }
121
+ }
122
+ ```
123
+
124
+ Strong recommendation: VS Code supports `inputs` so you don’t have to hardcode secrets in a committed file:
125
+
126
+ ```json
127
+ {
128
+ "servers": {
129
+ "contextstream": {
130
+ "type": "stdio",
131
+ "command": "npx",
132
+ "args": ["-y", "@contextstream/mcp-server"],
133
+ "env": {
134
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
135
+ "CONTEXTSTREAM_API_KEY": "${input:contextstreamApiKey}"
136
+ }
137
+ }
138
+ },
139
+ "inputs": [
140
+ {
141
+ "id": "contextstreamApiKey",
142
+ "type": "promptString",
143
+ "description": "ContextStream API Key",
144
+ "password": true
145
+ }
146
+ ]
147
+ }
148
+ ```
149
+
150
+ ### Claude Code (CLI)
151
+
152
+ User scope (all projects):
153
+
154
+ ```bash
155
+ claude mcp add --transport stdio contextstream --scope user \
156
+ --env CONTEXTSTREAM_API_URL=https://api.contextstream.io \
157
+ --env CONTEXTSTREAM_API_KEY=YOUR_KEY -- \
158
+ npx -y @contextstream/mcp-server
159
+ ```
160
+
161
+ Windows caveat (native Windows, not WSL): if `npx` isn’t found, use `cmd /c npx -y @contextstream/mcp-server` after `--`.
162
+
163
+ Alternative (JSON form):
164
+
165
+ ```bash
166
+ claude mcp add-json contextstream \
167
+ '{"type":"stdio","command":"npx","args":["-y","@contextstream/mcp-server"],"env":{"CONTEXTSTREAM_API_URL":"https://api.contextstream.io","CONTEXTSTREAM_API_KEY":"your_api_key"}}'
168
+ ```
169
+
75
170
  ### Codex CLI (`~/.codex/config.toml`)
76
171
 
77
172
  ```toml