list_services
Retrieve a list of cloud services within a specified Aiven project to manage PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch deployments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes |
Implementation Reference
- mcp_aiven/mcp_server.py:37-42 (handler)The core handler function for the 'list_services' tool. It is decorated with @mcp.tool(), which also serves as the registration mechanism in FastMCP. The function retrieves and returns the list of service names in the specified Aiven project using the Aiven client.@mcp.tool() def list_services(project_name): logger.info("Listing all services in a project: %s", project_name) results = aiven_client.get_services(project=project_name) logger.info(f"Found {len(results)} services") return [s["service_name"] for s in results]