Skip to main content
Glama

Enkrypt AI MCP Server

Official
by enkryptai

list_models

Retrieve and display a list of available AI models, including detailed information about the first model, for analysis and integration within the Enkrypt AI MCP Server.

Instructions

List all models and print details of the first model.

Returns: A dictionary containing the list of models.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "list_modelsArguments", "type": "object" }

Implementation Reference

  • The core handler function for the 'list_models' MCP tool. It is registered via the @mcp.tool() decorator and retrieves the list of all models using model_client.get_model_list(), returning them as a dictionary.
    @mcp.tool() def list_models() -> Dict[str, Any]: """ List all models and print details of the first model. Returns: A dictionary containing the list of models. """ # List all models models = model_client.get_model_list() # Return the list of models as a dictionary return models.to_dict()

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/enkryptai/enkryptai-mcp-server'

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