mcp-server-markview 1.2.4 → 1.2.6
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 +8 -18
- package/package.json +1 -1
- package/scripts/postinstall.js +1 -1
package/README.md
CHANGED
|
@@ -29,37 +29,27 @@ The binary is downloaded automatically during installation. If the download fail
|
|
|
29
29
|
|
|
30
30
|
## Claude Code Configuration
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
The easiest way — run once in your terminal:
|
|
33
33
|
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
"mcpServers": {
|
|
37
|
-
"markview": {
|
|
38
|
-
"command": "npx",
|
|
39
|
-
"args": ["-y", "mcp-server-markview"]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
34
|
+
```bash
|
|
35
|
+
claude mcp add --transport stdio --scope user markview -- npx mcp-server-markview
|
|
43
36
|
```
|
|
44
37
|
|
|
45
|
-
|
|
38
|
+
This writes to `~/.claude.json` (user scope — works across all projects). Restart Claude Code after adding.
|
|
39
|
+
|
|
40
|
+
Or add manually to `~/.claude.json` (permissions go in settings.json — MCP config goes here):
|
|
46
41
|
|
|
47
42
|
```json
|
|
48
43
|
{
|
|
49
44
|
"mcpServers": {
|
|
50
45
|
"markview": {
|
|
51
|
-
"command": "
|
|
46
|
+
"command": "npx",
|
|
47
|
+
"args": ["mcp-server-markview"]
|
|
52
48
|
}
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
```
|
|
56
52
|
|
|
57
|
-
### Using `claude mcp add`
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
claude mcp add markview -- npx -y mcp-server-markview
|
|
61
|
-
```
|
|
62
|
-
|
|
63
53
|
## Available Tools
|
|
64
54
|
|
|
65
55
|
### `preview_markdown`
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -22,7 +22,7 @@ const { execFileSync } = require("child_process");
|
|
|
22
22
|
|
|
23
23
|
const GITHUB_OWNER = "paulhkang94";
|
|
24
24
|
const GITHUB_REPO = "markview";
|
|
25
|
-
const VERSION = "1.2.
|
|
25
|
+
const VERSION = "1.2.6";
|
|
26
26
|
const ARCHIVE_NAME = `MarkView-${VERSION}.tar.gz`;
|
|
27
27
|
const DOWNLOAD_URL = `https://github.com/${GITHUB_OWNER}/${GITHUB_REPO}/releases/download/v${VERSION}/${ARCHIVE_NAME}`;
|
|
28
28
|
|