list_services
Retrieve all managed database and streaming services for a specific Aiven project to monitor and manage cloud 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' tool. It takes a project_name parameter, fetches services using aiven_client.get_services, and returns a list of service names.@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]
- mcp_aiven/mcp_server.py:37-37 (registration)The @mcp.tool() decorator registers the list_services function as an MCP tool.@mcp.tool()