{
  "markdown": "# GlianaAI MCP server\n\n[![Listed on mcpservers.org](https://mcpservers.org/badge.svg)](https://mcpservers.org/servers/gliana-labs/gliana-mcp)\n[![smithery badge](https://smithery.ai/badge/glianalabs/gliana-ai)](https://smithery.ai/servers/glianalabs/gliana-ai)\n[Glama server page](https://glama.ai/mcp/servers/Gliana-Labs/gliana-mcp)\n\nPay-per-call generative AI for any MCP client (Claude Desktop, Cursor, …).\n**90+ models** — image, video, video editing, music, speech, LLM chat — plus utility,\nmarket-data and SEC-filing tools, with **no signup and no API key**. Paid calls settle per call from\n**your own wallet** over MPP / x402.\n\n- Browse + price everything for free (`list_models`, `get_price`, `get_schema`,\n  `list_tools`).\n- `generate` runs a model and settles the gateway's 402 from your wallet (USDC on\n  Base). Your private key is read from the client config and **never leaves your\n  machine** — non-custodial, same model as [ai.glianalabs.com](https://ai.glianalabs.com).\n\n## Tools\n\n| Tool | Paid? | Description |\n|------|-------|-------------|\n| `list_models` | free | Every model: id, category, provider, per-call price. |\n| `get_price` | free | Exact cost of one call (input affects it — video duration, TTS length). |\n| `get_schema` | free | A model's input fields (required, defaults). |\n| `generate` | **paid** | Run a model → media URL, or assistant text for chat models. |\n| `list_tools` | free | Every utility tool: price, HTTP method, example input, guidance. |\n| `tool` | mostly **paid** | Run one utility tool — scraping, screenshots, social cards, OCR, structured extraction, market data, chain RPC, reference data. |\n| `recipe` | **paid** | Run a multi-model pipeline in one call (e.g. text→image→video). |\n\n`list_tools` reads the gateway live, so it is never out of date — which is why this\ntable doesn't enumerate the utility tools. A written-down list goes stale the moment\na new endpoint ships, and this one had.\n\nSome utility tools are **free and need no wallet at all** (`list_tools` reports them\nat `priceMicroUsd: 0`) — currently the Indonesian reference endpoints: official\nregion data, prayer times, and NIK verification.\n\n### File inputs\n\nModels that take a source file (image-to-video, video-to-video, transcription) accept\na **public URL** in their file field (e.g. `image`, `video_uri`). Have a local file?\nUpload it first — no key, no payment:\n\n```bash\ncurl -X POST https://api.glianalabs.com/v1/media \\\n  -H \"content-type: video/mp4\" --data-binary @clip.mp4\n# → { \"url\": \"https://api.glianalabs.com/v1/media/<id>.mp4\" }\n```\n\nPass the returned `url` into the model field. Max 40 MB; video / image / audio only.\n\n## Install\n\nAdd to your MCP client config.\n\n**Claude Desktop** (`claude_desktop_config.json`) / **Cursor** (`~/.cursor/mcp.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"gliana-ai\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gliana-ai-mcp\"],\n      \"env\": {\n        \"GLIANA_WALLET_KEY_FILE\": \"/absolute/path/to/gliana-wallet.key\"\n      }\n    }\n  }\n}\n```\n\n### Payment rails\n\n`generate` settles the gateway's 402 from your wallet. Pick a rail and set its key:\n\n> **Use a dedicated wallet, funded with only what you intend to spend.**\n> This server signs payments locally — the key never leaves your machine and is\n> never sent to us — but it is still a private key on a machine running an AI\n> agent. Do not use a wallet that holds anything you would miss.\n>\n> **Prefer `*_KEY_FILE` over the inline variable.** Your MCP client config gets\n> synced to cloud storage, committed by accident, and screenshotted when you ask\n> someone for help. A file you `chmod 600` does not:\n>\n> ```bash\n> printf '%s' '0xYOUR_KEY' > ~/.gliana-wallet.key && chmod 600 ~/.gliana-wallet.key\n> ```\n>\n> Inline still works if you prefer it — the server just warns on stderr.\n\n| Rail | Env var | Wallet needs |\n|------|---------|--------------|\n| **base** (default) | `GLIANA_WALLET_KEY_FILE` or `GLIANA_WALLET_KEY` (0x EVM key) | USDC on Base — gasless EIP-3009 signature |\n| **tempo** | same key as base | USDC on Tempo |\n| **solana** | `GLIANA_SOLANA_KEY_FILE` or `GLIANA_SOLANA_KEY` (base58 or JSON-array secret key) | USDC on Solana |\n\n- `GLIANA_RAIL` — `base` \\| `tempo` \\| `solana`. Optional; defaults to `base` (or\n  `solana` if only a Solana key is set). The wallet must hold USDC on that chain.\n- `GLIANA_API_URL` — optional, defaults to `https://api.glianalabs.com`.\n\nKeys are needed only for paid calls. The discovery tools — and the free utility\ntools `list_tools` reports at `priceMicroUsd: 0` — work without any wallet.\n\nRestart the client. Ask it to *\"list GlianaAI models\"* or *\"generate an image of a\nred fox with nano-banana-2\"*.\n\n## Funding\n\nFund the wallet with a few dollars of USDC on your chosen chain (Base, Tempo, or\nSolana). You pay only the per-call price (see `get_price`); there's no\nsubscription and no balance held by us.\n\n> Use a dedicated low-balance wallet for agents. Never paste your main wallet's\n> key into any config.\n\n## Links\n\n- Website: https://ai.glianalabs.com\n- API docs: https://ai.glianalabs.com/docs\n- Discoverable on [mppscan](https://mppscan.com) and [x402scan](https://www.x402scan.com)\n\nMIT © Gliana Labs\n",
  "bytes": 5183,
  "sha": "c4d7f39a1ccf95b7b613fba08adb439755ba16e564d4457ba65ad6bdcbd95267",
  "repo_slug": "gliana-labs/gliana-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_gliana_labs_gliana_ai_mcp_abc266e2/readme"
}