@asd412id/mcp-context-manager 1.0.1 → 1.0.2
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 +78 -33
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,23 +42,23 @@ npm install -g @asd412id/mcp-context-manager
|
|
|
42
42
|
}
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
### VS Code (Copilot / Claude Extension)
|
|
45
|
+
### VS Code (GitHub Copilot / Claude Extension)
|
|
46
46
|
|
|
47
|
-
**
|
|
47
|
+
**Option 1: Workspace config** - `.vscode/mcp.json`
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
51
|
"servers": {
|
|
52
52
|
"context-manager": {
|
|
53
|
+
"type": "stdio",
|
|
53
54
|
"command": "npx",
|
|
54
|
-
"args": ["-y", "@asd412id/mcp-context-manager"]
|
|
55
|
-
"type": "stdio"
|
|
55
|
+
"args": ["-y", "@asd412id/mcp-context-manager"]
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
**Option 2: User settings** - `settings.json`
|
|
62
62
|
|
|
63
63
|
```json
|
|
64
64
|
{
|
|
@@ -92,9 +92,9 @@ Or in **VS Code Settings** (`settings.json`):
|
|
|
92
92
|
### Windsurf
|
|
93
93
|
|
|
94
94
|
**Config file location:**
|
|
95
|
-
- **Windows:** `%
|
|
96
|
-
- **macOS:**
|
|
97
|
-
- **Linux:** `~/.
|
|
95
|
+
- **Windows:** `%USERPROFILE%\.codeium\windsurf\mcp_config.json`
|
|
96
|
+
- **macOS:** `~/.codeium/windsurf/mcp_config.json`
|
|
97
|
+
- **Linux:** `~/.codeium/windsurf/mcp_config.json`
|
|
98
98
|
|
|
99
99
|
```json
|
|
100
100
|
{
|
|
@@ -109,49 +109,63 @@ Or in **VS Code Settings** (`settings.json`):
|
|
|
109
109
|
|
|
110
110
|
### Cline (VS Code Extension)
|
|
111
111
|
|
|
112
|
-
**Config file:**
|
|
112
|
+
**Config file location:**
|
|
113
|
+
- **Windows:** `%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json`
|
|
114
|
+
- **macOS:** `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
|
|
115
|
+
- **Linux:** `~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
|
|
113
116
|
|
|
114
117
|
```json
|
|
115
118
|
{
|
|
116
119
|
"mcpServers": {
|
|
117
120
|
"context-manager": {
|
|
118
121
|
"command": "npx",
|
|
119
|
-
"args": ["-y", "@asd412id/mcp-context-manager"]
|
|
122
|
+
"args": ["-y", "@asd412id/mcp-context-manager"],
|
|
123
|
+
"disabled": false,
|
|
124
|
+
"alwaysAllow": []
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
127
|
}
|
|
123
128
|
```
|
|
124
129
|
|
|
125
|
-
### Continue (VS Code Extension)
|
|
130
|
+
### Continue (VS Code / JetBrains Extension)
|
|
126
131
|
|
|
127
132
|
**Config file:** `~/.continue/config.json`
|
|
128
133
|
|
|
129
134
|
```json
|
|
130
135
|
{
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
}
|
|
136
|
+
"mcpServers": [
|
|
137
|
+
{
|
|
138
|
+
"name": "context-manager",
|
|
139
|
+
"command": "npx",
|
|
140
|
+
"args": ["-y", "@asd412id/mcp-context-manager"]
|
|
141
|
+
}
|
|
142
|
+
]
|
|
142
143
|
}
|
|
143
144
|
```
|
|
144
145
|
|
|
146
|
+
Or using YAML (`~/.continue/config.yaml`):
|
|
147
|
+
|
|
148
|
+
```yaml
|
|
149
|
+
mcpServers:
|
|
150
|
+
- name: context-manager
|
|
151
|
+
command: npx
|
|
152
|
+
args:
|
|
153
|
+
- "-y"
|
|
154
|
+
- "@asd412id/mcp-context-manager"
|
|
155
|
+
```
|
|
156
|
+
|
|
145
157
|
### OpenCode
|
|
146
158
|
|
|
147
|
-
**Config file:** `opencode.json`
|
|
159
|
+
**Config file:** `opencode.json` in your project root or `~/.config/opencode/config.json`
|
|
148
160
|
|
|
149
|
-
```
|
|
161
|
+
```jsonc
|
|
150
162
|
{
|
|
151
|
-
"
|
|
163
|
+
"$schema": "https://opencode.ai/config.json",
|
|
164
|
+
"mcp": {
|
|
152
165
|
"context-manager": {
|
|
153
|
-
"
|
|
154
|
-
"
|
|
166
|
+
"type": "local",
|
|
167
|
+
"command": ["npx", "-y", "@asd412id/mcp-context-manager"],
|
|
168
|
+
"enabled": true
|
|
155
169
|
}
|
|
156
170
|
}
|
|
157
171
|
}
|
|
@@ -165,19 +179,19 @@ Or in **VS Code Settings** (`settings.json`):
|
|
|
165
179
|
{
|
|
166
180
|
"context_servers": {
|
|
167
181
|
"context-manager": {
|
|
168
|
-
"command":
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}
|
|
182
|
+
"command": "npx",
|
|
183
|
+
"args": ["-y", "@asd412id/mcp-context-manager"],
|
|
184
|
+
"env": {}
|
|
172
185
|
}
|
|
173
186
|
}
|
|
174
187
|
}
|
|
175
188
|
```
|
|
176
189
|
|
|
177
|
-
### Custom Context Path
|
|
190
|
+
### Custom Context Path
|
|
178
191
|
|
|
179
|
-
To specify a custom path for storing context data, add
|
|
192
|
+
To specify a custom path for storing context data, add environment variables.
|
|
180
193
|
|
|
194
|
+
**Claude Desktop / Cursor / Windsurf / Cline:**
|
|
181
195
|
```json
|
|
182
196
|
{
|
|
183
197
|
"mcpServers": {
|
|
@@ -192,6 +206,37 @@ To specify a custom path for storing context data, add the `env` option:
|
|
|
192
206
|
}
|
|
193
207
|
```
|
|
194
208
|
|
|
209
|
+
**OpenCode:**
|
|
210
|
+
```jsonc
|
|
211
|
+
{
|
|
212
|
+
"$schema": "https://opencode.ai/config.json",
|
|
213
|
+
"mcp": {
|
|
214
|
+
"context-manager": {
|
|
215
|
+
"type": "local",
|
|
216
|
+
"command": ["npx", "-y", "@asd412id/mcp-context-manager"],
|
|
217
|
+
"environment": {
|
|
218
|
+
"MCP_CONTEXT_PATH": "/path/to/your/project/.context"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**Zed:**
|
|
226
|
+
```json
|
|
227
|
+
{
|
|
228
|
+
"context_servers": {
|
|
229
|
+
"context-manager": {
|
|
230
|
+
"command": "npx",
|
|
231
|
+
"args": ["-y", "@asd412id/mcp-context-manager"],
|
|
232
|
+
"env": {
|
|
233
|
+
"MCP_CONTEXT_PATH": "/path/to/your/project/.context"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
```
|
|
239
|
+
|
|
195
240
|
## Prompts (Shortcut Commands)
|
|
196
241
|
|
|
197
242
|
| Prompt | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asd412id/mcp-context-manager",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "MCP tools for context management - summarizer, memory store, project tracker, checkpoints, and smart file loader",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|