list_projects
Retrieve all Aiven cloud projects to manage PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch services for building full-stack solutions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp_aiven/mcp_server.py:29-34 (handler)The handler function for the 'list_projects' tool. It uses the Aiven client to fetch all projects and returns a list of their names. The @mcp.tool() decorator registers it with the MCP server.@mcp.tool() def list_projects(): logger.info("Listing all projects") results = aiven_client.get_projects() logger.info(f"Found {len(results)} projects") return [result['project_name'] for result in results]