mcp-aiven

mcp-aiven

MCP.Pizza Chef: Aiven-Open

The mcp-aiven is a Model Context Protocol server that integrates Aiven cloud services like PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch. It enables LLMs to interact with Aiven projects and services, facilitating full-stack solutions across the Aiven ecosystem. Key features include listing projects, services, and retrieving detailed service information, making it ideal for developers building AI workflows with Aiven infrastructure.

Use This MCP server To

List all projects in an Aiven account Retrieve all services within a specific Aiven project Get detailed information about a specific Aiven service Enable LLMs to interact with Aiven cloud services Build AI-driven full-stack solutions using Aiven data and services Integrate Aiven native connectors into AI workflows

README

Aiven MCP Server

A Model Context Protocol (MCP) server for Aiven.

This provides access to the Aiven for PostgreSQL, Kafka, ClickHouse, Valkey and OpenSearch services running in Aiven and the wider Aiven ecosystem of native connectors. Enabling LLMs to build full stack solutions for all use-cases.

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.

Configuration for Claude Desktop

  1. Open the Claude Desktop configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "mcp-aiven": {
      "command": "uv",
      "args": [
        "--directory",
        "$REPOSITORY_DIRECTORY",
        "run",
        "--with-editable",
        "$REPOSITORY_DIRECTORY",
        "--python",
        "3.13",
        "mcp-aiven"
      ],
      "env": {
        "AIVEN_BASE_URL": "https://api.aiven.io",
        "AIVEN_TOKEN": "$AIVEN_TOKEN"
      }
    }
  }
}

Update the environment variables:

  • $REPOSITORY_DIRECTORY to point to the folder cointaining the repository
  • AIVEN_TOKEN to the Aiven login token.
  1. Locate the command entry for uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server. On a mac, you can find this path using which uv.

  2. Restart Claude Desktop to apply the changes.

mcp-aiven FAQ

How do I configure mcp-aiven with Claude Desktop?
Add the mcp-aiven server configuration to the Claude Desktop config file located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows, specifying the command and arguments as per documentation.
What Aiven services does mcp-aiven support?
It supports Aiven for PostgreSQL, Kafka, ClickHouse, Valkey, OpenSearch, and their native connectors.
Can mcp-aiven list all projects and services in my Aiven account?
Yes, it provides tools to list all projects and services within those projects on your Aiven account.
Is mcp-aiven limited to specific cloud providers?
No, it works with Aiven's managed cloud services regardless of underlying cloud providers.
How does mcp-aiven enhance LLM capabilities?
It enables LLMs to access real-time data and service details from Aiven, allowing multi-step reasoning and full-stack AI solutions.
What programming environments can I use mcp-aiven with?
It can be integrated with any environment supporting MCP, including Claude Desktop and other MCP-compatible clients.
Does mcp-aiven support secure access to Aiven services?
Yes, it follows MCP principles for secure, scoped, and observable model interactions with Aiven services.