chat

Send a message to an AI model via LightningProx. Pay per request with a Lightning spend token. Supports 19 models from Anthropic, OpenAI, Together.ai, Mistral, and Google.

Server Lightningprox unixlamadev-spec/lightningprox-mcp
Category Financial
Risk class Critical
Parameters 00 required

What chat does on Lightningprox

AI agents use chat to commit financial operations through Lightningprox — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Why chat needs a policy

Each call to this tool spends Bitcoin Lightning tokens (sats) to pay for AI model access. It directly consumes prepaid financial tokens, making it a Financial category tool. Misuse could drain a user's Lightning wallet balance through repeated or unintended API calls. The sibling tools 'generate_invoice' and 'get_balance' further confirm this is a payment-oriented system.

From the tool's definition Pay per request with a Lightning spend token

Questions about chat

What does the chat tool do? +

Send a message to an AI model via LightningProx. Pay per request with a Lightning spend token. Supports 19 models from Anthropic, OpenAI, Together.ai, Mistral, and Google. It is categorised as a Financial tool in the Lightningprox MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on chat? +

Register the Lightningprox MCP server in PolicyLayer and add a rule for chat: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Lightningprox. Nothing to install.

What risk level is chat? +

chat is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit chat? +

Yes. Add a rate_limit block to the chat rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block chat completely? +

Set action: deny in the PolicyLayer policy for chat. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides chat? +

chat is provided by the Lightningprox MCP server (unixlamadev-spec/lightningprox-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.