devscribe-reason 1.0.5 → 1.0.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/.cursor/mcp.json +16 -0
- package/package.json +3 -2
- package/src/CLAUDE.md +2 -2
package/.cursor/mcp.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"devscribe-reason": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": [
|
|
6
|
+
"-y",
|
|
7
|
+
"devscribe-reason"
|
|
8
|
+
],
|
|
9
|
+
"env": {
|
|
10
|
+
"GITHUB_TOKEN": "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",
|
|
11
|
+
"GITHUB_REPO": "giannihart/MyWebsite",
|
|
12
|
+
"GITHUB_BRANCH": "main"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devscribe-reason",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "MCP server that captures engineering decision reasoning and commits structured markdown to GitHub",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"devscribe-reason": "
|
|
8
|
+
"devscribe-reason": "src/index.js",
|
|
9
|
+
"devscribe-reason-setup": "scripts/setup.js"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"start": "node src/index.js",
|
package/src/CLAUDE.md
CHANGED
|
@@ -24,7 +24,7 @@ The server exposes four MCP tools that Claude Code calls throughout a coding ses
|
|
|
24
24
|
Works with both Claude Code and Cursor:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
GITHUB_TOKEN=ghp_your_token npx devscribe-reason
|
|
27
|
+
GITHUB_TOKEN=ghp_your_token npx devscribe-reason-setup
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
The setup script will:
|
|
@@ -34,7 +34,7 @@ The setup script will:
|
|
|
34
34
|
|
|
35
35
|
**If you need to specify the repo explicitly:**
|
|
36
36
|
```bash
|
|
37
|
-
GITHUB_TOKEN=ghp_your_token GITHUB_REPO=owner/repo npx devscribe-reason
|
|
37
|
+
GITHUB_TOKEN=ghp_your_token GITHUB_REPO=owner/repo npx devscribe-reason-setup
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
**GitHub Token:** Create a [Personal Access Token](https://github.com/settings/tokens) with `repo` scope (or `contents: write` for fine-grained tokens).
|