local-mcp 3.0.411 → 3.0.413

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 (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +32 -0
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
  [![macOS](https://img.shields.io/badge/macOS-13%2B-111111?style=flat-square)](https://local-mcp.com?ref=npm)
7
7
  [![Signed](https://img.shields.io/badge/Developer%20ID-notarized-111111?style=flat-square)](https://local-mcp.com?ref=npm)
8
8
  [![Privacy](https://img.shields.io/badge/data-stays%20on%20device-2e7d32?style=flat-square)](https://local-mcp.com/en/privacy)
9
+ [![Glama](https://glama.ai/mcp/servers/lanchuske/local-mcp-releases/badge)](https://glama.ai/mcp/servers/lanchuske/local-mcp-releases?ref=npm)
9
10
 
10
11
  **No cloud. No tokens. No API keys. 100% free.**
11
12
 
package/index.js CHANGED
@@ -279,7 +279,39 @@ function detectManualUninstall() {
279
279
  )
280
280
  }
281
281
 
282
+ // Comandos que este wrapper entiende. Sin argumentos arranca el server MCP por stdio, que es
283
+ // como lo lanzan los clientes de IA — ese camino NO cambia.
284
+ const COMANDOS = ['setup', 'update', 'uninstall', 'status']
285
+
286
+ function mostrarAyuda() {
287
+ console.log(`local-mcp — Local MCP Server
288
+
289
+ Uso:
290
+ local-mcp arranca el server MCP por stdio (lo que hace un cliente de IA)
291
+ local-mcp setup instala y configura
292
+ local-mcp status muestra el estado
293
+ local-mcp update limpia el cache del runtime
294
+ local-mcp uninstall desinstala
295
+
296
+ local-mcp --help esta ayuda`)
297
+ }
298
+
282
299
  async function main() {
300
+ // Un argumento que no entendemos NO puede caer al camino por defecto: ese camino descarga
301
+ // el runtime e instala la app del tray. Medido el 2026-09-20: `local-mcp --help` bajó
302
+ // teams-proxy e instaló LocalMCPTray.app en ~/Applications, en una máquina donde el usuario
303
+ // sólo buscaba ayuda de CLI. Un comando de consulta no instala software.
304
+ //
305
+ // Sin argumentos sigue arrancando el server, que es como lo invocan los clientes de IA.
306
+ if (cmd !== undefined && !COMANDOS.includes(cmd)) {
307
+ const pedidoDeAyuda = ['--help', '-h', 'help'].includes(cmd)
308
+ mostrarAyuda()
309
+ if (!pedidoDeAyuda) {
310
+ console.error(`\nNo conozco el comando "${cmd}".`)
311
+ }
312
+ process.exit(pedidoDeAyuda ? 0 : 2)
313
+ }
314
+
283
315
  if (cmd === 'setup') {
284
316
  // Clear uninstall sentinel — user explicitly wants to (re-)install
285
317
  clearUninstallSentinels()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "3.0.411",
4
- "description": "Let ChatGPT, Claude, Cursor & any MCP client actually use your Mac — read & reply to email, manage your calendar, text over iMessage, find files, work with Teams, Slack & Office. On your Mac, no API keys, free.",
3
+ "version": "3.0.413",
4
+ "description": "Let ChatGPT, Claude, Cursor & any MCP client actually use your Mac or Windows PC — read & reply to email, manage your calendar, text over iMessage, find files, work with Teams, Slack & Office. Runs locally, no API keys, free.",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "local-mcp": "index.js"