list_deployments
Retrieve and display details of all deployments, starting with the first one. Provides a dictionary listing deployment information for Enkrypt AI MCP Server integration.
Instructions
List all deployments and print details of the first deployment.
Returns: A dictionary containing the list of deployments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "list_deploymentsArguments",
"type": "object"
}
Implementation Reference
- src/mcp_server.py:899-910 (handler)The core handler function for the 'list_deployments' MCP tool. It is decorated with @mcp.tool() for registration and execution. The function calls deployment_client.list_deployments() and returns the result as a dictionary.def list_deployments() -> Dict[str, Any]: """ List all deployments and print details of the first deployment. Returns: A dictionary containing the list of deployments. """ # List all deployments deployments = deployment_client.list_deployments() # Return the list of deployments as a dictionary return deployments.to_dict()