fix(mcp): add shared operations and secure scene APIs

This commit is contained in:
Aymeric Rabot
2026-04-27 17:10:25 -04:00
parent 058ee747c9
commit 8dfd1a9429
81 changed files with 1332 additions and 1786 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
import { z } from 'zod'
import type { SceneBridge } from '../bridge/scene-bridge'
import type { SceneOperations } from '../operations'
export const exportJsonInput = {
pretty: z.boolean().optional(),
@@ -10,7 +10,7 @@ export const exportJsonOutput = {
json: z.string(),
}
export function registerExportJson(server: McpServer, bridge: SceneBridge): void {
export function registerExportJson(server: McpServer, bridge: SceneOperations): void {
server.registerTool(
'export_json',
{