claude-session-share 1.2.1 → 1.2.2
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 +28 -2
- package/dist/index.js +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,29 @@ MCP server for sharing Claude Code sessions via GitHub Gist with automatic priva
|
|
|
29
29
|
|
|
30
30
|
### Configure MCP Server
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
**Option 1: One-liner (recommended)**
|
|
33
|
+
|
|
34
|
+
Run this in terminal, replacing `YOUR_TOKEN` with your GitHub token:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
mkdir -p ~/.claude && cat > ~/.claude/mcp.json << 'EOF'
|
|
38
|
+
{
|
|
39
|
+
"mcpServers": {
|
|
40
|
+
"claude-session-share": {
|
|
41
|
+
"command": "npx",
|
|
42
|
+
"args": ["-y", "claude-session-share"],
|
|
43
|
+
"env": {
|
|
44
|
+
"GITHUB_TOKEN": "YOUR_TOKEN"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
EOF
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Option 2: Manual edit**
|
|
53
|
+
|
|
54
|
+
Create or edit `~/.claude/mcp.json`:
|
|
33
55
|
|
|
34
56
|
```json
|
|
35
57
|
{
|
|
@@ -45,14 +67,18 @@ Add to `~/.claude/mcp.json`:
|
|
|
45
67
|
}
|
|
46
68
|
```
|
|
47
69
|
|
|
70
|
+
> **Note:** If the file already exists with other MCP servers, add the `"claude-session-share": {...}` block inside the existing `"mcpServers"` object.
|
|
71
|
+
|
|
48
72
|
### Verify Installation
|
|
49
73
|
|
|
50
74
|
```bash
|
|
51
|
-
claude # Start Claude Code
|
|
75
|
+
claude # Start (or restart) Claude Code
|
|
52
76
|
# Type: /mcp
|
|
53
77
|
# You should see "claude-session-share" in the list
|
|
54
78
|
```
|
|
55
79
|
|
|
80
|
+
> **Important:** If Claude Code was already running, restart it for the new MCP server to load.
|
|
81
|
+
|
|
56
82
|
## Usage
|
|
57
83
|
|
|
58
84
|
### Share a Session
|
package/dist/index.js
CHANGED
|
File without changes
|