list_projects
Retrieve all Aiven cloud projects to view managed database and streaming services available 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' MCP tool, decorated with @mcp.tool(). It uses the global aiven_client to fetch all projects 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]