@air-jam/mcp-server 0.9.3 → 1.0.0-beta.1

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 CHANGED
@@ -1,3 +1,5 @@
1
+ > **Prerelease `1.0.0-beta.1`** from Air Jam's `beta` channel. It is not stable and may change or break between prereleases; install `@latest` for the stable release.
2
+
1
3
  # `@air-jam/mcp-server`
2
4
 
3
5
  The official Air Jam MCP server exposes the same project, development,
@@ -47,3 +49,11 @@ For reliable gameplay assertions, use `airjam.open_game_session`,
47
49
  capture the owning room's canonical host and controller views when the client
48
50
  cannot launch its own browser. Browser interaction remains visual proof rather
49
51
  than the primary automation lane.
52
+
53
+ ## Hosted releases
54
+
55
+ `airjam.release_inspect` and `airjam.release_list` return exact `playUrl` links,
56
+ including hidden live releases. `airjam.release_archive` accepts `releaseId` and
57
+ optional `platformUrl`, uses the same owner-checked service as Create's
58
+ **Releases** section, and returns the updated release. Archiving retires the release; it
59
+ does not publish anything. See the [hosted release guide](../../docs/guides/hosted-release-guide.md).
package/dist/cli.js CHANGED
@@ -45,7 +45,6 @@ var init_tool_contract = __esm({
45
45
  "airjam.auth_status",
46
46
  "airjam.list_games",
47
47
  "airjam.inspect_game",
48
- "airjam.inspect_game_agent_contract",
49
48
  "airjam.read_logs",
50
49
  "airjam.run_quality_gate",
51
50
  "airjam.evaluate",
@@ -55,15 +54,27 @@ var init_tool_contract = __esm({
55
54
  "airjam.release_finalize",
56
55
  "airjam.release_export",
57
56
  "airjam.release_publish",
57
+ "airjam.release_archive",
58
58
  "airjam.start_dev",
59
59
  "airjam.stop_dev",
60
60
  "airjam.status",
61
61
  "airjam.reset_local",
62
62
  "airjam.topology",
63
+ "airjam.list_game_test_profiles",
64
+ "airjam.start_game_run",
65
+ "airjam.read_game_run",
66
+ "airjam.wait_game_run",
67
+ "airjam.stop_game_run",
68
+ "airjam.steer_game_run",
69
+ "airjam.list_game_runs",
63
70
  "airjam.open_game_session",
71
+ "airjam.control_game_session_participant",
64
72
  "airjam.send_game_session_input",
65
73
  "airjam.read_game_session",
74
+ "airjam.observe_game_session",
66
75
  "airjam.invoke_game_session_action",
76
+ "airjam.read_game_settings",
77
+ "airjam.update_game_settings",
67
78
  "airjam.capture_game_session_visuals",
68
79
  "airjam.close_game_session"
69
80
  ],
@@ -72,7 +83,6 @@ var init_tool_contract = __esm({
72
83
  "airjam.auth_status",
73
84
  "airjam.list_games",
74
85
  "airjam.inspect_game",
75
- "airjam.inspect_game_agent_contract",
76
86
  "airjam.read_logs",
77
87
  "airjam.run_quality_gate",
78
88
  "airjam.evaluate",
@@ -86,15 +96,27 @@ var init_tool_contract = __esm({
86
96
  "airjam.release_export",
87
97
  "airjam.release_submit",
88
98
  "airjam.release_publish",
99
+ "airjam.release_archive",
89
100
  "airjam.start_dev",
90
101
  "airjam.stop_dev",
91
102
  "airjam.status",
92
103
  "airjam.reset_local",
93
104
  "airjam.topology",
105
+ "airjam.list_game_test_profiles",
106
+ "airjam.start_game_run",
107
+ "airjam.read_game_run",
108
+ "airjam.wait_game_run",
109
+ "airjam.stop_game_run",
110
+ "airjam.steer_game_run",
111
+ "airjam.list_game_runs",
94
112
  "airjam.open_game_session",
113
+ "airjam.control_game_session_participant",
95
114
  "airjam.send_game_session_input",
96
115
  "airjam.read_game_session",
116
+ "airjam.observe_game_session",
97
117
  "airjam.invoke_game_session_action",
118
+ "airjam.read_game_settings",
119
+ "airjam.update_game_settings",
98
120
  "airjam.capture_game_session_visuals",
99
121
  "airjam.close_game_session"
100
122
  ],
@@ -104,7 +126,6 @@ var init_tool_contract = __esm({
104
126
  });
105
127
 
106
128
  // src/tools.ts
107
- import { inspectGameAgentContract } from "@air-jam/devtools/agent";
108
129
  import { inspectProject } from "@air-jam/devtools/context";
109
130
  import {
110
131
  getDevStatus,
@@ -113,13 +134,35 @@ import {
113
134
  startDev,
114
135
  stopDev
115
136
  } from "@air-jam/devtools/dev";
137
+ import {
138
+ gameRunAddressSchema,
139
+ gameRunDiscoverySchema,
140
+ gameRunSteerSchema,
141
+ gameRunWaitSchema,
142
+ startGameRunSchema,
143
+ startPlayGameRunSchema,
144
+ startTestGameRunSchema
145
+ } from "@air-jam/devtools/game-runs";
116
146
  import {
117
147
  captureGameSessionVisuals,
118
148
  closeGameSession,
149
+ controlGameSessionParticipant,
150
+ gameSessionOperationSchemas,
119
151
  invokeGameSessionAction,
152
+ listGameRuns,
153
+ listGameTestProfiles,
154
+ observeGameSession,
120
155
  openGameSession,
156
+ readGameRun,
121
157
  readGameSession,
122
- sendGameSessionInput
158
+ readGameSettings,
159
+ replayGameRun,
160
+ sendGameSessionInput,
161
+ startGameRun,
162
+ steerGameRun,
163
+ stopGameRun,
164
+ updateGameSettings,
165
+ waitGameRun
123
166
  } from "@air-jam/devtools/game-session";
124
167
  import { inspectGame, listGames } from "@air-jam/devtools/games";
125
168
  import { readDevLogs } from "@air-jam/devtools/logs";
@@ -129,6 +172,7 @@ import {
129
172
  runQualityGate
130
173
  } from "@air-jam/devtools/quality";
131
174
  import {
175
+ archivePlatformRelease,
132
176
  bundleLocalRelease,
133
177
  exportPlatformReleaseGeneration,
134
178
  finalizePlatformReleaseGeneration,
@@ -142,7 +186,7 @@ import {
142
186
  validateLocalRelease
143
187
  } from "@air-jam/devtools/release";
144
188
  import { z } from "zod";
145
- var withJsonText, buildQualityGateSchema, buildStartDevSchema, buildTopologySchema, buildGameSessionModeSchema, RELEASE_PROJECT_INPUT_SCHEMA, RELEASE_PLATFORM_INPUT_SCHEMA, RELEASE_VALIDATE_INPUT_SCHEMA, RELEASE_BUNDLE_INPUT_SCHEMA, RELEASE_LIST_INPUT_SCHEMA, RELEASE_INSPECT_INPUT_SCHEMA, RELEASE_SUBMIT_INPUT_SCHEMA, RELEASE_UPLOAD_INPUT_SCHEMA, RELEASE_FINALIZE_INPUT_SCHEMA, RELEASE_EXPORT_INPUT_SCHEMA, RELEASE_PUBLISH_INPUT_SCHEMA, READ_LOGS_INPUT_SCHEMA, INSPECT_GAME_INPUT_SCHEMA, STOP_DEV_INPUT_SCHEMA, buildConnectControllerSchema, buildToolDefinitions, getRegisteredToolNamesForProjectMode;
189
+ var withJsonText, buildQualityGateSchema, buildStartDevSchema, buildTopologySchema, buildGameSessionModeSchema, RELEASE_PROJECT_INPUT_SCHEMA, RELEASE_PLATFORM_INPUT_SCHEMA, RELEASE_VALIDATE_INPUT_SCHEMA, RELEASE_BUNDLE_INPUT_SCHEMA, RELEASE_LIST_INPUT_SCHEMA, RELEASE_INSPECT_INPUT_SCHEMA, RELEASE_SUBMIT_INPUT_SCHEMA, RELEASE_UPLOAD_INPUT_SCHEMA, RELEASE_FINALIZE_INPUT_SCHEMA, RELEASE_EXPORT_INPUT_SCHEMA, RELEASE_MUTATION_INPUT_SCHEMA, READ_LOGS_INPUT_SCHEMA, INSPECT_GAME_INPUT_SCHEMA, STOP_DEV_INPUT_SCHEMA, buildToolDefinitions, getRegisteredToolNamesForProjectMode;
146
190
  var init_tools = __esm({
147
191
  "src/tools.ts"() {
148
192
  "use strict";
@@ -235,7 +279,7 @@ var init_tools = __esm({
235
279
  cwd: z.string().optional(),
236
280
  out: z.string().optional()
237
281
  });
238
- RELEASE_PUBLISH_INPUT_SCHEMA = RELEASE_PLATFORM_INPUT_SCHEMA.extend({
282
+ RELEASE_MUTATION_INPUT_SCHEMA = RELEASE_PLATFORM_INPUT_SCHEMA.extend({
239
283
  releaseId: z.string().min(1)
240
284
  });
241
285
  READ_LOGS_INPUT_SCHEMA = z.object({
@@ -263,50 +307,21 @@ var init_tools = __esm({
263
307
  processId: z.string().optional(),
264
308
  mode: z.enum(["standalone-dev", "arcade-dev", "arcade-test"]).optional()
265
309
  });
266
- buildConnectControllerSchema = (projectMode) => z.object({
267
- cwd: z.string().optional(),
268
- gameId: z.string().optional(),
269
- mode: buildGameSessionModeSchema(projectMode),
270
- secure: z.boolean().optional(),
271
- roomId: z.string().min(1).optional(),
272
- controllerJoinUrl: z.string().url().optional(),
273
- controllerId: z.string().min(3).optional(),
274
- deviceId: z.string().min(8).optional(),
275
- nickname: z.string().min(1).optional(),
276
- avatarId: z.string().min(1).optional(),
277
- capabilityToken: z.string().min(1).optional(),
278
- timeoutMs: z.number().int().positive().optional()
279
- });
280
310
  buildToolDefinitions = ({
281
311
  projectMode
282
312
  }) => {
283
313
  const runQualityGateInputSchema = buildQualityGateSchema(projectMode);
284
314
  const startDevInputSchema = buildStartDevSchema(projectMode);
285
315
  const topologyInputSchema = buildTopologySchema(projectMode);
286
- const inspectGameAgentContractInputSchema = z.object({
287
- cwd: z.string().optional(),
288
- gameId: z.string().optional()
289
- });
290
- const openGameSessionInputSchema = buildConnectControllerSchema(projectMode);
291
- const captureGameSessionInputSchema = z.object({
292
- gameSessionId: z.string().uuid(),
293
- timeoutMs: z.number().int().positive().optional()
294
- });
295
- const gameSessionInputSchema = z.object({
296
- gameSessionId: z.string().min(1)
297
- });
298
- const sendGameSessionInputSchema = gameSessionInputSchema.extend({
299
- input: z.record(z.string(), z.unknown())
300
- });
301
- const readGameSessionInputSchema = gameSessionInputSchema.extend({
302
- requestSync: z.boolean().optional(),
303
- timeoutMs: z.number().int().positive().optional()
304
- });
305
- const invokeGameSessionActionInputSchema = gameSessionInputSchema.extend({
306
- actionId: z.string().min(1),
307
- payload: z.unknown().optional(),
308
- timeoutMs: z.number().int().positive().optional()
316
+ const openGameSessionInputSchema = gameSessionOperationSchemas.open.extend({
317
+ mode: buildGameSessionModeSchema(projectMode)
309
318
  });
319
+ const captureGameSessionInputSchema = gameSessionOperationSchemas.capture;
320
+ const gameSessionInputSchema = gameSessionOperationSchemas.close;
321
+ const sendGameSessionInputSchema = gameSessionOperationSchemas.input;
322
+ const readGameSessionInputSchema = gameSessionOperationSchemas.read;
323
+ const observeGameSessionInputSchema = gameSessionOperationSchemas.observe;
324
+ const invokeGameSessionActionInputSchema = gameSessionOperationSchemas.invoke;
310
325
  return {
311
326
  "airjam.inspect_project": {
312
327
  description: "Inspect the current Air Jam project, detect monorepo vs standalone mode, and list available Air Jam capability groups.",
@@ -327,11 +342,6 @@ var init_tools = __esm({
327
342
  inputSchema: INSPECT_GAME_INPUT_SCHEMA,
328
343
  run: async ({ cwd, gameId }) => withJsonText(await inspectGame({ cwd, gameId }))
329
344
  },
330
- "airjam.inspect_game_agent_contract": {
331
- description: "Inspect one game's agent contract, including game-specific snapshot description and semantic controller action metadata.",
332
- inputSchema: inspectGameAgentContractInputSchema,
333
- run: async ({ cwd, gameId }) => withJsonText(await inspectGameAgentContract({ cwd, gameId }))
334
- },
335
345
  "airjam.read_logs": {
336
346
  description: "Read the canonical Air Jam unified dev log stream. Start with view=signal and a bounded tail before adding more filters.",
337
347
  inputSchema: READ_LOGS_INPUT_SCHEMA,
@@ -516,7 +526,7 @@ var init_tools = __esm({
516
526
  },
517
527
  "airjam.release_publish": {
518
528
  description: "Publish one ready hosted release on the Air Jam platform.",
519
- inputSchema: RELEASE_PUBLISH_INPUT_SCHEMA,
529
+ inputSchema: RELEASE_MUTATION_INPUT_SCHEMA,
520
530
  run: async ({
521
531
  platformUrl,
522
532
  releaseId
@@ -527,6 +537,14 @@ var init_tools = __esm({
527
537
  })
528
538
  )
529
539
  },
540
+ "airjam.release_archive": {
541
+ description: "Retire one exact owned hosted release so it can no longer be played.",
542
+ inputSchema: RELEASE_MUTATION_INPUT_SCHEMA,
543
+ run: async ({
544
+ platformUrl,
545
+ releaseId
546
+ }) => withJsonText(await archivePlatformRelease({ platformUrl, releaseId }))
547
+ },
530
548
  "airjam.start_dev": {
531
549
  description: "Start the Air Jam local dev stack for the current project and return the managed process id plus resolved topology.",
532
550
  inputSchema: startDevInputSchema,
@@ -556,21 +574,101 @@ var init_tools = __esm({
556
574
  inputSchema: topologyInputSchema,
557
575
  run: async (input) => withJsonText(await getTopology(input))
558
576
  },
577
+ "airjam.list_game_test_profiles": {
578
+ description: "Discover authored game scenarios and their code, random or model policies. Runs own bounded participant lifetimes, with actual host observations and retained receipts.",
579
+ inputSchema: gameRunDiscoverySchema,
580
+ run: async (input) => withJsonText(await listGameTestProfiles(input))
581
+ },
582
+ "airjam.start_game_run": {
583
+ description: "Start an authored test (kind=test, profile, policy and budget) or a profile-free model player (kind=play, current room only, optional intent, ten-minute safety deadline and no verdict). Supply a stable UUID runId; retries return the same admission. Play requires the creator's granted current room. Tests may also target owned or headless rooms. Target headless plays with no page on game time, far faster than real time; owned plays the built page. Read or stop by runId.",
584
+ inputSchema: z.object({
585
+ ...z.object(startTestGameRunSchema.shape).partial().shape,
586
+ ...z.object(startPlayGameRunSchema.shape).partial().shape,
587
+ kind: z.enum(["test", "play"]).default("test"),
588
+ runId: startTestGameRunSchema.shape.runId,
589
+ target: startTestGameRunSchema.shape.target
590
+ }),
591
+ run: async (input) => withJsonText(await startGameRun(startGameRunSchema.parse(input)))
592
+ },
593
+ "airjam.read_game_run": {
594
+ description: "Read a run's actual state, controller ownership, counters, terminal reason and cleanup/evidence receipts.",
595
+ inputSchema: gameRunAddressSchema,
596
+ run: async (input) => withJsonText(await readGameRun(input))
597
+ },
598
+ "airjam.wait_game_run": {
599
+ description: "Wait for a terminal run or a bounded timeout. Returns the actual record; a timeout or disconnected client never stops the run.",
600
+ inputSchema: gameRunWaitSchema,
601
+ run: async (input) => withJsonText(await waitGameRun(input))
602
+ },
603
+ "airjam.replay_game_run": {
604
+ description: "Replay an ended headless run from its recorded input log on a fresh copy of the game, with no server or page, and report whether it ends where the run ended: the same agent view, simulation and step.",
605
+ inputSchema: gameRunAddressSchema,
606
+ run: async (input) => withJsonText(await replayGameRun(input))
607
+ },
608
+ "airjam.stop_game_run": {
609
+ description: "Stop a policy run, release its inputs, retain a final actual observation, and disconnect its owned controllers/host. Idempotent.",
610
+ inputSchema: gameRunAddressSchema,
611
+ run: async (input) => withJsonText(await stopGameRun(input))
612
+ },
613
+ "airjam.steer_game_run": {
614
+ description: "Change what one seat of an active run is trying to do, in words its decision-model policy reads, or clear it with null. Never sends a control; the policy still decides. Each change is recorded on the run with its time and source.",
615
+ inputSchema: gameRunSteerSchema,
616
+ run: async (input) => withJsonText(await steerGameRun(input))
617
+ },
618
+ "airjam.list_game_runs": {
619
+ description: "List activities admitted by this project's current session owner.",
620
+ inputSchema: gameRunDiscoverySchema.pick({ cwd: true }),
621
+ run: async (input) => withJsonText(await listGameRuns(input))
622
+ },
559
623
  "airjam.open_game_session": {
560
- description: "Open one high-level Air Jam game session by connecting a virtual controller and discovering published semantic game actions for the same room.",
624
+ description: "Open a separate owned test host with a virtual controller and live semantic actions. Omit roomId/controllerJoinUrl for semantic testing. Explicit room attachments are participant-only: inputs and raw controller tools, no semantic source interpretation or host actions.",
561
625
  inputSchema: openGameSessionInputSchema,
562
626
  run: async (input) => withJsonText(await openGameSession(input))
563
627
  },
628
+ "airjam.control_game_session_participant": {
629
+ description: "Send a bounded agent participant input, semantic action or release through the actual room. Requires a fresh observed runtime identity and explicit controller-lifetime lease/sequence. Never grants host actions. Retry an unconfirmed command with the identical lease, sequence and envelope; never invent a new sequence to repeat an uncertain action.",
630
+ inputSchema: gameSessionOperationSchemas.control,
631
+ run: async (input) => withJsonText(await controlGameSessionParticipant(input))
632
+ },
564
633
  "airjam.send_game_session_input": {
565
- description: "Send one real player-style input payload through a previously opened Air Jam game session.",
634
+ description: "Send a player's declared controls through a previously opened Air Jam game session: a button true or false (false then true is one press), an axis a number from -1 to 1, a stick an { x, y }.",
566
635
  inputSchema: sendGameSessionInputSchema,
567
636
  run: async (input) => withJsonText(await sendGameSessionInput(input))
568
637
  },
569
638
  "airjam.read_game_session": {
570
- description: "Read one high-level Air Jam game session, including runtime controller state plus any available semantic game snapshot.",
639
+ description: "Read authoritative live state and current semantic actions from an owned game host. Requires semanticAccess=owned-host; never interprets local source for someone else's room.",
571
640
  inputSchema: readGameSessionInputSchema,
572
641
  run: async (input) => withJsonText(await readGameSession(input))
573
642
  },
643
+ "airjam.observe_game_session": {
644
+ description: "Observe fresh live semantic and host-local state from an owned game, with a bounded real render image when supported. Returns runtime identity, sample interval and surface coverage. Does not join a player or invoke actions; unsupported images are explicit.",
645
+ inputSchema: observeGameSessionInputSchema,
646
+ run: async (input) => {
647
+ const observation = await observeGameSession(input);
648
+ const { visual, ...metadata } = observation;
649
+ if (visual.status !== "captured") return withJsonText(observation);
650
+ const { data, ...image } = visual.image;
651
+ return {
652
+ content: [
653
+ ...withJsonText({
654
+ ...metadata,
655
+ visual: { status: "captured", image }
656
+ }).content,
657
+ { type: "image", mimeType: image.mimeType, data }
658
+ ]
659
+ };
660
+ }
661
+ },
662
+ "airjam.read_game_settings": {
663
+ description: "Read the current settings and revision from an owned live game host.",
664
+ inputSchema: gameSessionOperationSchemas["settings-read"],
665
+ run: async (input) => withJsonText(await readGameSettings(input))
666
+ },
667
+ "airjam.update_game_settings": {
668
+ description: "Atomically change live settings on an owned game host using its current revision. Non-live settings require a new room.",
669
+ inputSchema: gameSessionOperationSchemas["settings-update"],
670
+ run: async (input) => withJsonText(await updateGameSettings(input))
671
+ },
574
672
  "airjam.invoke_game_session_action": {
575
673
  description: "Invoke one discovered game-session action by its unified session action id, without manually choosing between player-semantic and host-staging internals.",
576
674
  inputSchema: invokeGameSessionActionInputSchema,
@@ -584,7 +682,7 @@ var init_tools = __esm({
584
682
  "airjam.close_game_session": {
585
683
  description: "Close one previously opened Air Jam game session and disconnect its virtual controller.",
586
684
  inputSchema: gameSessionInputSchema,
587
- run: async ({ gameSessionId }) => withJsonText(await closeGameSession({ gameSessionId }))
685
+ run: async (input) => withJsonText(await closeGameSession(input))
588
686
  }
589
687
  };
590
688
  };
@@ -603,7 +701,7 @@ __export(server_exports, {
603
701
  import { detectProjectContext } from "@air-jam/devtools/context";
604
702
  import { InMemoryTaskStore } from "@modelcontextprotocol/sdk/experimental/tasks";
605
703
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
606
- var DEFAULT_TASK_TTL_MS, TASK_CAPABLE_CLIENT_NOTE, describeToolForRegistration, createToolErrorResult, createAirJamMcpServer;
704
+ var DEFAULT_TASK_TTL_MS, TASK_CAPABLE_CLIENT_NOTE, describeToolForRegistration, createToolErrorResult, EMBEDDED_ROOM_OMITTED_TOOLS, createAirJamMcpServer;
607
705
  var init_server = __esm({
608
706
  "src/server.ts"() {
609
707
  "use strict";
@@ -625,8 +723,27 @@ var init_server = __esm({
625
723
  ],
626
724
  isError: true
627
725
  });
726
+ EMBEDDED_ROOM_OMITTED_TOOLS = /* @__PURE__ */ new Set([
727
+ "airjam.start_dev",
728
+ "airjam.stop_dev",
729
+ "airjam.reset_local",
730
+ "airjam.start_game_run",
731
+ "airjam.stop_game_run",
732
+ "airjam.steer_game_run",
733
+ "airjam.open_game_session",
734
+ "airjam.control_game_session_participant",
735
+ "airjam.send_game_session_input",
736
+ "airjam.read_game_session",
737
+ "airjam.observe_game_session",
738
+ "airjam.read_game_settings",
739
+ "airjam.update_game_settings",
740
+ "airjam.invoke_game_session_action",
741
+ "airjam.capture_game_session_visuals",
742
+ "airjam.close_game_session"
743
+ ]);
628
744
  createAirJamMcpServer = async ({
629
- cwd = process.cwd()
745
+ cwd = process.cwd(),
746
+ embeddedRoom = false
630
747
  } = {}) => {
631
748
  const context = await detectProjectContext({ cwd });
632
749
  const toolDefinitions = buildToolDefinitions({
@@ -658,6 +775,7 @@ var init_server = __esm({
658
775
  }
659
776
  );
660
777
  for (const toolName of registeredToolNames) {
778
+ if (embeddedRoom && EMBEDDED_ROOM_OMITTED_TOOLS.has(toolName)) continue;
661
779
  const tool = toolDefinitions[toolName];
662
780
  const description = describeToolForRegistration({
663
781
  description: tool.description,
@@ -727,6 +845,8 @@ Official Air Jam MCP server
727
845
  Options:
728
846
  -h, --help Show this help text
729
847
  -V, --version Show the installed package version
848
+ --embedded-room The embedding application owns the game room: omit tools that
849
+ start a dev server, game host, session or run of their own
730
850
  `;
731
851
  var argv = process.argv.slice(2);
732
852
  if (argv.includes("--help") || argv.includes("-h")) {
@@ -739,7 +859,9 @@ if (argv.includes("--version") || argv.includes("-V")) {
739
859
  process.exit(0);
740
860
  }
741
861
  var { createAirJamMcpServer: createAirJamMcpServer2 } = await Promise.resolve().then(() => (init_server(), server_exports));
742
- var server = await createAirJamMcpServer2();
862
+ var server = await createAirJamMcpServer2({
863
+ embeddedRoom: argv.includes("--embedded-room")
864
+ });
743
865
  var transport = new StdioServerTransport();
744
866
  await server.connect(transport);
745
867
  //# sourceMappingURL=cli.js.map