@contextstream/mcp-server 1.0.6 → 1.0.8
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 +77 -227
- package/package.json +9 -2
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -1,286 +1,136 @@
|
|
|
1
1
|
<!-- mcp-name: io.github.contextstream/mcp-server -->
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<img src="assets/contextstream-logo.png" alt="ContextStream" width="
|
|
4
|
+
<img src="assets/contextstream-logo.png" alt="ContextStream" width="64" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<h1 align="center">ContextStream MCP Server</h1>
|
|
8
8
|
|
|
9
|
-
<p align="center">
|
|
10
|
-
<em>Intelligence without context is unreliable. Autonomy without context is chaos.<br/>
|
|
11
|
-
And context without trust becomes surveillance.</em>
|
|
12
|
-
</p>
|
|
9
|
+
<p align="center"><strong>Persistent memory. Millisecond code search.</strong></p>
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
<strong>Give every coding agent persistent memory, semantic code search, and the right project context on every turn.</strong>
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
<p align="center">
|
|
19
|
-
Works with Claude Code, Cursor, VS Code + Copilot, Windsurf, Cline, Roo Code, Kilo Code, Codex, OpenCode, Aider, Antigravity, and other MCP clients.
|
|
20
|
-
</p>
|
|
11
|
+
## Your agent knows code. Give it the decisions behind yours.
|
|
21
12
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<a href="https://github.com/contextstream/mcp-server/releases/latest"><img src="https://img.shields.io/github/v/release/contextstream/mcp-server" alt="latest release" /></a>
|
|
25
|
-
<a href="https://github.com/contextstream/mcp-server/actions/workflows/ci.yml"><img src="https://github.com/contextstream/mcp-server/actions/workflows/ci.yml/badge.svg" alt="CI status" /></a>
|
|
26
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT license" /></a>
|
|
27
|
-
</p>
|
|
13
|
+
Connect your code, docs, and conversations so your agents can find the right
|
|
14
|
+
files, recall saved decisions, and build on past work across sessions and tools.
|
|
28
15
|
|
|
29
|
-
<
|
|
30
|
-
<a href="#install-in-30-seconds"><strong>Install in 30 seconds</strong></a> ·
|
|
31
|
-
<a href="https://contextstream.io/benchmarks">Benchmarks</a> ·
|
|
32
|
-
<a href="https://contextstream.io/docs/mcp">Documentation</a> ·
|
|
33
|
-
<a href="https://contextstream.io/signup">Start free</a>
|
|
34
|
-
</p>
|
|
16
|
+
<a id="install-in-30-seconds"></a>
|
|
35
17
|
|
|
36
|
-
|
|
18
|
+
## Start free with MCP
|
|
37
19
|
|
|
38
|
-
|
|
39
|
-
or repeat last week's mistake every time a chat starts. ContextStream gives MCP
|
|
40
|
-
clients a shared context layer that remembers decisions and lessons, searches
|
|
41
|
-
code by meaning, maps dependencies, and restores the thread after compaction.
|
|
20
|
+
**10,000 monthly credits. No credit card required.**
|
|
42
21
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
`https://mcp.contextstream.io/mcp`; a small local helper keeps explicitly linked
|
|
46
|
-
checkouts in sync.
|
|
22
|
+
Works with Claude Code, Cursor, Codex, and other supported MCP clients.
|
|
23
|
+
Create your account or sign in during MCP onboarding. No separate website signup needed.
|
|
47
24
|
|
|
48
|
-
|
|
25
|
+
**macOS and Linux**
|
|
49
26
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
2026.
|
|
27
|
+
```sh
|
|
28
|
+
bash -o pipefail -c 'curl -fsSL https://contextstream.io/scripts/mcp.sh | bash'
|
|
29
|
+
```
|
|
54
30
|
|
|
55
|
-
|
|
56
|
-
|---|---:|---|
|
|
57
|
-
| **LongMemEval-S** | **90.0%** | 450/500 correct on the full suite; ~115k-token multi-session histories; official pinned GPT-4o judge; `gpt-5.5` reader with self-consistency `k=3` (89.6% single-shot); Wilson 95% CI [87.1%, 92.3%] |
|
|
58
|
-
| **Pinned-repo code search** | **99.38% Recall@10** | 93.83% Primary@10 and 95 ms successful-response p50 over 177 judged-valid queries, averaged across two cold and two warm runs; 0/708 failed requests; no local checkout |
|
|
59
|
-
| **Agentic project memory** | **96% task success** | Up from 58% without the memory layer; one repository, one agent model, three trials per cell, so this result is directional |
|
|
31
|
+
**Windows PowerShell**
|
|
60
32
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
private same-run head-to-head.
|
|
33
|
+
```powershell
|
|
34
|
+
irm https://contextstream.io/scripts/mcp.ps1 | iex
|
|
35
|
+
```
|
|
65
36
|
|
|
66
|
-
|
|
37
|
+
Paste the command into your terminal and follow onboarding to connect your
|
|
38
|
+
project and supported editor. Restart your editor after setup.
|
|
67
39
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
40
|
+
[What gets installed and indexed?](docs/data-handling.md) ·
|
|
41
|
+
[Setup guide](https://contextstream.io/docs/editors/setup) ·
|
|
42
|
+
[Prefer to start on the web?](https://contextstream.io/signup)
|
|
71
43
|
|
|
72
|
-
##
|
|
44
|
+
## Make the next session useful
|
|
73
45
|
|
|
74
|
-
|
|
75
|
-
release and launches the guided setup wizard.
|
|
46
|
+
Ask your connected agent:
|
|
76
47
|
|
|
77
|
-
|
|
48
|
+
> Use ContextStream to find the files relevant to my next change. Cite the
|
|
49
|
+
> sources and retrieve any saved project decisions that should guide the work.
|
|
78
50
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
51
|
+
Then ask it to save a real decision and its reason. Start a new session and
|
|
52
|
+
retrieve that decision without explaining it again. Indexing supplies code
|
|
53
|
+
context; it cannot recover every undocumented decision.
|
|
82
54
|
|
|
83
|
-
|
|
84
|
-
ARM64 and x64.
|
|
55
|
+
## Proof and data controls
|
|
85
56
|
|
|
86
|
-
|
|
57
|
+
**95 ms median code search in our published benchmark.** This is the measured
|
|
58
|
+
successful-response median for the disclosed configuration, not a latency guarantee.
|
|
59
|
+
[See results, methodology, and limitations](https://contextstream.io/benchmarks).
|
|
87
60
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
61
|
+
**Scoped access. Traceable sources. Configurable capture.**
|
|
62
|
+
Indexing sends eligible source contents to ContextStream for hosted search.
|
|
63
|
+
Transcript saving and local Git metadata capture are on by default and can be
|
|
64
|
+
turned off. Review [data handling and controls](docs/data-handling.md) before
|
|
65
|
+
connecting sensitive projects.
|
|
91
66
|
|
|
92
|
-
|
|
93
|
-
|
|
67
|
+
<details>
|
|
68
|
+
<summary><strong>Other installation options and troubleshooting</strong></summary>
|
|
94
69
|
|
|
95
|
-
### npm
|
|
70
|
+
### npm (Node.js 20+)
|
|
96
71
|
|
|
97
72
|
```bash
|
|
98
73
|
npx -y @contextstream/mcp-server@latest setup
|
|
99
74
|
```
|
|
100
75
|
|
|
101
|
-
The
|
|
102
|
-
|
|
103
|
-
the Rust binary. It supports macOS ARM64/x64, Linux ARM64/x64, and Windows x64.
|
|
76
|
+
The npm launcher downloads the native Rust binary for your platform and verifies
|
|
77
|
+
its SHA-256 checksum. Pin an exact package version for production automation.
|
|
104
78
|
|
|
105
|
-
###
|
|
79
|
+
### Hosted MCP without a local process
|
|
106
80
|
|
|
107
|
-
|
|
108
|
-
configuration and managed rules, installs lifecycle hooks where supported,
|
|
109
|
-
links the exact project folder you choose, starts indexing, and checks the
|
|
110
|
-
result. You review the choices before it makes changes.
|
|
81
|
+
For clients supporting Streamable HTTP and OAuth, the hosted endpoint is:
|
|
111
82
|
|
|
112
|
-
|
|
83
|
+
```text
|
|
84
|
+
https://mcp.contextstream.io/mcp
|
|
85
|
+
```
|
|
113
86
|
|
|
114
|
-
|
|
115
|
-
|
|
87
|
+
Use the [MCP documentation](https://contextstream.io/docs/mcp) for your client's
|
|
88
|
+
configuration and stdio alternatives. A hosted connection alone does not sync
|
|
89
|
+
your local checkout.
|
|
116
90
|
|
|
117
|
-
|
|
91
|
+
### Preview or diagnose setup
|
|
118
92
|
|
|
119
93
|
```bash
|
|
120
94
|
contextstream-mcp setup --dry-run
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Already configured and troubleshooting? Run:
|
|
124
|
-
|
|
125
|
-
```bash
|
|
126
95
|
contextstream-mcp doctor --scope=all --only-configured
|
|
127
96
|
```
|
|
128
97
|
|
|
129
|
-
|
|
98
|
+
### Scripted and CI setup
|
|
130
99
|
|
|
131
|
-
|
|
132
|
-
|
|
100
|
+
`pipefail` makes the install command fail when the download fails, instead of
|
|
101
|
+
reporting success after installing nothing. `setup --yes` reads the key from
|
|
102
|
+
`CONTEXTSTREAM_API_KEY` or saved credentials, and needs `--workspace-id` when
|
|
103
|
+
the account has more than one workspace:
|
|
133
104
|
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"contextstream": {
|
|
138
|
-
"type": "http",
|
|
139
|
-
"url": "https://mcp.contextstream.io/mcp"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
Some clients use a different root key or config format, which is why the setup
|
|
146
|
-
wizard is the easiest path. The hosted gateway is the default; the installed
|
|
147
|
-
helper only syncs the local checkouts you explicitly link.
|
|
148
|
-
|
|
149
|
-
Clients that require stdio can use the verified npm launcher:
|
|
150
|
-
|
|
151
|
-
```json
|
|
152
|
-
{
|
|
153
|
-
"mcpServers": {
|
|
154
|
-
"contextstream": {
|
|
155
|
-
"command": "npx",
|
|
156
|
-
"args": ["-y", "@contextstream/mcp-server@latest"],
|
|
157
|
-
"env": {
|
|
158
|
-
"CONTEXTSTREAM_API_KEY": "your-api-key"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
105
|
+
```bash
|
|
106
|
+
export CONTEXTSTREAM_API_KEY=... # or: printf %s "$KEY" | contextstream-mcp configure --api-key-stdin
|
|
107
|
+
contextstream-mcp setup --yes --editors=claude --workspace-id=<UUID> --project-path=.
|
|
163
108
|
```
|
|
164
109
|
|
|
165
|
-
|
|
166
|
-
`latest`.
|
|
167
|
-
|
|
168
|
-
## What your agent gets
|
|
110
|
+
</details>
|
|
169
111
|
|
|
170
|
-
|
|
171
|
-
|---|---|
|
|
172
|
-
| **Grounded context** | Each turn starts with the relevant workspace rules, prior decisions, lessons, and current project state. |
|
|
173
|
-
| **Semantic code search** | Find implementations by intent, with hybrid, keyword, pattern, exhaustive, and refactor-aware modes when precision matters. |
|
|
174
|
-
| **Durable memory** | Decisions, plans, tasks, runbooks, preferences, and session transcripts remain queryable across chats and tools. |
|
|
175
|
-
| **Compaction survival** | Important state is checkpointed before long conversations compact and restored afterward. |
|
|
176
|
-
| **Dependency intelligence** | Trace blast radius, dependencies, circular imports, complexity, and unused code without manually rebuilding the graph. |
|
|
177
|
-
| **Agent handoffs** | Package verified state and next steps into durable handoffs and portable ContextCapsules. |
|
|
178
|
-
| **Team context** | Bring shared workspace knowledge and supported GitHub, Slack, and Notion context into the same MCP surface. |
|
|
112
|
+
## Open source and contributing
|
|
179
113
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
## Supported editors and agents
|
|
186
|
-
|
|
187
|
-
The wizard currently detects and configures:
|
|
188
|
-
|
|
189
|
-
- Claude Code
|
|
190
|
-
- Cursor
|
|
191
|
-
- Windsurf
|
|
192
|
-
- VS Code + GitHub Copilot
|
|
193
|
-
- Cline
|
|
194
|
-
- Kilo Code
|
|
195
|
-
- Roo Code
|
|
196
|
-
- OpenAI Codex
|
|
197
|
-
- Aider
|
|
198
|
-
- Antigravity
|
|
199
|
-
- OpenCode
|
|
200
|
-
|
|
201
|
-
Anything else that speaks the Model Context Protocol can connect to the hosted
|
|
202
|
-
URL or use the stdio launcher.
|
|
203
|
-
|
|
204
|
-
## What is open source?
|
|
205
|
-
|
|
206
|
-
This repository contains the canonical Rust MCP server, protocol types, client
|
|
207
|
-
and session layers, editor setup, hooks, public transport code, release
|
|
208
|
-
automation, and the MongoDB-free acceleration foundation. It builds as seven
|
|
209
|
-
workspace crates:
|
|
210
|
-
|
|
211
|
-
- `mcp-server`
|
|
212
|
-
- `mcp-tools`
|
|
213
|
-
- `mcp-client`
|
|
214
|
-
- `mcp-session`
|
|
215
|
-
- `mcp-types`
|
|
216
|
-
- `mcp-model-registry`
|
|
217
|
-
- `mcp-acceleration-products`
|
|
218
|
-
|
|
219
|
-
The hosted backend, credentials, production deployment configuration, and
|
|
220
|
-
premium provider implementations are not included. Public-build compatibility
|
|
221
|
-
traits remain no-op so the core protocol surface stays stable. See
|
|
222
|
-
[`docs/architecture.md`](docs/architecture.md) for the boundary.
|
|
223
|
-
|
|
224
|
-
## Privacy and data controls
|
|
225
|
-
|
|
226
|
-
Setup shows a disclosure before changing editor configuration or indexing a
|
|
227
|
-
project. You choose the folder and workspace relationship; only matching source
|
|
228
|
-
files from a validated project can be indexed. Transcript capture, local Git
|
|
229
|
-
metadata capture, ignore rules, kill switches, retention behavior, and deletion
|
|
230
|
-
paths are documented in [`docs/data-handling.md`](docs/data-handling.md).
|
|
231
|
-
|
|
232
|
-
Review that document before using `setup --yes` in automation. The CLI also
|
|
233
|
-
provides `--dry-run` for setup, repair, migration, and uninstall workflows.
|
|
234
|
-
|
|
235
|
-
## Build and test from source
|
|
236
|
-
|
|
237
|
-
The workspace uses the Rust toolchain pinned in `rust-toolchain.toml`.
|
|
114
|
+
This repository contains the MIT-licensed Rust MCP server, client, editor setup,
|
|
115
|
+
and release tooling. The hosted backend is separate and is not included here.
|
|
116
|
+
See the [architecture](docs/architecture.md), [release integrity](docs/release.md),
|
|
117
|
+
and [latest release](https://github.com/contextstream/mcp-server/releases/latest).
|
|
238
118
|
|
|
239
119
|
```bash
|
|
240
120
|
cargo build --locked -p mcp-server --bin contextstream-mcp
|
|
241
121
|
cargo test --locked --workspace
|
|
242
|
-
cargo bench --locked -p mcp-server
|
|
243
122
|
```
|
|
244
123
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
--features remote-acceleration
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
## Release integrity
|
|
253
|
-
|
|
254
|
-
Every release publishes native binaries, `checksums.txt`, `version.json`, and
|
|
255
|
-
an SPDX SBOM. The npm launcher downloads only from the immutable path for its
|
|
256
|
-
exact package version, verifies manifests and binary SHA-256, uses an atomic
|
|
257
|
-
versioned cache, and supports verified offline reuse with
|
|
258
|
-
`CONTEXTSTREAM_MCP_OFFLINE=1`.
|
|
259
|
-
|
|
260
|
-
See [`docs/release.md`](docs/release.md) for the release contract and
|
|
261
|
-
[the latest GitHub release](https://github.com/contextstream/mcp-server/releases/latest)
|
|
262
|
-
for artifacts.
|
|
263
|
-
|
|
264
|
-
All 1.x npm releases preserve these executable aliases:
|
|
265
|
-
|
|
266
|
-
- `mcp-server`
|
|
267
|
-
- `contextstream-mcp`
|
|
268
|
-
- `contextstream-hook` (forwards to the Rust `hook` subcommand)
|
|
269
|
-
|
|
270
|
-
## Contributing and security
|
|
271
|
-
|
|
272
|
-
Issues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md),
|
|
273
|
-
[SECURITY.md](SECURITY.md), and [GOVERNANCE.md](GOVERNANCE.md). Contributions
|
|
274
|
-
must include the Developer Certificate of Origin sign-off (`git commit -s`).
|
|
275
|
-
|
|
276
|
-
The code is MIT licensed. ContextStream trademarks and the hosted-service
|
|
277
|
-
boundary are described in [NOTICE](NOTICE).
|
|
124
|
+
Use the pinned Rust toolchain. For contribution checks and commit sign-off, read
|
|
125
|
+
[CONTRIBUTING.md](CONTRIBUTING.md). Report vulnerabilities using
|
|
126
|
+
[SECURITY.md](SECURITY.md). See [LICENSE](LICENSE), [NOTICE](NOTICE), and
|
|
127
|
+
[GOVERNANCE.md](GOVERNANCE.md) for licensing, trademarks, and project governance.
|
|
278
128
|
|
|
279
129
|
---
|
|
280
130
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
131
|
+
**Let humans be human.**
|
|
132
|
+
|
|
133
|
+
[Docs](https://contextstream.io/docs/mcp) ·
|
|
134
|
+
[Pricing](https://contextstream.io/pricing) ·
|
|
135
|
+
[Integrations](https://contextstream.io/integrations) ·
|
|
136
|
+
[Benchmarks](https://contextstream.io/benchmarks)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contextstream/mcp-server",
|
|
3
3
|
"mcpName": "io.github.contextstream/mcp-server",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"description": "Verified npm launcher for the open-source ContextStream Rust MCP server",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,6 +45,13 @@
|
|
|
45
45
|
"contextstream",
|
|
46
46
|
"semantic-search",
|
|
47
47
|
"memory",
|
|
48
|
-
"developer-tools"
|
|
48
|
+
"developer-tools",
|
|
49
|
+
"cursor",
|
|
50
|
+
"claude-code",
|
|
51
|
+
"codex",
|
|
52
|
+
"shared-context",
|
|
53
|
+
"project-context",
|
|
54
|
+
"mcp-server",
|
|
55
|
+
"ai-coding"
|
|
49
56
|
]
|
|
50
57
|
}
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.contextstream/mcp-server",
|
|
4
4
|
"title": "ContextStream MCP Server",
|
|
5
5
|
"description": "Project memory, semantic code search, and grounded agent context.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.8",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/contextstream/mcp-server",
|
|
9
9
|
"source": "github"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"registryType": "npm",
|
|
21
21
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
22
22
|
"identifier": "@contextstream/mcp-server",
|
|
23
|
-
"version": "1.0.
|
|
23
|
+
"version": "1.0.8",
|
|
24
24
|
"transport": {
|
|
25
25
|
"type": "stdio"
|
|
26
26
|
},
|