slack-max-api-mcp 1.0.10 → 1.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slack-max-api-mcp",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Operations-first Slack MCP server (stdio) for Codex and Claude Code",
5
5
  "main": "src/slack-mcp-server.js",
6
6
  "bin": {
@@ -2266,6 +2266,24 @@ async function runOnboardServerCli(args) {
2266
2266
  throw new Error(`Unknown onboard-server command: ${subcommand}`);
2267
2267
  }
2268
2268
 
2269
+ async function runGatewayCompatCli(args) {
2270
+ const subcommand = (args[0] || "help").toLowerCase();
2271
+ if (subcommand === "help" || subcommand === "--help" || subcommand === "-h") {
2272
+ console.log("[gateway] deprecated alias detected. Use `onboard-server start` instead.");
2273
+ printOnboardServerHelp();
2274
+ return;
2275
+ }
2276
+ if (subcommand === "start") {
2277
+ console.error("[gateway] deprecated alias detected. Redirecting to `onboard-server start`.");
2278
+ await runOnboardServerStart(args.slice(1));
2279
+ return;
2280
+ }
2281
+
2282
+ throw new Error(
2283
+ `Unknown gateway command: ${subcommand}. Use 'slack-max-api-mcp onboard-server help' for available commands.`
2284
+ );
2285
+ }
2286
+
2269
2287
  function loadCatalog() {
2270
2288
  if (!fs.existsSync(CATALOG_PATH)) {
2271
2289
  return { methods: [], scopes: [], totals: {} };
@@ -4483,12 +4501,17 @@ async function runEntryPoint() {
4483
4501
  await runOnboardServerCli(rest);
4484
4502
  return;
4485
4503
  }
4504
+ if (command === "gateway") {
4505
+ await runGatewayCompatCli(rest);
4506
+ return;
4507
+ }
4486
4508
  if (command === "help" || command === "--help" || command === "-h") {
4487
4509
  console.log("Usage:");
4488
4510
  console.log(" slack-max-api-mcp");
4489
4511
  console.log(" slack-max-api-mcp oauth <login|list|use|current|help>");
4490
4512
  console.log(" slack-max-api-mcp onboard <run|help>");
4491
4513
  console.log(" slack-max-api-mcp onboard-server <start|help>");
4514
+ console.log(" slack-max-api-mcp gateway <start|help> # deprecated alias");
4492
4515
  return;
4493
4516
  }
4494
4517
  if (command) {