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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>"
},
"name": "list_services"
}
}Input 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]