List all projects on your Aiven account
List all services in a specific Aiven project
Get the detail of your service in a specific Aiven project
The Aiven MCP server provides LLMs with direct access to Aiven's managed cloud services including PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch. This integration enables AI agents to interact with your Aiven infrastructure, query service details, and build full-stack solutions leveraging Aiven's cloud database and data services ecosystem.
The Aiven MCP server enables AI models to interact with Aiven's managed cloud services, including PostgreSQL, Kafka, ClickHouse, Valkey, and OpenSearch. This integration allows AI agents to access and manage your Aiven infrastructure programmatically.
uv
package managerClone the repository:
git clone https://github.com/Aiven-Open/mcp-aiven.git
cd mcp-aiven
Install dependencies:
uv sync
source .venv/bin/activate
Open the Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Add the Aiven MCP server configuration:
{
"mcpServers": {
"mcp-aiven": {
"command": "uv",
"args": [
"--directory",
"PATH_TO_REPOSITORY_DIRECTORY",
"run",
"--with-editable",
"PATH_TO_REPOSITORY_DIRECTORY",
"--python",
"3.13",
"mcp-aiven"
],
"env": {
"AIVEN_BASE_URL": "https://api.aiven.io",
"AIVEN_TOKEN": "YOUR_AIVEN_TOKEN"
}
}
}
}
Replace:
PATH_TO_REPOSITORY_DIRECTORY
with the absolute path to the cloned repositoryYOUR_AIVEN_TOKEN
with your Aiven authentication tokenuv
with the absolute path (find it using which uv
on macOS/Linux)Restart Claude Desktop to apply the changes.
mcp-aiven
command
uv --directory PATH_TO_REPOSITORY_DIRECTORY run --with-editable PATH_TO_REPOSITORY_DIRECTORY --python 3.13 mcp-aiven
AIVEN_BASE_URL
: https://api.aiven.io
AIVEN_TOKEN
: Your Aiven authentication tokenWhen using this MCP server, keep in mind:
If you encounter issues:
uv
are properly installedmcp dev mcp_aiven/mcp_server.py
to start the server directly