@contextstream/mcp-server 0.2.6 → 0.2.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 +14 -26
- package/package.json +1 -1
- package/.env.example +0 -5
- package/src/client.ts +0 -764
- package/src/config.ts +0 -36
- package/src/files.ts +0 -261
- package/src/http.ts +0 -154
- package/src/index.ts +0 -38
- package/src/prompts.ts +0 -308
- package/src/resources.ts +0 -49
- package/src/tools.ts +0 -1040
- package/src/workspace-config.ts +0 -150
- package/tsconfig.json +0 -14
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# ContextStream MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@contextstream/mcp-server)
|
|
4
|
+
|
|
5
|
+
A powerful Model Context Protocol (MCP) server that provides persistent memory, code context, knowledge graphs, and AI tools. Connect your AI assistant to your codebase's semantic search, memory system, and dependency analysis.
|
|
6
|
+
|
|
7
|
+
**Website:** [contextstream.io](https://contextstream.io) | **Docs:** [contextstream.io/docs/mcp](https://contextstream.io/docs/mcp)
|
|
4
8
|
|
|
5
9
|
## Features
|
|
6
10
|
|
|
@@ -39,7 +43,7 @@ Add ContextStream to your AI tool's MCP configuration:
|
|
|
39
43
|
"mcpServers": {
|
|
40
44
|
"contextstream": {
|
|
41
45
|
"command": "npx",
|
|
42
|
-
"args": ["@contextstream/mcp-server"],
|
|
46
|
+
"args": ["-y", "@contextstream/mcp-server"],
|
|
43
47
|
"env": {
|
|
44
48
|
"CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
|
|
45
49
|
"CONTEXTSTREAM_API_KEY": "your_api_key"
|
|
@@ -55,7 +59,7 @@ Add ContextStream to your AI tool's MCP configuration:
|
|
|
55
59
|
"mcpServers": {
|
|
56
60
|
"contextstream": {
|
|
57
61
|
"command": "npx",
|
|
58
|
-
"args": ["@contextstream/mcp-server"],
|
|
62
|
+
"args": ["-y", "@contextstream/mcp-server"],
|
|
59
63
|
"env": {
|
|
60
64
|
"CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
|
|
61
65
|
"CONTEXTSTREAM_API_KEY": "your_api_key"
|
|
@@ -71,7 +75,7 @@ Add ContextStream to your AI tool's MCP configuration:
|
|
|
71
75
|
"mcpServers": {
|
|
72
76
|
"contextstream": {
|
|
73
77
|
"command": "npx",
|
|
74
|
-
"args": ["@contextstream/mcp-server"],
|
|
78
|
+
"args": ["-y", "@contextstream/mcp-server"],
|
|
75
79
|
"env": {
|
|
76
80
|
"CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
|
|
77
81
|
"CONTEXTSTREAM_API_KEY": "your_api_key"
|
|
@@ -217,28 +221,6 @@ Pre-built prompts for common workflows:
|
|
|
217
221
|
| `contextstream:workspaces` | Workspace listing |
|
|
218
222
|
| `contextstream:projects/{id}` | Projects for workspace |
|
|
219
223
|
|
|
220
|
-
## Scripts
|
|
221
|
-
|
|
222
|
-
```bash
|
|
223
|
-
npm run dev # Run with tsx (development)
|
|
224
|
-
npm run build # Compile TypeScript
|
|
225
|
-
npm start # Run compiled version
|
|
226
|
-
npm run typecheck # Type check without emit
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
## Architecture
|
|
230
|
-
|
|
231
|
-
```
|
|
232
|
-
src/
|
|
233
|
-
├── index.ts # Server bootstrap
|
|
234
|
-
├── config.ts # Environment configuration
|
|
235
|
-
├── http.ts # HTTP client with retries
|
|
236
|
-
├── client.ts # ContextStream API client
|
|
237
|
-
├── tools.ts # MCP tools (55+ tools)
|
|
238
|
-
├── resources.ts # MCP resources
|
|
239
|
-
└── prompts.ts # MCP prompts (8 workflows)
|
|
240
|
-
```
|
|
241
|
-
|
|
242
224
|
## Error Handling
|
|
243
225
|
|
|
244
226
|
The client includes:
|
|
@@ -254,6 +236,12 @@ The client includes:
|
|
|
254
236
|
- Minimal logging — credentials are not echoed
|
|
255
237
|
- Public REST API only — no proprietary logic included
|
|
256
238
|
|
|
239
|
+
## Links
|
|
240
|
+
|
|
241
|
+
- **Website:** [contextstream.io](https://contextstream.io)
|
|
242
|
+
- **Documentation:** [contextstream.io/docs](https://contextstream.io/docs)
|
|
243
|
+
- **MCP Setup Guide:** [contextstream.io/docs/mcp](https://contextstream.io/docs/mcp)
|
|
244
|
+
|
|
257
245
|
## License
|
|
258
246
|
|
|
259
247
|
MIT
|
package/package.json
CHANGED