@gripforgeai/mcp 0.1.18 → 0.1.19
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/server.js +7 -5
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -2206,17 +2206,19 @@ server.tool('gripforge_font', 'Google-font CSS + exact HUD copy (DMC: Cinzel D
|
|
|
2206
2206
|
return err(String(data.error ?? res.status));
|
|
2207
2207
|
return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
|
|
2208
2208
|
});
|
|
2209
|
-
server.tool('gripforge_loading_page', 'Loading overlay for Three/Godot/Unity/Unreal. Title is text. Overlay 0 credits. Pass character_id to generate a 16:9 cinematic still of that Library character (1 credit, no letters in the image).', {
|
|
2210
|
-
|
|
2209
|
+
server.tool('gripforge_loading_page', 'Loading overlay for Three/Godot/Unity/Unreal. project_id uses persistent quoted generation: action quote → accept → get → apply, with creation_id and quote_token. Title is text. Overlay 0 credits. Pass character_id to generate a 16:9 cinematic still of that Library character (1 credit, no letters in the image).', {
|
|
2210
|
+
project_id: z.string().optional(), action: z.enum(['quote', 'accept', 'get', 'apply']).optional(), creation_id: z.string().optional(), quote_token: z.string().optional(),
|
|
2211
|
+
prompt: z.string().min(2).max(2000).describe('e.g. devil may cry like'),
|
|
2211
2212
|
character_id: z.string().optional().describe('lib_… character/enemy/bind — generate background still'),
|
|
2212
|
-
}, async (
|
|
2213
|
+
}, async (args) => {
|
|
2214
|
+
const { prompt, character_id } = args;
|
|
2213
2215
|
if (!API_KEY)
|
|
2214
2216
|
return err('GRIPFORGE_API_KEY missing.');
|
|
2215
|
-
if (character_id) {
|
|
2217
|
+
if (character_id || args.project_id) {
|
|
2216
2218
|
const res = await fetch(`${API_URL}/api/v1/loading-page`, {
|
|
2217
2219
|
method: 'POST',
|
|
2218
2220
|
headers: { ...apiHeaders(), 'content-type': 'application/json' },
|
|
2219
|
-
body: JSON.stringify(
|
|
2221
|
+
body: JSON.stringify(args),
|
|
2220
2222
|
});
|
|
2221
2223
|
const data = await res.json().catch(() => ({}));
|
|
2222
2224
|
if (!res.ok)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gripforgeai/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "The tools your AI needs to make your games. Turn prompts into production-ready game assets \u2014 animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs \u2014 and playable game kits Unity, Godot, Unreal or Three.js can load.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|