list_services
Retrieve a list of managed cloud services (PostgreSQL, Kafka, ClickHouse, Valkey, OpenSearch) for a specific Aiven project to monitor and manage your infrastructure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes |
Implementation Reference
- mcp_aiven/mcp_server.py:37-42 (handler)The handler function for the 'list_services' MCP tool. Decorated with @mcp.tool(), which registers it with the FastMCP server. It lists service names in the given Aiven project.@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]