Aiven MCP Server

Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services

Remote serverstreamable-http

What is the Aiven MCP server?

Aiven mcp server lets Claude, Cursor and other MCP clients work with Aiven directly. Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services.

What Aiven does

A Model Context Protocol (MCP) server for the Aiven cloud data platform.

Tools it exposes

Once connected, the assistant can call these 5 tools directly:

  • Core — The Core tool exposed by this server
  • Kafka — The Kafka tool exposed by this server
  • PostgreSQL — The PostgreSQL tool exposed by this server
  • Applications — The Applications tool exposed by this server
  • Documentation — The Documentation tool exposed by this server

Installing the aiven mcp server

The server is distributed via npm as mcp-aiven, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 3 environment variables: AIVEN_TOKEN, YOUR_TOKEN, MCP_EDGE_AUTH_SECRET. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Aiven sits in that group, and the shape of its toolset — Core, Kafka, PostgreSQL among others — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the aiven mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
CoreThe Core tool exposed by this server.
KafkaThe Kafka tool exposed by this server.
PostgreSQLThe PostgreSQL tool exposed by this server.
ApplicationsThe Applications tool exposed by this server.
DocumentationThe Documentation tool exposed by this server.

How to install the Aiven MCP server

{
  "mcpServers": {
    "aiven": {
      "command": "npx",
      "args": ["-y", "mcp-aiven"],
      "env": {
        "AIVEN_TOKEN": "your-value",
        "YOUR_TOKEN": "your-value",
        "MCP_EDGE_AUTH_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
AIVEN_TOKENCredential the server authenticates with.Yes
YOUR_TOKENCredential the server authenticates with.Yes
MCP_EDGE_AUTH_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Aiven to Core.
  • Use Aiven to Kafka.
  • Use Aiven to PostgreSQL.

Frequently asked questions

It connects Aiven to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (Core, Kafka, PostgreSQL, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Aiven directly.