dynamic-self-register-proxy 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +58 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -337,6 +337,64 @@ proxy.setupHealthRoute(app, {
337
337
  - Si la réponse n'est pas un code **200**, le serveur est automatiquement désenregistré
338
338
  - Les erreurs de connexion (serveur arrêté, timeout) entraînent aussi le désenregistrement
339
339
 
340
+ ## Configuration MCP (Cursor / Claude Desktop)
341
+
342
+ Pour utiliser ce proxy comme serveur MCP, ajoutez la configuration suivante :
343
+
344
+ ### Cursor
345
+
346
+ Dans votre fichier `.cursor/mcp.json` :
347
+
348
+ ```json
349
+ {
350
+ "mcpServers": {
351
+ "dynamic-proxy": {
352
+ "command": "npx",
353
+ "args": ["dynamic-self-register-proxy"],
354
+ "env": {
355
+ "PROXY_PORT": "3000"
356
+ }
357
+ }
358
+ }
359
+ }
360
+ ```
361
+
362
+ ### Claude Desktop
363
+
364
+ Dans votre fichier de configuration Claude Desktop (`claude_desktop_config.json`) :
365
+
366
+ ```json
367
+ {
368
+ "mcpServers": {
369
+ "dynamic-proxy": {
370
+ "command": "npx",
371
+ "args": ["dynamic-self-register-proxy"],
372
+ "env": {
373
+ "PROXY_PORT": "3000"
374
+ }
375
+ }
376
+ }
377
+ }
378
+ ```
379
+
380
+ ### Avec variables d'environnement personnalisées
381
+
382
+ ```json
383
+ {
384
+ "mcpServers": {
385
+ "dynamic-proxy": {
386
+ "command": "npx",
387
+ "args": ["dynamic-self-register-proxy"],
388
+ "env": {
389
+ "PROXY_PORT": "8080",
390
+ "HEALTH_CHECK_INTERVAL": "60000",
391
+ "HEALTH_CHECK_TIMEOUT": "10000"
392
+ }
393
+ }
394
+ }
395
+ }
396
+ ```
397
+
340
398
  ## Configuration
341
399
 
342
400
  | Variable | Défaut | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamic-self-register-proxy",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Dynamic reverse proxy with self-registration API - applications can register themselves and receive an automatically assigned port",
5
5
  "main": "proxy-client.js",
6
6
  "bin": {
@@ -21,7 +21,8 @@
21
21
  "scripts": {
22
22
  "test": "echo \"Error: no test specified\" && exit 1",
23
23
  "start": "node proxy.js",
24
- "example": "node example-app.js"
24
+ "example": "node example-app.js",
25
+ "release": "npm version patch && npm publish --access public && git push origin main --follow-tags"
25
26
  },
26
27
  "keywords": [
27
28
  "proxy",