list_projects
Retrieve all Aiven cloud projects to manage database and streaming services for application development.
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, registered via @mcp.tool() decorator. It retrieves all projects from the Aiven client and returns a list of their names.@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]