Skip to main content
Glama
unixlamadev-spec

lightningprox-mcp

list_models

Discover available AI models for pay-per-request access via Bitcoin Lightning, including details on providers, pricing, and model IDs.

Instructions

List all AI models available through LightningProx. Returns model IDs, names, providers, and pricing. 19 models across Anthropic, OpenAI, Together.ai, Mistral, and Google.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the list_models tool.
    async function listModels(): Promise<any> {
      const res = await fetch(`${LIGHTNINGPROX_URL}/api/capabilities`);
      if (!res.ok) throw new Error(`Failed to fetch models: ${res.statusText}`);
      return res.json();
    }
  • src/index.ts:52-58 (registration)
    The registration of the list_models tool.
    name: "list_models",
    description:
      "List all AI models available through LightningProx. Returns model IDs, names, providers, and pricing. 19 models across Anthropic, OpenAI, Together.ai, Mistral, and Google.",
    inputSchema: {
      type: "object",
      properties: {},
      required: [],

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/unixlamadev-spec/lightningprox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server