@sudosandwich/limps 3.0.0 → 3.1.0
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 +135 -127
- package/dist/cli/config-cmd.d.ts +4 -17
- package/dist/cli/config-cmd.d.ts.map +1 -1
- package/dist/cli/config-cmd.js +20 -156
- package/dist/cli/config-cmd.js.map +1 -1
- package/dist/cli/init-project.d.ts.map +1 -1
- package/dist/cli/init-project.js +15 -33
- package/dist/cli/init-project.js.map +1 -1
- package/dist/cli/mcp-client-adapter.d.ts +17 -48
- package/dist/cli/mcp-client-adapter.d.ts.map +1 -1
- package/dist/cli/mcp-client-adapter.js +29 -194
- package/dist/cli/mcp-client-adapter.js.map +1 -1
- package/dist/cli/mcp-clients.d.ts +2 -40
- package/dist/cli/mcp-clients.d.ts.map +1 -1
- package/dist/cli/mcp-clients.js +31 -91
- package/dist/cli/mcp-clients.js.map +1 -1
- package/dist/commands/config/index.js +1 -1
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/{sync-mcp.d.ts → print.d.ts} +2 -6
- package/dist/commands/config/print.d.ts.map +1 -0
- package/dist/commands/config/print.js +51 -0
- package/dist/commands/config/print.js.map +1 -0
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +1 -1
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +25 -22
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/status-server.d.ts.map +1 -1
- package/dist/commands/status-server.js +36 -40
- package/dist/commands/status-server.js.map +1 -1
- package/dist/utils/http-client.d.ts +72 -0
- package/dist/utils/http-client.d.ts.map +1 -0
- package/dist/utils/http-client.js +160 -0
- package/dist/utils/http-client.js.map +1 -0
- package/package.json +1 -1
- package/dist/commands/config/sync-mcp.d.ts.map +0 -1
- package/dist/commands/config/sync-mcp.js +0 -232
- package/dist/commands/config/sync-mcp.js.map +0 -1
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
- [How You Can Use It](#how-you-can-use-it)
|
|
20
20
|
- [Why limps?](#why-limps)
|
|
21
21
|
- [Installation](#installation)
|
|
22
|
+
- [Upgrading from v2](#upgrading-from-v2)
|
|
22
23
|
- [Project Setup](#project-setup)
|
|
23
24
|
- [Client Setup](#client-setup)
|
|
24
25
|
- [Transport](#transport)
|
|
@@ -33,7 +34,6 @@
|
|
|
33
34
|
- [Used in Production](#used-in-production)
|
|
34
35
|
- [Creating a feature plan](#creating-a-feature-plan)
|
|
35
36
|
- [Deep Dive](#deep-dive)
|
|
36
|
-
- [Instructions](#instructions)
|
|
37
37
|
- [What is MCP?](#what-is-mcp)
|
|
38
38
|
- [License](#license)
|
|
39
39
|
|
|
@@ -43,15 +43,19 @@
|
|
|
43
43
|
# Install globally
|
|
44
44
|
npm install -g @sudosandwich/limps
|
|
45
45
|
|
|
46
|
-
# Initialize
|
|
47
|
-
|
|
46
|
+
# Initialize in your project
|
|
47
|
+
cd ~/Documents/my-planning-docs
|
|
48
|
+
limps init
|
|
48
49
|
|
|
49
|
-
#
|
|
50
|
-
limps
|
|
51
|
-
|
|
50
|
+
# Start the HTTP daemon
|
|
51
|
+
limps start
|
|
52
|
+
|
|
53
|
+
# Generate MCP client config
|
|
54
|
+
limps config print --client claude-code
|
|
55
|
+
# Copy the output to your MCP client config file
|
|
52
56
|
```
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
That's it. Your AI assistant now has access to your documents via HTTP transport. The folder can be anywhere—local, synced, or in a repo; limps does not require a git repository or a `plans/` directory.
|
|
55
59
|
|
|
56
60
|
## Features
|
|
57
61
|
|
|
@@ -59,7 +63,7 @@ Run this in the folder where you want to keep the docs and that's it. Your AI as
|
|
|
59
63
|
- **Plan + agent workflows** with status tracking and task scoring
|
|
60
64
|
- **Next-task suggestions** with score breakdowns and bias tuning
|
|
61
65
|
- **Sandboxed document processing** via `process_doc(s)` helpers
|
|
62
|
-
- **Multi-client
|
|
66
|
+
- **Multi-client support** for Cursor, Claude, Codex, and more
|
|
63
67
|
- **Extensions** for domain-specific tooling (e.g., limps-headless)
|
|
64
68
|
- **Knowledge graph** — Entity extraction, hybrid retrieval, conflict detection, and graph-based suggestions
|
|
65
69
|
- **Health automation** — Staleness detection, code drift checks, status inference, and auto-fix proposals
|
|
@@ -81,7 +85,7 @@ Typical flow:
|
|
|
81
85
|
|
|
82
86
|
1. Point limps at a docs directory (any folder, local or synced).
|
|
83
87
|
2. Use CLI + MCP tools to create plans/docs, read the current status, update tasks, and close work when done.
|
|
84
|
-
3.
|
|
88
|
+
3. Add the limps MCP entry to each client config so Cursor/Claude/Codex all see the same plans.
|
|
85
89
|
|
|
86
90
|
Commands and tools I use most often:
|
|
87
91
|
|
|
@@ -100,7 +104,7 @@ Full lists are below in "CLI Commands" and "MCP Tools."
|
|
|
100
104
|
Common setups:
|
|
101
105
|
|
|
102
106
|
- **Single project**: One docs folder for a product.
|
|
103
|
-
- **Multi-project**:
|
|
107
|
+
- **Multi-project**: Each project gets its own `.limps/config.json`; pass `--config` to target a specific one.
|
|
104
108
|
- **Shared team folder**: Put plans in a shared location and review changes like code.
|
|
105
109
|
- **Local-first**: Keep everything on disk, no hosted service required.
|
|
106
110
|
|
|
@@ -115,75 +119,96 @@ Key ideas:
|
|
|
115
119
|
|
|
116
120
|
**The solution:** limps provides a standardized MCP interface that any tool can access. Your docs live in one place—a folder you choose. Use git (or any sync) if you want version control; limps is not tied to a repository.
|
|
117
121
|
|
|
118
|
-
### Supported Clients
|
|
119
|
-
|
|
120
|
-
| Client | Config Location | Command |
|
|
121
|
-
| ------------------ | -------------------------- | ------------------------------------------------ |
|
|
122
|
-
| **Cursor** | `.cursor/mcp.json` (local) | `limps config sync-mcp --client cursor` |
|
|
123
|
-
| **Claude Code** | `.mcp.json` (local) | `limps config sync-mcp --client claude-code` |
|
|
124
|
-
| **Claude Desktop** | Global config | `limps config sync-mcp --client claude --global` |
|
|
125
|
-
| **OpenAI Codex** | `~/.codex/config.toml` | `limps config sync-mcp --client codex --global` |
|
|
126
|
-
| **ChatGPT** | Manual setup | `limps config sync-mcp --client chatgpt --print` |
|
|
127
|
-
|
|
128
|
-
> **Note:** By default, `sync-mcp` writes to local/project configs. Use `--global` for user-level configs.
|
|
129
|
-
|
|
130
122
|
## Installation
|
|
131
123
|
|
|
132
124
|
```bash
|
|
133
125
|
npm install -g @sudosandwich/limps
|
|
134
126
|
```
|
|
135
127
|
|
|
128
|
+
## Upgrading from v2
|
|
129
|
+
|
|
130
|
+
v3 introduces major changes:
|
|
131
|
+
|
|
132
|
+
### HTTP Transport (Breaking Change)
|
|
133
|
+
|
|
134
|
+
v3 uses **HTTP transport exclusively**. stdio transport has been removed.
|
|
135
|
+
|
|
136
|
+
**Migration steps:**
|
|
137
|
+
|
|
138
|
+
1. **Start the HTTP daemon** for each project:
|
|
139
|
+
```bash
|
|
140
|
+
limps start --config /path/to/.limps/config.json
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
2. **Update MCP client configs** — Replace stdio configs with HTTP transport:
|
|
144
|
+
```json
|
|
145
|
+
{
|
|
146
|
+
"mcpServers": {
|
|
147
|
+
"limps-planning-myproject": {
|
|
148
|
+
"transport": {
|
|
149
|
+
"type": "http",
|
|
150
|
+
"url": "http://127.0.0.1:4269/mcp"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
Use `limps config print` to generate the correct snippet.
|
|
157
|
+
|
|
158
|
+
### Per-Project Configs (Breaking Change)
|
|
159
|
+
|
|
160
|
+
v3 removes the centralized project registry. If you previously used `limps config add`, `config use`, or the `--project` flag:
|
|
161
|
+
|
|
162
|
+
1. **Run `limps init`** in each project directory to create `.limps/config.json`.
|
|
163
|
+
2. **Update MCP client configs** — Replace `--project <name>` with HTTP transport config (see above).
|
|
164
|
+
3. **Remove environment variable** — `LIMPS_PROJECT` no longer exists. Use `MCP_PLANNING_CONFIG` to override config path.
|
|
165
|
+
|
|
166
|
+
**Removed commands:** `config list`, `config use`, `config add`, `config remove`, `config set`, `config discover`, `config migrate`, `config sync-mcp`, `serve`.
|
|
167
|
+
|
|
168
|
+
**Replaced by:** `limps init` + `limps start` + `limps config print`.
|
|
169
|
+
|
|
136
170
|
## Project Setup
|
|
137
171
|
|
|
138
172
|
### Initialize a New Project
|
|
139
173
|
|
|
140
174
|
```bash
|
|
141
|
-
|
|
175
|
+
cd ~/Documents/my-planning-docs
|
|
176
|
+
limps init
|
|
142
177
|
```
|
|
143
178
|
|
|
144
|
-
This creates
|
|
179
|
+
This creates `.limps/config.json` in the current directory and prints MCP client setup instructions.
|
|
145
180
|
|
|
146
|
-
|
|
181
|
+
You can also specify a path:
|
|
147
182
|
|
|
148
183
|
```bash
|
|
149
|
-
limps
|
|
184
|
+
limps init ~/Documents/my-planning-docs
|
|
150
185
|
```
|
|
151
186
|
|
|
152
187
|
If the directory contains a `plans/` subdirectory, limps uses it. Otherwise, it indexes the entire directory.
|
|
153
188
|
|
|
154
189
|
### Multiple Projects
|
|
155
190
|
|
|
156
|
-
|
|
157
|
-
# Register multiple projects
|
|
158
|
-
limps init project-a --docs-path ~/docs/project-a
|
|
159
|
-
limps init project-b --docs-path ~/docs/project-b
|
|
191
|
+
Each project has its own `.limps/config.json`. Use `--config` to target a specific project:
|
|
160
192
|
|
|
161
|
-
|
|
162
|
-
limps config
|
|
163
|
-
|
|
164
|
-
# Or use environment variable
|
|
165
|
-
LIMPS_PROJECT=project-b limps list-plans
|
|
193
|
+
```bash
|
|
194
|
+
limps list-plans --config ~/docs/project-b/.limps/config.json
|
|
166
195
|
```
|
|
167
196
|
|
|
168
197
|
## Client Setup
|
|
169
198
|
|
|
170
|
-
|
|
199
|
+
After running `limps init`, you need to add a limps entry to your MCP client's config file. Use `limps config print` to generate the correct snippet for your client, then paste it into the appropriate config file:
|
|
171
200
|
|
|
172
201
|
```bash
|
|
173
|
-
|
|
174
|
-
limps config
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
limps config sync-mcp --client cursor --print
|
|
202
|
+
limps config print --client cursor
|
|
203
|
+
limps config print --client claude-code
|
|
204
|
+
limps config print --client claude
|
|
205
|
+
```
|
|
178
206
|
|
|
179
|
-
|
|
180
|
-
limps config sync-mcp --client cursor --global
|
|
207
|
+
The output tells you exactly what JSON (or TOML) to add and where the config file lives.
|
|
181
208
|
|
|
182
|
-
|
|
183
|
-
limps config sync-mcp --client cursor --path ./custom-mcp.json
|
|
184
|
-
```
|
|
209
|
+
### Per-Client Examples
|
|
185
210
|
|
|
186
|
-
|
|
211
|
+
All clients connect to the HTTP daemon. Start the daemon first with `limps start`, then configure your client.
|
|
187
212
|
|
|
188
213
|
<details>
|
|
189
214
|
<summary><b>Cursor</b></summary>
|
|
@@ -193,9 +218,11 @@ Add to `.cursor/mcp.json` in your project:
|
|
|
193
218
|
```json
|
|
194
219
|
{
|
|
195
220
|
"mcpServers": {
|
|
196
|
-
"limps": {
|
|
197
|
-
"
|
|
198
|
-
|
|
221
|
+
"limps-planning-myproject": {
|
|
222
|
+
"transport": {
|
|
223
|
+
"type": "http",
|
|
224
|
+
"url": "http://127.0.0.1:4269/mcp"
|
|
225
|
+
}
|
|
199
226
|
}
|
|
200
227
|
}
|
|
201
228
|
}
|
|
@@ -211,9 +238,11 @@ Add to `.mcp.json` in your project root:
|
|
|
211
238
|
```json
|
|
212
239
|
{
|
|
213
240
|
"mcpServers": {
|
|
214
|
-
"limps": {
|
|
215
|
-
"
|
|
216
|
-
|
|
241
|
+
"limps-planning-myproject": {
|
|
242
|
+
"transport": {
|
|
243
|
+
"type": "http",
|
|
244
|
+
"url": "http://127.0.0.1:4269/mcp"
|
|
245
|
+
}
|
|
217
246
|
}
|
|
218
247
|
}
|
|
219
248
|
}
|
|
@@ -224,48 +253,16 @@ Add to `.mcp.json` in your project root:
|
|
|
224
253
|
<details>
|
|
225
254
|
<summary><b>Claude Desktop</b></summary>
|
|
226
255
|
|
|
227
|
-
Claude Desktop runs in a sandbox—use `npx` instead of global binaries.
|
|
228
|
-
|
|
229
256
|
Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
230
257
|
|
|
231
258
|
```json
|
|
232
259
|
{
|
|
233
260
|
"mcpServers": {
|
|
234
|
-
"limps": {
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
"serve",
|
|
240
|
-
"--config",
|
|
241
|
-
"/path/to/config.json"
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
</details>
|
|
249
|
-
|
|
250
|
-
<details>
|
|
251
|
-
<summary><b>Windows (npx)</b></summary>
|
|
252
|
-
|
|
253
|
-
On Windows, use `cmd /c` to run `npx`:
|
|
254
|
-
|
|
255
|
-
```json
|
|
256
|
-
{
|
|
257
|
-
"mcpServers": {
|
|
258
|
-
"limps": {
|
|
259
|
-
"command": "cmd",
|
|
260
|
-
"args": [
|
|
261
|
-
"/c",
|
|
262
|
-
"npx",
|
|
263
|
-
"-y",
|
|
264
|
-
"@sudosandwich/limps",
|
|
265
|
-
"serve",
|
|
266
|
-
"--config",
|
|
267
|
-
"C:\\path\\to\\config.json"
|
|
268
|
-
]
|
|
261
|
+
"limps-planning-myproject": {
|
|
262
|
+
"transport": {
|
|
263
|
+
"type": "http",
|
|
264
|
+
"url": "http://127.0.0.1:4269/mcp"
|
|
265
|
+
}
|
|
269
266
|
}
|
|
270
267
|
}
|
|
271
268
|
}
|
|
@@ -279,9 +276,9 @@ On Windows, use `cmd /c` to run `npx`:
|
|
|
279
276
|
Add to `~/.codex/config.toml`:
|
|
280
277
|
|
|
281
278
|
```toml
|
|
282
|
-
[mcp_servers.limps]
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
[mcp_servers.limps-planning-myproject.transport]
|
|
280
|
+
type = "http"
|
|
281
|
+
url = "http://127.0.0.1:4269/mcp"
|
|
285
282
|
```
|
|
286
283
|
|
|
287
284
|
</details>
|
|
@@ -289,55 +286,64 @@ args = ["serve", "--config", "/path/to/config.json"]
|
|
|
289
286
|
<details>
|
|
290
287
|
<summary><b>ChatGPT</b></summary>
|
|
291
288
|
|
|
292
|
-
ChatGPT requires a remote MCP server over HTTPS. Deploy limps behind an MCP-compatible
|
|
289
|
+
ChatGPT requires a remote MCP server over HTTPS. Deploy limps behind an MCP-compatible HTTPS reverse proxy (nginx, Caddy, etc.) with authentication.
|
|
293
290
|
|
|
294
291
|
In ChatGPT → Settings → Connectors → Add custom connector:
|
|
295
292
|
|
|
296
293
|
- **Server URL**: `https://your-domain.example/mcp`
|
|
297
|
-
- **Authentication**: Configure as needed
|
|
294
|
+
- **Authentication**: Configure as needed for your proxy
|
|
298
295
|
|
|
299
296
|
Print setup instructions:
|
|
300
297
|
|
|
301
298
|
```bash
|
|
302
|
-
limps config
|
|
299
|
+
limps config print --client chatgpt
|
|
303
300
|
```
|
|
304
301
|
|
|
305
302
|
</details>
|
|
306
303
|
|
|
307
304
|
## Transport
|
|
308
305
|
|
|
309
|
-
|
|
306
|
+
limps v3 uses **HTTP transport exclusively** via a persistent daemon. This allows multiple MCP clients to share a single server instance, avoiding file descriptor bloat from multiple stdio processes.
|
|
310
307
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
### HTTP (persistent daemon)
|
|
314
|
-
|
|
315
|
-
Run limps as a long-lived HTTP server that multiple clients can connect to:
|
|
308
|
+
### Start the HTTP daemon
|
|
316
309
|
|
|
317
310
|
```bash
|
|
318
311
|
# Start the daemon
|
|
319
312
|
limps start --config /path/to/config.json
|
|
320
313
|
|
|
321
|
-
# Check status
|
|
322
|
-
limps status-server
|
|
314
|
+
# Check status (shows uptime, sessions, PID)
|
|
315
|
+
limps status-server --config /path/to/config.json
|
|
323
316
|
|
|
324
317
|
# Stop the daemon
|
|
325
|
-
limps stop
|
|
318
|
+
limps stop --config /path/to/config.json
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
The daemon runs at `http://127.0.0.1:4269/mcp` by default. Use `limps config print` to generate the correct MCP client configuration:
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
limps config print --client claude-code --config /path/to/config.json
|
|
326
325
|
```
|
|
327
326
|
|
|
328
|
-
|
|
327
|
+
### MCP Client Configuration
|
|
328
|
+
|
|
329
|
+
All clients use HTTP transport. Example config:
|
|
329
330
|
|
|
330
331
|
```json
|
|
331
332
|
{
|
|
332
333
|
"mcpServers": {
|
|
333
|
-
"limps": {
|
|
334
|
-
"transport": {
|
|
334
|
+
"limps-planning-myproject": {
|
|
335
|
+
"transport": {
|
|
336
|
+
"type": "http",
|
|
337
|
+
"url": "http://127.0.0.1:4269/mcp"
|
|
338
|
+
}
|
|
335
339
|
}
|
|
336
340
|
}
|
|
337
341
|
}
|
|
338
342
|
```
|
|
339
343
|
|
|
340
|
-
Server
|
|
344
|
+
### Server Config Options
|
|
345
|
+
|
|
346
|
+
Customize the HTTP server by adding a `"server"` section to your `config.json`:
|
|
341
347
|
|
|
342
348
|
| Option | Default | Description |
|
|
343
349
|
| ------------------ | -------------- | ---------------------------------------- |
|
|
@@ -349,7 +355,18 @@ Server config options (set in `config.json` under `"server"`):
|
|
|
349
355
|
| `maxBodySize` | `10485760` | Max request body in bytes (10 MB) |
|
|
350
356
|
| `rateLimit` | `100 req/min` | Rate limit per client IP |
|
|
351
357
|
|
|
352
|
-
|
|
358
|
+
Example custom server config:
|
|
359
|
+
|
|
360
|
+
```json
|
|
361
|
+
{
|
|
362
|
+
"server": {
|
|
363
|
+
"port": 8080,
|
|
364
|
+
"host": "0.0.0.0"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
- **Remote clients**: Use an MCP-compatible HTTPS proxy for remote clients (e.g., ChatGPT).
|
|
353
370
|
|
|
354
371
|
## CLI Commands
|
|
355
372
|
|
|
@@ -365,15 +382,12 @@ limps next-task <plan> # Get highest-priority available task
|
|
|
365
382
|
### Project Management
|
|
366
383
|
|
|
367
384
|
```bash
|
|
368
|
-
limps init
|
|
369
|
-
limps
|
|
370
|
-
limps start # Start persistent HTTP daemon
|
|
385
|
+
limps init [path] # Initialize new project
|
|
386
|
+
limps start # Start HTTP daemon (required for MCP clients)
|
|
371
387
|
limps stop # Stop HTTP daemon
|
|
372
388
|
limps status-server # Show HTTP daemon status
|
|
373
|
-
limps config list # Show registered projects
|
|
374
|
-
limps config use <name> # Switch active project
|
|
375
389
|
limps config show # Display current config
|
|
376
|
-
limps config
|
|
390
|
+
limps config print # Print MCP client config snippets
|
|
377
391
|
```
|
|
378
392
|
|
|
379
393
|
### Health & Automation
|
|
@@ -412,22 +426,16 @@ limps repair-plans [--fix] # Check/fix agent frontmatter
|
|
|
412
426
|
|
|
413
427
|
## Configuration
|
|
414
428
|
|
|
415
|
-
Config
|
|
416
|
-
|
|
417
|
-
| OS | Path |
|
|
418
|
-
| ------- | ------------------------------------------------- |
|
|
419
|
-
| macOS | `~/Library/Application Support/limps/config.json` |
|
|
420
|
-
| Linux | `~/.config/limps/config.json` |
|
|
421
|
-
| Windows | `%APPDATA%\limps\config.json` |
|
|
429
|
+
Config lives at `.limps/config.json` in your project directory, created by `limps init`.
|
|
422
430
|
|
|
423
431
|
### Config Options
|
|
424
432
|
|
|
425
433
|
```json
|
|
426
434
|
{
|
|
427
|
-
"plansPath": "
|
|
428
|
-
"docsPaths": ["
|
|
435
|
+
"plansPath": "./plans",
|
|
436
|
+
"docsPaths": ["."],
|
|
429
437
|
"fileExtensions": [".md"],
|
|
430
|
-
"dataPath": "
|
|
438
|
+
"dataPath": ".limps/data",
|
|
431
439
|
"extensions": ["@sudosandwich/limps-headless"],
|
|
432
440
|
"tools": {
|
|
433
441
|
"allowlist": ["list_docs", "search_docs"]
|
|
@@ -456,7 +464,7 @@ Config location varies by OS:
|
|
|
456
464
|
|
|
457
465
|
| Variable | Description | Example |
|
|
458
466
|
| ---------------------- | ---------------------------------------------------------- | ------------------------------------------------- |
|
|
459
|
-
| `
|
|
467
|
+
| `MCP_PLANNING_CONFIG` | Path to config file (overrides default discovery) | `MCP_PLANNING_CONFIG=./my-config.json limps serve`|
|
|
460
468
|
| `LIMPS_ALLOWED_TOOLS` | Comma-separated allowlist; only these tools are registered | `LIMPS_ALLOWED_TOOLS="list_docs,search_docs"` |
|
|
461
469
|
| `LIMPS_DISABLED_TOOLS` | Comma-separated denylist; tools to hide | `LIMPS_DISABLED_TOOLS="process_doc,process_docs"` |
|
|
462
470
|
|
package/dist/cli/config-cmd.d.ts
CHANGED
|
@@ -61,9 +61,10 @@ export declare function configPath(resolveConfigPathFn: () => string): string;
|
|
|
61
61
|
export declare function resetAll(configPath: string, options?: {
|
|
62
62
|
force?: boolean;
|
|
63
63
|
}): string[];
|
|
64
|
-
import {
|
|
64
|
+
import { type McpClientAdapter, type McpServerConfig } from './mcp-client-adapter.js';
|
|
65
65
|
/**
|
|
66
66
|
* Generate MCP server configuration JSON for a single limps project.
|
|
67
|
+
* Always generates HTTP transport configuration (limps v3 daemon mode).
|
|
67
68
|
*
|
|
68
69
|
* @param adapter - MCP client adapter
|
|
69
70
|
* @param configPath - Path to the limps config file
|
|
@@ -76,24 +77,10 @@ export declare function generateMcpClientConfig(adapter: McpClientAdapter, confi
|
|
|
76
77
|
fullConfig: Record<string, unknown>;
|
|
77
78
|
};
|
|
78
79
|
/**
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
export declare function previewMcpClientConfig(adapter: McpClientAdapter, configPath: string): {
|
|
82
|
-
hasChanges: boolean;
|
|
83
|
-
diffText: string;
|
|
84
|
-
addedServers: string[];
|
|
85
|
-
updatedServers: string[];
|
|
86
|
-
configPath: string;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Generate config for printing (for unsupported clients).
|
|
80
|
+
* Generate config for printing.
|
|
81
|
+
* Always generates HTTP transport configuration (limps v3 daemon mode).
|
|
90
82
|
*/
|
|
91
83
|
export declare function generateConfigForPrint(adapter: McpClientAdapter, configPath: string): string;
|
|
92
|
-
export declare function configAddClaude(configPath: string): string;
|
|
93
|
-
export declare function configAddCursor(configPath: string): string;
|
|
94
|
-
export declare function configAddClaudeCode(configPath: string): string;
|
|
95
|
-
export declare function configAddCodex(configPath: string): string;
|
|
96
|
-
export declare function configAddLocalMcp(configPath: string, adapterOrPath?: LocalMcpAdapter | string): string;
|
|
97
84
|
/**
|
|
98
85
|
* Generate ChatGPT MCP connector setup instructions.
|
|
99
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-cmd.d.ts","sourceRoot":"","sources":["../../src/cli/config-cmd.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"config-cmd.d.ts","sourceRoot":"","sources":["../../src/cli/config-cmd.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,EAEnB,MAAM,cAAc,CAAC;AAGtB;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QACN,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;KAC3B,CAAC;CACH;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,mBAAmB,EAAE,MAAM,MAAM,GAAG,UAAU,CAkB3E;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,mBAAmB,EAAE,MAAM,MAAM,GAAG,MAAM,CA8FpE;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,mBAAmB,EAAE,MAAM,MAAM,GAAG,MAAM,CAIvE;AAED,MAAM,WAAW,0BAA0B;IACzC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACjC;AAED,wBAAgB,iBAAiB,CAAC,mBAAmB,EAAE,MAAM,MAAM,GAAG,MAAM,CA+C3E;AAED,wBAAgB,mBAAmB,CACjC,mBAAmB,EAAE,MAAM,MAAM,EACjC,OAAO,EAAE,0BAA0B,GAClC,MAAM,CAiGR;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,mBAAmB,EAAE,MAAM,MAAM,GAAG,MAAM,CAEpE;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,MAAM,EAAE,CAwDxF;AAED,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEtF;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,gBAAgB,EACzB,UAAU,EAAE,MAAM,GACjB;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACrC,CAsCA;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAgB5F;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CA4BtE;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAoCrF"}
|