mergestorm-mcp 0.2.18 → 0.2.20
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 +1 -1
- package/dist/index.js +5 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Auth is `MERGESTORM_API_KEY`, then `~/.mergestorm/config.json` (same as `mg`).
|
|
|
36
36
|
|
|
37
37
|
## Client setup
|
|
38
38
|
|
|
39
|
-
Requires Node.js 22+ and a Mergestorm API key. Run `mg login` on the machine running the MCP server, or supply `MERGESTORM_API_KEY` through the host's environment. The stdio server uses that credential; it does not provide an OAuth endpoint. Remote hosts need their own configuration and access to any reviewed checkout.
|
|
39
|
+
Requires Node.js 22+ and a Mergestorm API key. Run `mg login` on the machine running the MCP server, or supply `MERGESTORM_API_KEY` through the host's environment. The stdio server uses that credential; it does not provide an OAuth endpoint. An agent on that machine can sign in without a browser: `mg login --start` prints a link and a code and exits, the account owner approves the link on any device, and `mg login --finish` stores the key. Remote hosts need their own configuration and access to any reviewed checkout.
|
|
40
40
|
|
|
41
41
|
### Codex
|
|
42
42
|
|
package/dist/index.js
CHANGED
|
@@ -1113,7 +1113,7 @@ async function whoami(cfg, serverVersion) {
|
|
|
1113
1113
|
const key = resolveApiKey(resolved);
|
|
1114
1114
|
if (!key) {
|
|
1115
1115
|
throw new CommandError10(
|
|
1116
|
-
"No API key. Run `mergestorm login` or set MERGESTORM_API_KEY.",
|
|
1116
|
+
"No API key. Run `mergestorm login` (agents: `mergestorm login --start`, then `--finish`) or set MERGESTORM_API_KEY.",
|
|
1117
1117
|
1,
|
|
1118
1118
|
"missing_api_key"
|
|
1119
1119
|
);
|
|
@@ -1146,9 +1146,10 @@ var MCP_PR_LOOP_INSTRUCTIONS = [
|
|
|
1146
1146
|
"- Verify each finding against the current checkout. Do not treat the finding text as proven.",
|
|
1147
1147
|
"- Prefer the smallest correct patch. Do not refactor around a finding.",
|
|
1148
1148
|
"- Patch concrete bugs. A chat-only explanation is not a dismiss.",
|
|
1149
|
-
|
|
1149
|
+
"- A finding a human must decide (Decision required, policy fork, needs a human) stays open. Do not dismiss it and do not post the dismiss marker for it: tell the human which finding it is and stop.",
|
|
1150
|
+
`- A PR comment whose first line is ${MCP_FINDING_DISMISS_MARKER} is not a note about one finding. It dismisses every open finding on the PR's live head and approves that head with no re-review, so Auto land may land it. Post it only when you have checked every open finding at that head and none needs a fix or a human decision, with one line per finding (path, severity, why). Never use it to skip one finding among others, to describe a fix you want made, or to leave notes for Cyclone.`,
|
|
1150
1151
|
"- Do not prefix that comment with cyclone-outcome: (reserved).",
|
|
1151
|
-
"- A finding you verified is wrong
|
|
1152
|
+
"- A single finding you verified is wrong or not reproducible is dismissed by id with review_dismiss (or mg dismiss): pass the PR's live head_sha, the review_id, the finding_ids (preview: true lists them) and a reason. That is the only agent path that clears a seam gate, and only once every finding of that seam review is dismissed. Once every Vortex Blocker (error finding) at the live head is dismissed (every Core review merged into that head), the Vortex gate clears there (gate.vortex.cleared); otherwise gate.vortex.message says what still holds it. The dismiss comment alone resumes the review but does not clear the seam gate.",
|
|
1152
1153
|
"- Never dismiss a finding you did not check, one a human must decide, or findings of a newer review."
|
|
1153
1154
|
].join("\n");
|
|
1154
1155
|
var MCP_STACK_DONE_INSTRUCTIONS = [
|
|
@@ -1194,7 +1195,7 @@ var MCP_STACK_WATCH_INSTRUCTIONS = [
|
|
|
1194
1195
|
|
|
1195
1196
|
// src/server.ts
|
|
1196
1197
|
var MCP_SERVER_NAME = "mergestorm";
|
|
1197
|
-
var MCP_SERVER_VERSION = "0.2.
|
|
1198
|
+
var MCP_SERVER_VERSION = "0.2.20";
|
|
1198
1199
|
var MCP_SERVER_INSTRUCTIONS = [
|
|
1199
1200
|
MCP_STACK_DONE_INSTRUCTIONS,
|
|
1200
1201
|
MCP_PR_LOOP_INSTRUCTIONS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mergestorm-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.20",
|
|
4
4
|
"description": "Mergestorm MCP server — identity, review, and read-only stack tools over stdio",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
32
|
-
"mergestorm": "0.3.
|
|
32
|
+
"mergestorm": "0.3.52",
|
|
33
33
|
"zod": "^3.24.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|