sceneview-mcp 4.0.3 → 4.0.5
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/dist/proxy.js +3 -3
- package/dist/tiers.js +22 -11
- package/dist/tools/handler.js +1 -1
- package/package.json +1 -1
package/dist/proxy.js
CHANGED
|
@@ -44,9 +44,9 @@ export async function dispatchProxyToolCall(toolName, args, options = {}) {
|
|
|
44
44
|
`\`${toolName}\` is a SceneView MCP Pro tool. ` +
|
|
45
45
|
`Set \`SCENEVIEW_API_KEY\` to an API key from ` +
|
|
46
46
|
`${DEFAULT_PRICING_URL} to unlock it.\n\n` +
|
|
47
|
-
`Pro unlocks
|
|
48
|
-
`
|
|
49
|
-
|
|
47
|
+
`Pro unlocks 27 specialized tools: 3D preview / artifact / scene ` +
|
|
48
|
+
`generation, plus the Automotive / Gaming / Healthcare / Interior ` +
|
|
49
|
+
`packages. All setup, migration, and reference guides are free.`,
|
|
50
50
|
},
|
|
51
51
|
],
|
|
52
52
|
isError: true,
|
package/dist/tiers.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
// ─── Tool tier system ─────────────────────────────────────────────────────────
|
|
2
2
|
//
|
|
3
3
|
// Defines free vs pro tool access for SceneView MCP.
|
|
4
|
-
// ─── Free tools
|
|
4
|
+
// ─── Free tools ──────────────────────────────────────────────────────────────
|
|
5
|
+
//
|
|
6
|
+
// 4.0.5: setup guides + cross-platform docs moved from Pro to Free. Rationale:
|
|
7
|
+
// these are the entry-point tools any developer hits when integrating
|
|
8
|
+
// SceneView. Gating them behind a paywall was killing adoption (see
|
|
9
|
+
// `.claude/plans/strategic-pivot-april-2026.md`). Pro is now reserved for
|
|
10
|
+
// the 4 vertical packages (Automotive / Gaming / Healthcare / Interior) and
|
|
11
|
+
// the 3 generation tools (preview, artifact, scene generation).
|
|
5
12
|
const FREE_TOOLS = [
|
|
6
13
|
"get_started",
|
|
7
14
|
"view_3d_model",
|
|
@@ -22,21 +29,24 @@ const FREE_TOOLS = [
|
|
|
22
29
|
"get_platform_roadmap",
|
|
23
30
|
"search_models",
|
|
24
31
|
"analyze_project",
|
|
25
|
-
|
|
26
|
-
// ─── Pro tools ────────────────────────────────────────────────────────────────
|
|
27
|
-
const PRO_TOOLS = [
|
|
28
|
-
// Core pro tools
|
|
32
|
+
// Setup guides (moved from Pro in 4.0.5)
|
|
29
33
|
"get_ios_setup",
|
|
30
34
|
"get_web_setup",
|
|
31
35
|
"get_ar_setup",
|
|
32
36
|
"get_platform_setup",
|
|
37
|
+
// Migration tools (moved from Pro in 4.0.5)
|
|
33
38
|
"migrate_code",
|
|
34
39
|
"get_migration_guide",
|
|
40
|
+
// Static docs guides (moved from Pro in 4.0.5)
|
|
41
|
+
"get_model_optimization_guide",
|
|
42
|
+
"get_web_rendering_guide",
|
|
43
|
+
];
|
|
44
|
+
// ─── Pro tools ────────────────────────────────────────────────────────────────
|
|
45
|
+
const PRO_TOOLS = [
|
|
46
|
+
// Generation tools (heavier, may involve external infra)
|
|
35
47
|
"render_3d_preview",
|
|
36
48
|
"create_3d_artifact",
|
|
37
49
|
"generate_scene",
|
|
38
|
-
"get_model_optimization_guide",
|
|
39
|
-
"get_web_rendering_guide",
|
|
40
50
|
// Automotive package
|
|
41
51
|
"get_car_configurator",
|
|
42
52
|
"get_dashboard_3d",
|
|
@@ -91,12 +101,13 @@ export function getFreeToolNames() {
|
|
|
91
101
|
// ─── Upgrade message ──────────────────────────────────────────────────────────
|
|
92
102
|
export const PRO_UPGRADE_MESSAGE = `## \u{1F512} Pro Feature
|
|
93
103
|
|
|
94
|
-
This tool
|
|
104
|
+
This tool is part of a specialized package (Automotive / Gaming / Healthcare / Interior) or a heavier generation tool. SceneView MCP Pro unlocks them.
|
|
95
105
|
|
|
96
106
|
**Upgrade for \u20AC19/month** to unlock:
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
|
|
107
|
+
- 4 vertical packages (Automotive, Gaming, Healthcare, Interior — 24 specialized tools)
|
|
108
|
+
- 3D preview, artifact, and scene-generation helpers
|
|
109
|
+
|
|
110
|
+
All setup, migration, and reference guides remain free.
|
|
100
111
|
|
|
101
112
|
\u2192 Subscribe at https://sceneview-mcp.mcp-tools-lab.workers.dev/pricing
|
|
102
113
|
\u2192 Then set your API key: \`SCENEVIEW_API_KEY=your_key\``;
|
package/dist/tools/handler.js
CHANGED
|
@@ -44,7 +44,7 @@ const DISCLAIMER = "\n\n---\n*Generated code suggestion. Review before use in pr
|
|
|
44
44
|
// `SCENEVIEW_SPONSOR_CTA=0`. The counter is module-scoped (per MCP process
|
|
45
45
|
// lifetime), not persisted.
|
|
46
46
|
const SPONSOR_CTA_INTERVAL = 10;
|
|
47
|
-
const SPONSOR_CTA = "\n\n💙 *Building SceneView is a one-dev labor of love. If
|
|
47
|
+
const SPONSOR_CTA = "\n\n💙 *Building SceneView is a one-dev labor of love. If it saved you time, consider [supporting on GitHub Sponsors](https://github.com/sponsors/sceneview).*";
|
|
48
48
|
let toolCallCount = 0;
|
|
49
49
|
/** Test-only: reset the module-scoped counter between test cases. */
|
|
50
50
|
export function __resetSponsorCounter() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sceneview-mcp",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"mcpName": "io.github.sceneview/mcp",
|
|
5
5
|
"description": "MCP server for SceneView — cross-platform 3D & AR SDK for Android and iOS. Give Claude the full SceneView SDK so it writes correct, compilable code.",
|
|
6
6
|
"keywords": [
|