Skip to content

Commit e77db49

Browse files
test(mcp): bump stdio tool count 73→74 for explain_gate_disposition
Main already pins 73 after #6756; this CLI mirror adds one more registered loopover_ tool. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b901b13 commit e77db49

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

test/unit/mcp-tool-rename-aliases.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// (#6753 registered the loopover_build_progress_snapshot CLI mirror, taking the count from 70 to 71.)
1717
// (#6942 registered loopover_get_maintainer_lane without bumping this pin — live count became 72.)
1818
// (#6756 registered the loopover_plan_idea_claims CLI mirror, taking the count from 72 to 73.)
19+
// (#6740 registered the loopover_explain_gate_disposition CLI mirror, taking the count from 73 to 74.)
1920
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
2021
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
2122
import { mkdtempSync, rmSync } from "node:fs";
@@ -59,14 +60,14 @@ describe("MCP legacy alias retirement (#4777) — discovery invariants", () => {
5960
});
6061
afterEach(disconnect);
6162

62-
it("lists exactly 73 loopover_ tools and zero gittensory_-prefixed aliases", async () => {
63+
it("lists exactly 74 loopover_ tools and zero gittensory_-prefixed aliases", async () => {
6364
const { tools } = await client.listTools();
6465
const names = tools.map((t) => t.name);
6566
const primary = names.filter((n) => n.startsWith("loopover_"));
6667
const legacy = names.filter((n) => n.startsWith("gittensory_"));
67-
expect(primary.length).toBe(73);
68+
expect(primary.length).toBe(74);
6869
expect(legacy.length).toBe(0);
69-
expect(names.length).toBe(73);
70+
expect(names.length).toBe(74);
7071
});
7172

7273
it("no loopover_ tool's description carries a stale deprecation notice", async () => {
@@ -76,11 +77,11 @@ describe("MCP legacy alias retirement (#4777) — discovery invariants", () => {
7677
}
7778
});
7879

79-
it("`loopover-mcp tools --json` reports the same 73-tool count the live server registers", async () => {
80+
it("`loopover-mcp tools --json` reports the same 74-tool count the live server registers", async () => {
8081
const { tools } = await client.listTools();
8182
const payload = JSON.parse(run(["tools", "--json"])) as { count: number; tools: Array<{ name: string }> };
8283
expect(payload.count).toBe(tools.length);
83-
expect(payload.count).toBe(73);
84+
expect(payload.count).toBe(74);
8485
expect([...payload.tools.map((t) => t.name)].sort()).toEqual([...tools.map((t) => t.name)].sort());
8586
});
8687
});

0 commit comments

Comments
 (0)