lightningprox-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ask_aiA | Send a prompt or a conversation to an AI model through LightningProx (24 models: Claude, GPT, Gemini, DeepSeek, Mistral and more), paid in sats from your spend token. Returns the reply text, any tool_use blocks, the model used and your remaining balance. Without a spend token it returns a Lightning invoice (L402) for this exact request. |
| list_modelsA | List the models LightningProx currently serves: ID, provider, whether it supports tool use, and the per-token price when available. |
| check_balanceA | Check the balance (sats), expiry and status of the configured spend token (LIGHTNINGPROX_SPEND_TOKEN). |
| create_topupA | Create a Lightning invoice to buy a LightningProx spend token (10 to 100,000 sats). After paying it, call get_token with the returned charge_id. Tokens last 30 days. |
| get_tokenA | After paying a create_topup invoice, exchange its charge_id for the lnpx_ spend token. Safe to call again: it returns the same token. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool has a distinct role: listing models, running inference, checking balance, creating a top-up invoice, and exchanging a charge_id for a token. The only potentially adjacent pair (create_topup and get_token) is explicitly distinguished by the descriptions, which describe them as sequential steps in a payment flow.
All five tools follow a consistent snake_case verb_noun pattern (ask_ai, list_models, check_balance, create_topup, get_token). The convention is predictable and readable throughout.
Five tools is well-scoped for a pay-per-use AI proxy: each tool covers a necessary step in the discover-pay-query workflow. No tool feels redundant or missing from a count perspective.
The surface covers the full lifecycle: discover models, top up, obtain a token, ask a model, and check balance, with ask_ai accepting conversations and surfacing tool_use blocks. Minor gaps remain, such as no token revocation or usage/history inspection, but agents can work around these.