@contextstream/mcp-server 0.2.5 → 0.2.7

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
@@ -1,6 +1,10 @@
1
1
  # ContextStream MCP Server
2
2
 
3
- A powerful Model Context Protocol (MCP) server that provides code context, memory, knowledge graphs, and AI tools for developers. Connect your AI assistant to your codebase's semantic search, memory system, and dependency analysis.
3
+ [![npm version](https://badge.fury.io/js/@contextstream%2Fmcp-server.svg)](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
 
@@ -29,62 +33,66 @@ A powerful Model Context Protocol (MCP) server that provides code context, memor
29
33
  - **Plan generation** — AI-powered development planning
30
34
  - **Task generation** — Break down work into actionable tasks
31
35
 
32
- ## Quickstart
36
+ ## Installation
33
37
 
34
- ```bash
35
- cd mcp/contextstream-mcp
36
- cp .env.example .env # Edit with your API details
37
- npm install
38
- npm run dev # Start MCP server (stdio)
39
- ```
38
+ Add ContextStream to your AI tool's MCP configuration:
40
39
 
41
- ## Client Configuration
40
+ ### Cursor / VS Code
41
+ ```json
42
+ {
43
+ "mcpServers": {
44
+ "contextstream": {
45
+ "command": "npx",
46
+ "args": ["@contextstream/mcp-server"],
47
+ "env": {
48
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
49
+ "CONTEXTSTREAM_API_KEY": "your_api_key"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ ```
42
55
 
43
- ### Cursor / VS Code MCP
56
+ ### Claude Code
44
57
  ```json
45
58
  {
46
59
  "mcpServers": {
47
60
  "contextstream": {
48
- "command": "npm",
49
- "args": ["run", "dev"],
50
- "cwd": "/path/to/contextstream/mcp/contextstream-mcp",
61
+ "command": "npx",
62
+ "args": ["@contextstream/mcp-server"],
51
63
  "env": {
52
- "CONTEXTSTREAM_API_URL": "http://localhost:3001/api/v1",
53
- "CONTEXTSTREAM_API_KEY": "your-api-key",
54
- "CONTEXTSTREAM_WORKSPACE_ID": "optional-default-workspace-uuid",
55
- "CONTEXTSTREAM_PROJECT_ID": "optional-default-project-uuid"
64
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
65
+ "CONTEXTSTREAM_API_KEY": "your_api_key"
56
66
  }
57
67
  }
58
68
  }
59
69
  }
60
70
  ```
61
71
 
62
- ### Claude Desktop
72
+ ### Windsurf
63
73
  ```json
64
74
  {
65
75
  "mcpServers": {
66
76
  "contextstream": {
67
- "command": "node",
68
- "args": ["/path/to/contextstream/mcp/contextstream-mcp/dist/index.js"],
77
+ "command": "npx",
78
+ "args": ["@contextstream/mcp-server"],
69
79
  "env": {
70
- "CONTEXTSTREAM_API_URL": "http://localhost:3001/api/v1",
71
- "CONTEXTSTREAM_API_KEY": "your-api-key"
80
+ "CONTEXTSTREAM_API_URL": "https://api.contextstream.io",
81
+ "CONTEXTSTREAM_API_KEY": "your_api_key"
72
82
  }
73
83
  }
74
84
  }
75
85
  }
76
86
  ```
77
87
 
88
+ Get your API key at [contextstream.io](https://contextstream.io)
89
+
78
90
  ## Environment Variables
79
91
 
80
92
  | Variable | Required | Description |
81
93
  |----------|----------|-------------|
82
- | `CONTEXTSTREAM_API_URL` | Yes | API base URL (e.g., `http://localhost:3001/api/v1`) |
83
- | `CONTEXTSTREAM_API_KEY` | One of | API key for authentication |
84
- | `CONTEXTSTREAM_JWT` | One of | JWT token for authentication |
85
- | `CONTEXTSTREAM_WORKSPACE_ID` | No | Default workspace for operations |
86
- | `CONTEXTSTREAM_PROJECT_ID` | No | Default project for operations |
87
- | `CONTEXTSTREAM_USER_AGENT` | No | Custom user agent string |
94
+ | `CONTEXTSTREAM_API_URL` | Yes | API base URL (`https://api.contextstream.io`) |
95
+ | `CONTEXTSTREAM_API_KEY` | Yes | Your API key from contextstream.io |
88
96
 
89
97
  ## Available Tools
90
98
 
@@ -213,28 +221,6 @@ Pre-built prompts for common workflows:
213
221
  | `contextstream:workspaces` | Workspace listing |
214
222
  | `contextstream:projects/{id}` | Projects for workspace |
215
223
 
216
- ## Scripts
217
-
218
- ```bash
219
- npm run dev # Run with tsx (development)
220
- npm run build # Compile TypeScript
221
- npm start # Run compiled version
222
- npm run typecheck # Type check without emit
223
- ```
224
-
225
- ## Architecture
226
-
227
- ```
228
- src/
229
- ├── index.ts # Server bootstrap
230
- ├── config.ts # Environment configuration
231
- ├── http.ts # HTTP client with retries
232
- ├── client.ts # ContextStream API client
233
- ├── tools.ts # MCP tools (55+ tools)
234
- ├── resources.ts # MCP resources
235
- └── prompts.ts # MCP prompts (8 workflows)
236
- ```
237
-
238
224
  ## Error Handling
239
225
 
240
226
  The client includes:
@@ -250,6 +236,12 @@ The client includes:
250
236
  - Minimal logging — credentials are not echoed
251
237
  - Public REST API only — no proprietary logic included
252
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
+
253
245
  ## License
254
246
 
255
247
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "MCP server exposing ContextStream public API - code context, memory, search, and AI tools for developers",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/.env.example DELETED
@@ -1,5 +0,0 @@
1
- CONTEXTSTREAM_API_URL=http://localhost:8085/api/v1
2
- CONTEXTSTREAM_API_KEY=
3
- # CONTEXTSTREAM_JWT=
4
- # CONTEXTSTREAM_WORKSPACE_ID=
5
- # CONTEXTSTREAM_PROJECT_ID=