Skip to content

Commit a0b97a9

Browse files
committed
Remove plugin artifacts, add update/uninstall docs
- Remove .claude-plugin/, commands/, hooks/, scripts/, .mcp.json (not a plugin) - Clean up package.json files field - Add Update and Uninstall sections to README - Fix clone path to ~/.clipsnap-mcp (permanent, not /tmp)
1 parent d9d3595 commit a0b97a9

8 files changed

Lines changed: 17 additions & 88 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.mcp.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ Auto-resize to optimal AI vision dimensions (1568px). Saves tokens without losin
9090
### Install
9191

9292
```bash
93-
git clone https://github.com/zelentsov-dev/clipsnap-mcp.git
94-
cd clipsnap-mcp
93+
git clone https://github.com/zelentsov-dev/clipsnap-mcp.git ~/.clipsnap-mcp
94+
cd ~/.clipsnap-mcp
9595
npm install
9696
npm run build # TypeScript + Swift clipboard watcher
97-
npm install -g . # install globally
97+
npm install -g . # install globally (symlinks to this directory)
9898
```
9999

100-
> **Note:** `npm install -g git+https://...` does not work because the package requires a build step. You must clone, build, then install.
100+
> **Important:** `npm install -g .` creates a symlink to the cloned directory — do not delete it. `npm install -g git+https://...` does not work because the package requires a build step.
101101
102102
### Add to Claude Code
103103

@@ -113,11 +113,23 @@ claude mcp list
113113

114114
Then restart Claude Code. Now when you say *"look at my screenshot"* or *"check what I just captured"*, Claude Code will use ClipSnap to find your images.
115115

116+
### Update
117+
118+
```bash
119+
cd ~/.clipsnap-mcp
120+
git pull
121+
npm install # if dependencies changed
122+
npm run build
123+
```
124+
125+
The global `clipsnap-mcp` binary is a symlink to `~/.clipsnap-mcp`, so it picks up changes automatically. Restart Claude Code after updating.
126+
116127
### Uninstall
117128

118129
```bash
119130
claude mcp remove clipsnap --scope user
120131
npm uninstall -g clipsnap-mcp
132+
rm -rf ~/.clipsnap-mcp
121133
```
122134

123135
---

commands/paste-recent.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

commands/paste.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

hooks/hooks.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@
5454
"files": [
5555
"dist",
5656
"watcher/Package.swift",
57-
"watcher/Sources",
58-
".claude-plugin",
59-
"commands",
60-
"hooks",
61-
"scripts",
62-
".mcp.json"
57+
"watcher/Sources"
6358
]
6459
}

scripts/auto-detect.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)