local-mcp 1.106.0 → 1.108.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/package.json +1 -1
- package/setup.js +7 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.108.0",
|
|
4
4
|
"description": "MCP server for macOS \u2014 connect Claude Desktop, Cursor, Windsurf to Mail, Calendar, Contacts, Teams, OneDrive. Privacy-first: all data stays on your Mac.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/setup.js
CHANGED
|
@@ -116,14 +116,14 @@ async function runSetup(opts = {}) {
|
|
|
116
116
|
const detected = CLIENTS.filter(c => c.detect())
|
|
117
117
|
|
|
118
118
|
if (detected.length === 0) {
|
|
119
|
-
console.log('No
|
|
120
|
-
console.log('
|
|
121
|
-
console.log('
|
|
119
|
+
console.log('No AI clients detected.')
|
|
120
|
+
console.log('Install Claude Desktop, Cursor, Windsurf, or VS Code and run this command again.\n')
|
|
121
|
+
console.log('Or add this manually to your AI client config:')
|
|
122
122
|
console.log(JSON.stringify({ mcpServers: { 'local-mcp': { command: NPX_COMMAND, args: NPX_ARGS } } }, null, 2))
|
|
123
123
|
return
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
console.log(`
|
|
126
|
+
console.log(`Detected: ${detected.map(c => c.name).join(', ')}\n`)
|
|
127
127
|
|
|
128
128
|
const configured = []
|
|
129
129
|
const failed = []
|
|
@@ -132,7 +132,7 @@ async function runSetup(opts = {}) {
|
|
|
132
132
|
try {
|
|
133
133
|
injectMcpConfig(client)
|
|
134
134
|
configured.push(client.name)
|
|
135
|
-
console.log(`✓ ${client.name}
|
|
135
|
+
console.log(`✓ ${client.name} configured`)
|
|
136
136
|
} catch (err) {
|
|
137
137
|
failed.push(client.name)
|
|
138
138
|
console.error(`✗ ${client.name}: ${err.message}`)
|
|
@@ -149,9 +149,9 @@ async function runSetup(opts = {}) {
|
|
|
149
149
|
if (!cfg.license_email) {
|
|
150
150
|
cfg.license_email = email
|
|
151
151
|
_writeJson(cfgFile, cfg)
|
|
152
|
-
console.log(`✓ Email
|
|
152
|
+
console.log(`✓ Email saved: ${email}`)
|
|
153
153
|
}
|
|
154
|
-
} catch { /* config
|
|
154
|
+
} catch { /* config not created yet — will be created on first run */ }
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
console.log('\n──────────────────────────────────────')
|
|
@@ -170,9 +170,6 @@ async function runSetup(opts = {}) {
|
|
|
170
170
|
console.log(`⚠ Could not configure: ${failed.join(', ')} — check permissions and try again.\n`)
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
console.log('MCP config written:')
|
|
174
|
-
console.log(JSON.stringify({ mcpServers: { 'local-mcp': { command: NPX_COMMAND, args: NPX_ARGS } } }, null, 2))
|
|
175
|
-
|
|
176
173
|
// Instalar y lanzar el tray (menu bar app) — arm64 only, non-fatal
|
|
177
174
|
await _installTray()
|
|
178
175
|
|