@wonderwhy-er/desktop-commander 0.1.17 → 0.1.18

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/README.md CHANGED
@@ -1,8 +1,12 @@
1
- # Claude Computer Commander
1
+ # Claude Desktop Commander MCP
2
+
3
+ [![npm downloads](https://img.shields.io/npm/dw/@wonderwhy-er/desktop-commander)](https://www.npmjs.com/package/@wonderwhy-er/desktop-commander)
4
+ [![smithery badge](https://smithery.ai/badge/@wonderwhy-er/desktop-commander)](https://smithery.ai/server/@wonderwhy-er/desktop-commander)
5
+
2
6
 
3
7
  Short version. Two key things. Terminal commands and diff based file editing.
4
8
 
5
- This server that allows Claude desktop app to execute long-running terminal commands on your computer and manage processes through Model Context Protocol (MCP) + Built on top of [MCP Filesystem Server](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem) to provide additional file editing capabilities .
9
+ This is server that allows Claude desktop app to execute long-running terminal commands on your computer and manage processes through Model Context Protocol (MCP) + Built on top of [MCP Filesystem Server](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem) to provide additional search and replace file editing capabilities .
6
10
 
7
11
  ## Features
8
12
 
@@ -25,14 +29,22 @@ This server that allows Claude desktop app to execute long-running terminal comm
25
29
  ## Installation
26
30
  First, ensure you've downloaded and installed the [Claude Desktop app](https://claude.ai/download) and you have [npm installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
27
31
 
28
- ### Option 1: Install trough npx
32
+ ### Option 1: Installing via Smithery
33
+
34
+ To install Desktop Commander for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@wonderwhy-er/desktop-commander):
35
+
36
+ ```bash
37
+ npx -y @smithery/cli install @wonderwhy-er/desktop-commander --client claude
38
+ ```
39
+
40
+ ### Option 2: Install trough npx
29
41
  Just run this in terminal
30
42
  ```
31
43
  npx @wonderwhy-er/desktop-commander setup
32
44
  ```
33
45
  Restart Claude if running
34
46
 
35
- ### Option 2: Add to claude_desktop_config by hand
47
+ ### Option 3: Add to claude_desktop_config by hand
36
48
  Add this entry to your claude_desktop_config.json (on Mac, found at ~/Library/Application\ Support/Claude/claude_desktop_config.json):
37
49
  ```json
38
50
  {
@@ -49,7 +61,7 @@ Add this entry to your claude_desktop_config.json (on Mac, found at ~/Library/Ap
49
61
  ```
50
62
  Restart Claude if running
51
63
 
52
- ### Option 3: Checkout locally
64
+ ### Option 4: Checkout locally
53
65
  1. Clone and build:
54
66
  ```bash
55
67
  git clone https://github.com/wonderwhy-er/ClaudeComputerCommander.git
@@ -143,4 +155,4 @@ All contributions, big or small, are greatly appreciated!
143
155
 
144
156
  ## License
145
157
 
146
- MIT
158
+ MIT
package/dist/server.js CHANGED
@@ -7,9 +7,10 @@ import { executeCommand, readOutput, forceTerminate, listSessions } from './tool
7
7
  import { listProcesses, killProcess } from './tools/process.js';
8
8
  import { readFile, readMultipleFiles, writeFile, createDirectory, listDirectory, moveFile, searchFiles, getFileInfo, listAllowedDirectories, } from './tools/filesystem.js';
9
9
  import { parseEditBlock, performSearchReplace } from './tools/edit.js';
10
+ import { VERSION } from './version.js';
10
11
  export const server = new Server({
11
- name: "secure-terminal-server",
12
- version: "0.2.0",
12
+ name: "desktop-commander",
13
+ version: VERSION,
13
14
  }, {
14
15
  capabilities: {
15
16
  tools: {},
@@ -95,12 +95,12 @@ try {
95
95
  config.mcpServers.desktopCommander = serverConfig;
96
96
 
97
97
  // Add puppeteer server if not present
98
- if (!config.mcpServers.puppeteer) {
98
+ /*if (!config.mcpServers.puppeteer) {
99
99
  config.mcpServers.puppeteer = {
100
100
  "command": "npx",
101
101
  "args": ["-y", "@modelcontextprotocol/server-puppeteer"]
102
102
  };
103
- }
103
+ }*/
104
104
 
105
105
  // Write the updated config back
106
106
  writeFileSync(claudeConfigPath, JSON.stringify(config, null, 2), 'utf8');
@@ -0,0 +1 @@
1
+ export declare const VERSION = "0.1.18";
@@ -0,0 +1 @@
1
+ export const VERSION = '0.1.18';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderwhy-er/desktop-commander",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "MCP server for terminal operations and file editing",
5
5
  "license": "MIT",
6
6
  "author": "Eduards Ruzga",
@@ -15,6 +15,10 @@
15
15
  "dist"
16
16
  ],
17
17
  "scripts": {
18
+ "sync-version": "node scripts/sync-version.js",
19
+ "bump": "node scripts/sync-version.js --bump",
20
+ "bump:minor": "node scripts/sync-version.js --bump --minor",
21
+ "bump:major": "node scripts/sync-version.js --bump --major",
18
22
  "build": "tsc && shx cp setup-claude-server.js dist/ && shx chmod +x dist/*.js",
19
23
  "watch": "tsc --watch",
20
24
  "start": "node dist/index.js",
@@ -60,4 +64,4 @@
60
64
  "shx": "^0.3.4",
61
65
  "typescript": "^5.3.3"
62
66
  }
63
- }
67
+ }