get_service_details
Retrieve detailed information about a specified Aiven service (e.g., PostgreSQL, Kafka) by providing the project and service name for integration or management purposes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| service_name | Yes |
Implementation Reference
- mcp_aiven/mcp_server.py:45-49 (handler)The handler function for the 'get_service_details' tool. It logs the request, retrieves the service details using the Aiven client, and returns the result. The @mcp.tool() decorator also registers this function as a tool.@mcp.tool() def get_service_details(project_name, service_name): logger.info("Fetching details for service: %s in project: %s", service_name, project_name) result = aiven_client.get_service(project=project_name, service=service_name) return result