Labsco
JohnKennedyOSS logo

Aiven

from JohnKennedyOSS

Manage Aiven cloud services like Kafka, PostgreSQL, and Redis via its API.

🔥🔥🔥✓ VerifiedAccount requiredNeeds API keys

MCP Aiven Docker

A simple Docker container for the MCP Aiven server.

API Endpoints

  • GET /: HTML page showing the server status and environment variables
  • GET /api/projects: JSON response with the list of projects

Stopping the Server

docker-compose down

Aiven MCP Server

An MCP server for Aiven.

Features

Tools

  • list_projects

    • List all projects on your Aiven account.
  • list_services

    • List all services in a specific Aiven project.
  • get_service_details

    • Get the detail of your service in a specific Aiven project.
  • get_metadata

    • Get the metadata of a specific Aiven service, currently only working for Aiven for PostgreSQL®.
  • run_query

    • Run a query against a specific Aiven service, currently only working for Aiven for PostgreSQL®.

Development

  1. Add the following variables to a .env file in the root of the repository.
AIVEN_BASE_URL=https://api.aiven.io
AIVEN_PROJECT_NAME=$DEFAULT_PROJECT_NAME
AIVEN_TOKEN=$AIVEN_TOKEN
  1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.

  2. For easy testing, you can run mcp dev mcp_aiven/mcp_server.py to start the MCP server.

Environment Variables

The following environment variables are used to configure the ClickHouse connection:

Required Variables

  • AIVEN_BASE_URL: The Aiven API url
  • AIVEN_PROJECT_NAME: The default project name
  • AIVEN_TOKEN: The authentication token =======

mcp-demo

Demo private repo for testing mcp hosting on Aiven.