mentat-mcp 1.0.3 → 1.0.4

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/dist/setup.js CHANGED
@@ -203,22 +203,12 @@ async function configureClaudeCode(token) {
203
203
  }
204
204
  /**
205
205
  * Get Claude Code config path based on OS
206
+ * Claude Code CLI uses ~/.claude.json
206
207
  */
207
208
  function getClaudeConfigPath() {
208
209
  const home = process.env.HOME || process.env.USERPROFILE || '';
209
- if (process.platform === 'darwin') {
210
- // macOS
211
- return path.join(home, 'Library', 'Application Support', 'Claude', 'claude_desktop_config.json');
212
- }
213
- else if (process.platform === 'win32') {
214
- // Windows
215
- return path.join(home, 'AppData', 'Roaming', 'Claude', 'claude_desktop_config.json');
216
- }
217
- else if (process.platform === 'linux') {
218
- // Linux
219
- return path.join(home, '.config', 'Claude', 'claude_desktop_config.json');
220
- }
221
- return null;
210
+ // Claude Code CLI config (not Claude Desktop!)
211
+ return path.join(home, '.claude.json');
222
212
  }
223
213
  /**
224
214
  * Open URL in default browser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mentat-mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "MCP server for terminal AI tools (Claude Code, Cursor CLI, Codex CLI) - execute skills and hire AI workers",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
package/src/setup.ts CHANGED
@@ -241,22 +241,13 @@ async function configureClaudeCode(token: string): Promise<void> {
241
241
 
242
242
  /**
243
243
  * Get Claude Code config path based on OS
244
+ * Claude Code CLI uses ~/.claude.json
244
245
  */
245
246
  function getClaudeConfigPath(): string | null {
246
247
  const home = process.env.HOME || process.env.USERPROFILE || '';
247
248
 
248
- if (process.platform === 'darwin') {
249
- // macOS
250
- return path.join(home, 'Library', 'Application Support', 'Claude', 'claude_desktop_config.json');
251
- } else if (process.platform === 'win32') {
252
- // Windows
253
- return path.join(home, 'AppData', 'Roaming', 'Claude', 'claude_desktop_config.json');
254
- } else if (process.platform === 'linux') {
255
- // Linux
256
- return path.join(home, '.config', 'Claude', 'claude_desktop_config.json');
257
- }
258
-
259
- return null;
249
+ // Claude Code CLI config (not Claude Desktop!)
250
+ return path.join(home, '.claude.json');
260
251
  }
261
252
 
262
253
  /**