Skip to main content
Glama
list_providers.py638 B
""" List providers functionality for just-prompt. """ from typing import List, Dict import logging from ..atoms.shared.data_types import ModelProviders logger = logging.getLogger(__name__) def list_providers() -> List[Dict[str, str]]: """ List all available providers with their full and short names. Returns: List of dictionaries with provider information """ providers = [] for provider in ModelProviders: providers.append({ "name": provider.name, "full_name": provider.full_name, "short_name": provider.short_name }) return providers

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/disler/just-prompt'

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