gliana-ai-mcp 0.3.2 → 0.3.3
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/index.js +3 -3
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
|
-
* GlianaAI MCP server — exposes pay-per-call generative AI (
|
|
3
|
+
* GlianaAI MCP server — exposes pay-per-call generative AI (60+ models: image,
|
|
4
4
|
* video, music, speech) to any MCP client (Claude Desktop, Cursor, …).
|
|
5
5
|
*
|
|
6
6
|
* Discovery tools (list_models / get_price / get_schema) are free. `generate`
|
|
@@ -114,7 +114,7 @@ const server = new McpServer({
|
|
|
114
114
|
{ src: 'https://ai.glianalabs.com/logo.svg', mimeType: 'image/svg+xml', sizes: ['any'] },
|
|
115
115
|
],
|
|
116
116
|
}, {
|
|
117
|
-
instructions: 'GlianaAI — pay-per-call generative AI across
|
|
117
|
+
instructions: 'GlianaAI — pay-per-call generative AI across 60+ models (image, video, music, speech). No signup or ' +
|
|
118
118
|
'API key. list_models to browse, get_price to quote, get_schema for inputs, generate to run (paid from ' +
|
|
119
119
|
'your own wallet over base/tempo/solana). Set GLIANA_WALLET_KEY / GLIANA_SOLANA_KEY to enable generate.',
|
|
120
120
|
});
|
|
@@ -176,7 +176,7 @@ server.registerTool('get_schema', {
|
|
|
176
176
|
return okv(`${s.model} (${s.category})\nrequired: ${s.required.join(', ') || '—'}\n\nfields:\n${JSON.stringify(s.props, null, 2)}`, { model: s.model, category: s.category, required: s.required, props: s.props });
|
|
177
177
|
});
|
|
178
178
|
server.registerTool('generate', {
|
|
179
|
-
description: 'Run a model and return the result (media URL). PAID: settles the price from your wallet over the configured rail (base/tempo/solana). Call get_schema first for the input shape, get_price for the cost.',
|
|
179
|
+
description: 'Run a model and return the result (media URL). PAID: settles the price from your wallet over the configured rail (base/tempo/solana). Call get_schema first for the input shape, get_price for the cost. File inputs (image/video/audio, e.g. image-to-video or video-to-video `video_uri`) take a public URL — upload a local file with POST /v1/media (≤40MB) to get one.',
|
|
180
180
|
inputSchema: {
|
|
181
181
|
model: z.string().describe('Model id from list_models.'),
|
|
182
182
|
input: z.record(z.any()).describe('Model input, e.g. { prompt: "a red fox" } or { text: "hello" }. See get_schema.'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gliana-ai-mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "MCP server for GlianaAI — pay-per-call generative AI across 59 models (image, video, music, speech). No signup or API key; each generate is paid per call from your own wallet over MPP / x402.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^22.5.0",
|
|
31
|
+
"@x402/evm": "^2.15.0",
|
|
32
|
+
"@x402/fetch": "^2.15.0",
|
|
33
|
+
"@x402/svm": "^2.15.0",
|
|
31
34
|
"typescript": "^5.6.0"
|
|
32
35
|
},
|
|
33
36
|
"keywords": [
|