feat(mcp): finalize scaffolding and factory entry

Adds packages/mcp/.gitignore, src/index.ts (public API barrel),
src/server.ts (createPascalMcpServer factory), and a smoke test
for the public API.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Adrian Perez
2026-04-18 17:50:47 +02:00
co-authored by Claude Opus 4.7
parent 2ae932f384
commit eebbef502d
5 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -13,8 +13,8 @@ if (typeof (globalThis as any).requestAnimationFrame === 'undefined') {
}
}
import useScene from '@pascal-app/core/store'
import { WallNode } from '@pascal-app/core/schema'
import useScene from '@pascal-app/core/store'
function assert(cond: unknown, msg: string): asserts cond {
if (!cond) throw new Error(`ASSERT FAILED: ${msg}`)