GlianaAI MCP server
Pay-per-call generative AI for any MCP client (Claude Desktop, Cursor, …).
70+ models — image, video, video editing, music, speech — with no signup and
no API key. Each generate is paid per call from your own wallet over MPP / x402.
- Browse + price models for free (
list_models,get_price,get_schema). generateruns a model and settles the gateway's 402 from your wallet (USDC on Base). Your private key is read from the client config and never leaves your machine — non-custodial, same model as ai.glianalabs.com.
Tools
| Tool | Paid? | Description |
|---|---|---|
list_models | free | Every model: id, category, provider, per-call price. |
get_price | free | Exact cost of one call (input affects it — video duration, TTS length). |
get_schema | free | A model's input fields (required, defaults). |
generate | paid | Run a model → media URL. Pays from your wallet. |
File inputs
Models that take a source file (image-to-video, video-to-video, transcription) accept
a public URL in their file field (e.g. image, video_uri). Have a local file?
Upload it first — no key, no payment:
curl -X POST https://api.glianalabs.com/v1/media \
-H "content-type: video/mp4" --data-binary @clip.mp4
# → { "url": "https://api.glianalabs.com/v1/media/<id>.mp4" }
Pass the returned url into the model field. Max 40 MB; video / image / audio only.
Install
Add to your MCP client config.
Claude Desktop (claude_desktop_config.json) / Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"gliana-ai": {
"command": "npx",
"args": ["-y", "gliana-ai-mcp"],
"env": {
"GLIANA_WALLET_KEY": "0xYOUR_EVM_PRIVATE_KEY"
}
}
}
}
Payment rails
generate settles the gateway's 402 from your wallet. Pick a rail and set its key:
| Rail | Env var | Wallet needs |
|---|---|---|
| base (default) | GLIANA_WALLET_KEY (0x EVM key) | USDC on Base — gasless EIP-3009 signature |
| tempo | GLIANA_WALLET_KEY (same 0x key) | USDC on Tempo |
| solana | GLIANA_SOLANA_KEY (base58 or JSON-array secret key) | USDC on Solana |
GLIANA_RAIL—base|tempo|solana. Optional; defaults tobase(orsolanaif only a Solana key is set). The wallet must hold USDC on that chain.GLIANA_API_URL— optional, defaults tohttps://api.glianalabs.com.
Keys are needed only for generate; the discovery tools work without any.
Restart the client. Ask it to "list GlianaAI models" or "generate an image of a red fox with nano-banana-2".
Funding
Fund the wallet with a few dollars of USDC on your chosen chain (Base, Tempo, or
Solana). You pay only the per-call price (see get_price); there's no
subscription and no balance held by us.
Use a dedicated low-balance wallet for agents. Never paste your main wallet's key into any config.
Links
- Website: https://ai.glianalabs.com
- API docs: https://ai.glianalabs.com/docs
- Discoverable on mppscan and x402scan
MIT © Gliana Labs