Files
editor/packages/mcp/package.json
T
Adrian PerezandClaude Opus 4.7 2ae932f384 feat(mcp): scaffold package and confirm headless bridge viability
- Add packages/mcp/ with package.json, tsconfig, PLAN.md, CROSS_CUTTING.md
- Extend @pascal-app/core exports map with subpaths (./schema, ./store,
  ./material-library, ./spatial-grid, ./wall) so Node consumers can skip
  the graphics-bound systems re-export chain.
- Add scripts/spike.ts that proves useScene + temporal work in Node with
  a requestAnimationFrame polyfill. Spike passes end-to-end.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:41:09 +02:00

62 lines
1.4 KiB
JSON

{
"name": "@pascal-app/mcp",
"version": "0.1.0",
"description": "Model Context Protocol server for Pascal 3D editor",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"bin": {
"pascal-mcp": "./dist/bin/pascal-mcp.js"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build": "tsc --build",
"dev": "tsc --build --watch",
"start": "node dist/bin/pascal-mcp.js",
"test": "bun test",
"smoke": "bun run scripts/smoke.ts",
"prepublishOnly": "bun run build && bun test"
},
"peerDependencies": {
"@pascal-app/core": "workspace:*"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@pascal-app/core": "workspace:*",
"@pascal/typescript-config": "*",
"@types/node": "^25.5.0",
"typescript": "5.9.3"
},
"keywords": [
"mcp",
"model-context-protocol",
"pascal",
"3d",
"building",
"editor",
"ai"
],
"repository": {
"type": "git",
"url": "https://github.com/pascalorg/editor.git",
"directory": "packages/mcp"
},
"license": "MIT",
"homepage": "https://github.com/pascalorg/editor/tree/main/packages/mcp#readme",
"bugs": "https://github.com/pascalorg/editor/issues"
}