local-mcp 3.0.431 → 3.0.432

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 -1
  2. package/index.js +12 -9
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -90,7 +90,7 @@ The full, current list of tools, by app and platform: **[local-mcp.com/tools](ht
90
90
  <!-- generado:tools (scripts/readme-npm.py; no editar a mano) -->
91
91
  **macOS and Windows:** `agent_ack` `agent_checkin` `agent_inbox` `agent_mesh_create` `agent_mesh_invite` `agent_mesh_join` `agent_mesh_revoke` `agent_mesh_status` `agent_send` `agent_sent` `agents_list` `configure_clients` `connect_m365_account` `connect_servicenow` `connect_todoist` `create_referral_invites` `daily_brief` `disconnect_m365_account` `disconnect_servicenow` `disconnect_todoist` `enable_service` `excel_create` `excel_read` `excel_write_cell` `file_list` `file_read` `file_search` `file_write` `gdrive_disconnect` `gdrive_file_info` `gdrive_list_files` `gdrive_read_file` `gdrive_root` `gdrive_search_files` `gdrive_write_file` `get_audit_log` `get_config` `get_datetime` `get_m365_person` `get_weather` `list_displays` `list_m365_accounts` `list_m365_people_insights` `list_referral_candidates` `list_windows` `lmcp_install_upgrade` `lmcp_state` `lmcp_upgrade_diagnostics` `m365_create_contact` `m365_create_draft` `m365_create_email_folder` `m365_create_event` `m365_delete_event` `m365_get_contact` `m365_list_contacts` `m365_list_email_folders` `m365_list_emails` `m365_list_events` `m365_mark_email_read` `m365_move_email` `m365_read_email` `m365_reply_email` `m365_search_contacts` `m365_search_emails` `m365_send_email` `m365_update_contact` `media_probe` `nordvpn_diagnose` `nordvpn_servers` `nordvpn_status` `obsidian_list_vaults` `obsidian_read_note` `obsidian_search_notes` `obsidian_write_note` `onedrive_delete_file` `onedrive_disconnect` `onedrive_file_info` `onedrive_list_files` `onedrive_move_file` `onedrive_read_file` `onedrive_root` `onedrive_search_files` `onedrive_set_scope` `onedrive_write_file` `outlook_diagnose` `pdf_read` `ppt_create` `ppt_read` `proton_disconnect` `proton_list_emails` `proton_read_email` `proton_search_emails` `proton_send_email` `proton_status` `recipe_delete` `recipe_discover` `recipe_export` `recipe_get` `recipe_import` `recipe_install` `recipe_list` `recipe_rename` `recipe_run` `recipe_runs` `recipe_save` `report_friction` `report_problem` `request_feature` `run_diagnostics` `run_terminal_command` `search_m365_directory` `servicenow_add_comment` `servicenow_create_incident` `servicenow_get_incident` `servicenow_list_my_incidents` `servicenow_search_incidents` `servicenow_search_kb` `servicenow_update_incident` `set_always_allowed` `set_default_m365_account` `set_default_telegram_account` `set_default_whatsapp_account` `slack_disconnect` `slack_list_workspaces` `stocks_get_chart` `stocks_get_quote` `stocks_search_symbol` `submit_diagnostics` `teams_call_history` `teams_list_channels` `teams_list_chats` `teams_list_teams` `teams_read_channel_messages` `teams_read_chat_messages` `teams_search_messages` `teams_send_channel_message` `teams_send_message` `telegram_connect` `telegram_delete_message` `telegram_disconnect` `telegram_list_accounts` `telegram_list_chats` `telegram_read_messages` `telegram_search_messages` `telegram_send_message` `telegram_unwatch_chats` `telegram_watch_chats` `telegram_watch_status` `thunderbird_accounts_status` `thunderbird_disconnect` `thunderbird_list_accounts` `thunderbird_list_emails` `thunderbird_read_email` `thunderbird_search_contacts` `thunderbird_search_emails` `thunderbird_send_email` `todo_complete_task` `todo_create_task` `todo_get_folders` `todo_list_tasks` `todoist_complete_task` `todoist_create_task` `todoist_list_projects` `todoist_list_tasks` `ui_click` `ui_find_element` `ui_get_element` `ui_keystroke` `ui_menu_bar_click` `ui_read_tree` `ui_type` `ui_wait_for_element` `video_blur_region` `video_concat` `video_export_gif` `video_reframe` `video_trim` `web_click` `web_eval` `web_extract` `web_find` `web_login` `web_navigate` `web_read` `web_screenshot` `web_session_close` `web_session_delete` `web_session_list` `web_show` `web_type` `web_wait_for` `whatsapp_connect` `whatsapp_create_group` `whatsapp_diagnose` `whatsapp_disconnect` `whatsapp_forward_message` `whatsapp_group_info` `whatsapp_list_accounts` `whatsapp_list_chats` `whatsapp_list_groups` `whatsapp_read_messages` `whatsapp_read_poll` `whatsapp_save_media` `whatsapp_search_contacts` `whatsapp_search_messages` `whatsapp_send_file` `whatsapp_send_message` `whatsapp_send_poll` `whatsapp_sync` `window_focus` `window_set_frame` `word_append` `word_create` `word_read` `zoom_list_recordings` `zoom_read_transcript`
92
92
 
93
- **macOS only:** `agent_authorize` `agent_mesh_leave` `complete_omnifocus_task` `complete_reminder` `connect_chatgpt` `copy_email` `create_calendar_event` `create_draft` `create_email_folder` `create_note` `create_omnifocus_task` `create_reminder` `create_reminder_list` `delete_calendar_event` `delete_note` `delete_reminder` `delete_reminder_folder` `finder_list` `finder_search` `flag_email` `gdrive_delete_file` `get_contact` `get_reminder_folders` `image_playground_generate` `list_accounts` `list_calendar_events` `list_calendar_names` `list_contacts` `list_email_accounts` `list_email_folders` `list_emails` `list_message_chats` `list_missing_permissions` `list_notes` `list_omnifocus_folders` `list_omnifocus_projects` `list_omnifocus_tags` `list_omnifocus_tasks` `list_reminders` `lmcp_doctor` `mark_email_read` `move_email` `music_add_to_playlist` `music_list_playlists` `music_next_track` `music_now_playing` `music_pause` `music_play` `music_previous_track` `music_search_library` `music_set_volume` `notion_disconnect` `notion_list_databases` `notion_list_pages` `notion_list_workspaces` `notion_open_page` `notion_read_database` `notion_read_page` `notion_search` `permissions_status` `read_email` `read_messages` `read_note` `recipe_submit_for_review` `record_marker` `rename_reminder_folder` `reply_email` `save_attachment` `screen_record_start` `screen_record_status` `screen_record_stop` `screenshot_capture` `search_contacts` `search_emails` `search_messages` `search_notes` `search_omnifocus_tasks` `send_email` `send_message` `shortcuts_list` `shortcuts_run` `shortcuts_view` `signal_compose_guidance` `signal_connect` `signal_disconnect` `signal_list_chats` `signal_read_messages` `signal_search_messages` `slack_list_channels` `slack_read_channel_messages` `slack_search_messages` `survey_respond` `survey_skip` `update_calendar_event` `update_note` `update_reminder` `zalo_connect` `zalo_diagnose` `zalo_disconnect` `zalo_list_chats` `zalo_read_messages` `zalo_search_messages` `zalo_send_message`
93
+ **macOS only:** `agent_authorize` `agent_mesh_leave` `complete_omnifocus_task` `complete_reminder` `copy_email` `create_calendar_event` `create_draft` `create_email_folder` `create_note` `create_omnifocus_task` `create_reminder` `create_reminder_list` `delete_calendar_event` `delete_note` `delete_reminder` `delete_reminder_folder` `finder_list` `finder_search` `flag_email` `gdrive_delete_file` `get_contact` `get_reminder_folders` `image_playground_generate` `list_accounts` `list_calendar_events` `list_calendar_names` `list_contacts` `list_email_accounts` `list_email_folders` `list_emails` `list_message_chats` `list_missing_permissions` `list_notes` `list_omnifocus_folders` `list_omnifocus_projects` `list_omnifocus_tags` `list_omnifocus_tasks` `list_reminders` `lmcp_doctor` `mark_email_read` `move_email` `music_add_to_playlist` `music_list_playlists` `music_next_track` `music_now_playing` `music_pause` `music_play` `music_previous_track` `music_search_library` `music_set_volume` `notion_disconnect` `notion_list_databases` `notion_list_pages` `notion_list_workspaces` `notion_open_page` `notion_read_database` `notion_read_page` `notion_search` `permissions_status` `read_email` `read_messages` `read_note` `recipe_submit_for_review` `record_marker` `rename_reminder_folder` `reply_email` `save_attachment` `screen_record_start` `screen_record_status` `screen_record_stop` `screenshot_capture` `search_contacts` `search_emails` `search_messages` `search_notes` `search_omnifocus_tasks` `send_email` `send_message` `shortcuts_list` `shortcuts_run` `shortcuts_view` `signal_compose_guidance` `signal_connect` `signal_disconnect` `signal_list_chats` `signal_read_messages` `signal_search_messages` `slack_list_channels` `slack_read_channel_messages` `slack_search_messages` `survey_respond` `survey_skip` `update_calendar_event` `update_note` `update_reminder` `zalo_connect` `zalo_diagnose` `zalo_disconnect` `zalo_list_chats` `zalo_read_messages` `zalo_search_messages` `zalo_send_message`
94
94
 
95
95
  **Windows only:** `explorer_list` `explorer_search` `gdrive_set_scope` `outlook_calendar_create_event` `outlook_calendar_delete_event` `outlook_calendar_list_events` `outlook_calendar_list_names` `outlook_contacts_list` `outlook_contacts_search` `outlook_create_folder` `outlook_flag_email` `outlook_forward_email` `outlook_get_contact` `outlook_list_accounts` `outlook_list_emails` `outlook_mark_email_read` `outlook_move_email` `outlook_read_email` `outlook_reply_all` `outlook_reply_email` `outlook_save_attachment` `outlook_search_emails` `outlook_send_email` `sharepoint_list_files` `sharepoint_list_sites` `sharepoint_read_file` `todo_list_lists` `update_local_mcp` `update_self_diagnosis`
96
96
  <!-- /generado:tools -->
package/index.js CHANGED
@@ -17,6 +17,9 @@ const path = require('path')
17
17
  const os = require('os')
18
18
  const fs = require('fs')
19
19
  const evento = require('./launch-event')
20
+ // #133: un cliente de IA puede cerrar stderr antes de que el wrapper escriba. Con process.stderr ese EPIPE llega
21
+ // como excepción no atrapada y tira al wrapper antes de que el server conteste. Un aviso perdido no es una falla.
22
+ function avisar (texto) { try { fs.writeSync(2, texto) } catch {} }
20
23
 
21
24
  // ── Uninstall sentinels ───────────────────────────────────────────────────────
22
25
  // A `.uninstalled` sentinel marks a machine the user removed, so no respawn (an
@@ -173,7 +176,7 @@ if (parseInt(process.version.slice(1)) < 16) {
173
176
  const msg = `LMCP requires Node 16+. Running ${process.version}.\n` +
174
177
  `If you use nvm, run: nvm alias default 22 && nvm uninstall ${process.version}\n` +
175
178
  'Then restart Claude Desktop / Cursor.'
176
- process.stderr.write(msg + '\n')
179
+ avisar(msg + '\n')
177
180
  reportarLanzamiento('unsupported-node')
178
181
  // Exit with a non-zero code so the MCP host marks the server as failed
179
182
  // (vs hanging forever with no output).
@@ -236,7 +239,7 @@ async function main() {
236
239
  // En una terminal (TTY) y ante un pedido de ayuda sigue la ayuda: una consulta no descarga ni instala.
237
240
  const desconocido = cmd !== undefined && !COMANDOS.includes(cmd) && !SINONIMOS_DEL_SERVER.includes(cmd)
238
241
  if (desconocido && !PEDIDOS_DE_AYUDA.includes(cmd) && !(process.stdin && process.stdin.isTTY)) {
239
- process.stderr.write(`[LMCP] ignoring unknown argument ${JSON.stringify(String(cmd).slice(0, 40))}; starting the MCP server\n`)
242
+ avisar(`[LMCP] ignoring unknown argument ${JSON.stringify(String(cmd).slice(0, 40))}; starting the MCP server\n`)
240
243
  } else if (desconocido) {
241
244
  const pedidoDeAyuda = PEDIDOS_DE_AYUDA.includes(cmd)
242
245
  mostrarAyuda()
@@ -388,7 +391,7 @@ async function main() {
388
391
  if (!avisoDesinstaladoVigente()) {
389
392
  marcarAvisoDesinstalado()
390
393
  reportarLanzamiento('uninstalled')
391
- process.stderr.write(
394
+ avisar(
392
395
  '[LMCP] Local MCP was uninstalled — not starting.\n' +
393
396
  ' Reinstall: npx -y local-mcp@latest setup\n' +
394
397
  " Or remove the \"local-mcp\" entry from this app's MCP config.\n"
@@ -409,7 +412,7 @@ async function main() {
409
412
  if (detectManualUninstall()) {
410
413
  reportarLanzamiento('uninstalled')
411
414
  writeUninstallSentinels()
412
- process.stderr.write(
415
+ avisar(
413
416
  '[LMCP] LMCP.app was removed — treating it as an uninstall, not starting.\n' +
414
417
  ' Reinstall: npx -y local-mcp@latest setup\n'
415
418
  )
@@ -422,7 +425,7 @@ async function main() {
422
425
  // los chequeos de desinstalación.
423
426
  if (process.platform === 'linux') {
424
427
  evento.fuente('missing_platform')
425
- process.stderr.write(require('./download').LINUX_NO_SOPORTADO + '\n')
428
+ avisar(require('./download').LINUX_NO_SOPORTADO + '\n')
426
429
  reportarLanzamiento('unsupported-platform')
427
430
  process.exit(1)
428
431
  }
@@ -457,7 +460,7 @@ async function main() {
457
460
  // persona lo pide: `npx local-mcp setup`, `npm install -g` (postinstall) o los instaladores.
458
461
  // cursor.directory ocultó el plugin y el directorio de Anthropic lo retuvo porque este camino
459
462
  // instalaba un LaunchAgent persistente sin consentimiento. Sin la app se avisa en una línea.
460
- if (!menuBarAppInstalled()) process.stderr.write(menuBarAppMissingLine() + '\n')
463
+ if (!menuBarAppInstalled()) avisar(menuBarAppMissingLine() + '\n')
461
464
 
462
465
  // ADR-0004: the notarized server embedded in LocalMCPTray.app, if present. Unchanged by 3.0.423.
463
466
  function findEmbeddedServer() {
@@ -499,7 +502,7 @@ async function main() {
499
502
  })
500
503
  child.on('error', (err) => {
501
504
  reportarLanzamiento('spawn-failed', { reason: evento.razonDeError(err) })
502
- process.stderr.write(`Error ejecutando LMCP: ${err.message}\n`)
505
+ avisar(`Error ejecutando LMCP: ${err.message}\n`)
503
506
  process.exit(1)
504
507
  })
505
508
  child.on('exit', (code, signal) => {
@@ -537,7 +540,7 @@ async function main() {
537
540
  if (!bundled || !fs.existsSync(bundled)) {
538
541
  reportarLanzamiento('spawn-failed', { reason: 'binary-missing' })
539
542
  const { TARGETS } = require('./bundled')
540
- process.stderr.write(TARGETS[`${process.platform}-${process.arch}`]
543
+ avisar(TARGETS[`${process.platform}-${process.arch}`]
541
544
  ? `[LMCP] The LMCP server for ${process.platform}-${process.arch} is not installed with this package.\n` +
542
545
  ' npm skipped its platform package (an install with --omit=optional, or a mirror without it).\n' +
543
546
  ' Run: npx -y --include=optional local-mcp@latest\n'
@@ -556,7 +559,7 @@ if (require.main === module) {
556
559
  main().catch(err => {
557
560
  razonDeSalida = 'uncaught-exception'
558
561
  claseDeSalida = evento.claseDeError(err)
559
- process.stderr.write(`Error fatal: ${err.message}\n`)
562
+ avisar(`Error fatal: ${err.message}\n`)
560
563
  process.exit(1)
561
564
  })
562
565
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "3.0.431",
3
+ "version": "3.0.432",
4
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, Notion & Office. Runs locally, no API keys.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -26,10 +26,10 @@
26
26
  "node": ">=20"
27
27
  },
28
28
  "optionalDependencies": {
29
- "local-mcp-darwin-arm64": "3.0.431",
30
- "local-mcp-darwin-x64": "3.0.431",
31
- "local-mcp-windows-x64": "3.0.431",
32
- "local-mcp-windows-arm64": "3.0.431"
29
+ "local-mcp-darwin-arm64": "3.0.432",
30
+ "local-mcp-darwin-x64": "3.0.432",
31
+ "local-mcp-windows-x64": "3.0.432",
32
+ "local-mcp-windows-arm64": "3.0.432"
33
33
  },
34
34
  "os": [
35
35
  "darwin",