local-mcp 3.0.257 → 3.0.258

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/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -192,7 +192,12 @@ async function main() {
192
192
  process.exit(0)
193
193
  return
194
194
  }
195
- const spawnArgs = process.platform === 'darwin' ? ['stdio'] : []
195
+ // --auto (hybrid): the binary proxies to the Tray if it's running, else runs
196
+ // the full server standalone. Backward-compatible — an old binary that predates
197
+ // --auto ignores the unknown flag and falls through to proxy mode (= the old
198
+ // 'stdio' behavior). Fixes Tray-less npm users (npx local-mcp without the DMG),
199
+ // same root cause as the .mcpb stdio→--auto fix.
200
+ const spawnArgs = process.platform === 'darwin' ? ['--auto'] : []
196
201
  const child = spawn(binaryPath, spawnArgs, { stdio: 'inherit', env: process.env })
197
202
  child.on('error', (err) => {
198
203
  process.stderr.write(`Error ejecutando LMCP: ${err.message}\n`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "3.0.257",
3
+ "version": "3.0.258",
4
4
  "description": "LMCP — connect Claude Desktop, Cursor, Windsurf to Mail, Calendar, Contacts, Teams, OneDrive on macOS. Privacy-first: all data stays on your Mac.",
5
5
  "main": "index.js",
6
6
  "bin": {