Skip to main content
Glama
mikeysrecipes

Aiven MCP Server

list_services

Retrieve a list of managed services (PostgreSQL, Kafka, ClickHouse, Valkey, OpenSearch) and connectors available in a specified Aiven project to identify available resources for building solutions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYes

Implementation Reference

  • The handler function for the 'list_services' tool. It takes a project_name, fetches services using aiven_client.get_services(), and returns a list of service names.
    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]
  • Registers the list_services tool with the FastMCP server using the @mcp.tool() decorator.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeysrecipes/mcp-aiven'

If you have feedback or need assistance with the MCP directory API, please join our Discord server