@mosvera/mcp 0.1.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/LICENSE +202 -0
- package/README.md +165 -0
- package/dist/context.d.ts +18 -0
- package/dist/context.js +179 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.js +19 -0
- package/dist/examples/README.md +16 -0
- package/dist/examples/cinematic-editorial/README.md +22 -0
- package/dist/examples/cinematic-editorial/composition.json +14 -0
- package/dist/examples/cinematic-editorial/manifests/illustrative-image.manifest.json +16 -0
- package/dist/examples/cinematic-editorial/merge-strategies.json +3 -0
- package/dist/examples/cinematic-editorial/modifier.golden-hour.json +10 -0
- package/dist/examples/cinematic-editorial/modifier.high-contrast.json +5 -0
- package/dist/examples/cinematic-editorial/palette.editorial-warm.json +10 -0
- package/dist/examples/cinematic-editorial/template.base.json +11 -0
- package/dist/examples/cinematic-editorial/template.noir.json +7 -0
- package/dist/examples/demo-aesthetics/README.md +11 -0
- package/dist/examples/demo-aesthetics/composition.cinematic-lab.json +5 -0
- package/dist/examples/demo-aesthetics/composition.claymation-playful-builder.json +5 -0
- package/dist/examples/demo-aesthetics/composition.quiet-editorial.json +5 -0
- package/dist/examples/demo-aesthetics/composition.technical-manual.json +5 -0
- package/dist/examples/demo-aesthetics/template.cinematic-lab-base.json +45 -0
- package/dist/examples/demo-aesthetics/template.claymation-playful-builder-base.json +45 -0
- package/dist/examples/demo-aesthetics/template.quiet-editorial-base.json +45 -0
- package/dist/examples/demo-aesthetics/template.technical-manual-base.json +45 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +7 -0
- package/dist/mcp-result.d.ts +10 -0
- package/dist/mcp-result.js +26 -0
- package/dist/project-writes.d.ts +8 -0
- package/dist/project-writes.js +70 -0
- package/dist/registry/loader.d.ts +4 -0
- package/dist/registry/loader.js +85 -0
- package/dist/registry/preflight.d.ts +3 -0
- package/dist/registry/preflight.js +28 -0
- package/dist/registry/strategies.d.ts +9 -0
- package/dist/registry/strategies.js +30 -0
- package/dist/server.d.ts +6 -0
- package/dist/server.js +172 -0
- package/dist/tools/aesthetic.d.ts +57 -0
- package/dist/tools/aesthetic.js +331 -0
- package/dist/tools/compile-generation.d.ts +12 -0
- package/dist/tools/compile-generation.js +67 -0
- package/dist/tools/get-palette.d.ts +11 -0
- package/dist/tools/get-palette.js +23 -0
- package/dist/tools/list-templates.d.ts +6 -0
- package/dist/tools/list-templates.js +15 -0
- package/dist/tools/resolve-composition.d.ts +8 -0
- package/dist/tools/resolve-composition.js +38 -0
- package/dist/tools/validate-schema.d.ts +6 -0
- package/dist/tools/validate-schema.js +17 -0
- package/dist/types.d.ts +58 -0
- package/dist/types.js +7 -0
- package/examples/README.md +16 -0
- package/examples/cinematic-editorial/README.md +22 -0
- package/examples/cinematic-editorial/composition.json +14 -0
- package/examples/cinematic-editorial/manifests/illustrative-image.manifest.json +16 -0
- package/examples/cinematic-editorial/merge-strategies.json +3 -0
- package/examples/cinematic-editorial/modifier.golden-hour.json +10 -0
- package/examples/cinematic-editorial/modifier.high-contrast.json +5 -0
- package/examples/cinematic-editorial/palette.editorial-warm.json +10 -0
- package/examples/cinematic-editorial/template.base.json +11 -0
- package/examples/cinematic-editorial/template.noir.json +7 -0
- package/examples/demo-aesthetics/README.md +11 -0
- package/examples/demo-aesthetics/composition.cinematic-lab.json +5 -0
- package/examples/demo-aesthetics/composition.claymation-playful-builder.json +5 -0
- package/examples/demo-aesthetics/composition.quiet-editorial.json +5 -0
- package/examples/demo-aesthetics/composition.technical-manual.json +5 -0
- package/examples/demo-aesthetics/template.cinematic-lab-base.json +45 -0
- package/examples/demo-aesthetics/template.claymation-playful-builder-base.json +45 -0
- package/examples/demo-aesthetics/template.quiet-editorial-base.json +45 -0
- package/examples/demo-aesthetics/template.technical-manual-base.json +45 -0
- package/mcpb/icon.png +0 -0
- package/mcpb/manifest.json +73 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mosvera/mcp",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Run Mosvera as local MCP tools for agents, editors, and Claude Desktop.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"homepage": "https://mosvera.io",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/mosvera/mcp.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/mosvera/mcp/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"mosvera",
|
|
17
|
+
"mcp",
|
|
18
|
+
"model-context-protocol",
|
|
19
|
+
"aesthetic-infrastructure",
|
|
20
|
+
"ai"
|
|
21
|
+
],
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"examples",
|
|
25
|
+
"mcpb",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"bin": {
|
|
37
|
+
"mosvera-mcp": "./dist/server.js"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "npm run clean && tsc -p tsconfig.build.json && node scripts/copy-example-registry.mjs",
|
|
41
|
+
"ci": "npm run build && npm run typecheck && npm test",
|
|
42
|
+
"clean": "rm -rf dist",
|
|
43
|
+
"mcpb:stage": "npm run build && node scripts/stage-mcpb.mjs",
|
|
44
|
+
"mcpb:pack": "npm run mcpb:stage && mcpb pack build/mcpb/mosvera build/mosvera/mosvera-mcp-0.1.1.mcpb",
|
|
45
|
+
"mcpb:inspect": "node scripts/inspect-mcpb.mjs build/mosvera/mosvera-mcp-0.1.1.mcpb",
|
|
46
|
+
"prepublishOnly": "npm run build && npm run typecheck && npm test",
|
|
47
|
+
"start": "tsx src/server.ts",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:watch": "vitest",
|
|
50
|
+
"typecheck": "tsc --noEmit"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"engines": {
|
|
56
|
+
"node": ">=20"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@mosvera/runtime": "^0.1.1",
|
|
60
|
+
"@mosvera/provider-base": "^0.1.1",
|
|
61
|
+
"@mosvera/provider-flux": "^0.1.1",
|
|
62
|
+
"@mosvera/provider-openai": "^0.1.1",
|
|
63
|
+
"@mosvera/provider-sdxl": "^0.1.1",
|
|
64
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
65
|
+
"zod": "^3.24.1"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@anthropic-ai/mcpb": "^2.1.2",
|
|
69
|
+
"typescript": "^5.7.2",
|
|
70
|
+
"vitest": "^4.1.7",
|
|
71
|
+
"tsx": "^4.19.2",
|
|
72
|
+
"@types/node": "^22.10.2"
|
|
73
|
+
}
|
|
74
|
+
}
|