list_services
Retrieve a list of Aiven cloud services for a specific project to manage and monitor PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch instances.
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. It is registered via the @mcp.tool() decorator and lists the 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]