Aiven MCP
Aiven MCP is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. It has 28 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y mcp-aiven.
- Official
- Needs API key
- Databases
- Apache-2.0
- Actively maintained
Install Aiven MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"aiven-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "your-value",
"AIVEN_ALLOW_SECRETS": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env AIVEN_TOKEN=your-value --env AIVEN_ALLOW_SECRETS=your-value --transport stdio aiven-mcp -- npx -y mcp-aivenCursor
{
"mcpServers": {
"aiven-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "your-value",
"AIVEN_ALLOW_SECRETS": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "aiven_token",
"description": "AIVEN_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "aiven_allow_secrets",
"description": "AIVEN_ALLOW_SECRETS",
"password": true
}
],
"servers": {
"aiven-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "${input:aiven_token}",
"AIVEN_ALLOW_SECRETS": "${input:aiven_allow_secrets}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
AIVEN_TOKENsecret | Yes | Aiven API token (create one at https://console.aiven.io/profile/tokens) |
AIVEN_READ_ONLY | No | Set to true to expose only read-only tools |
AIVEN_SERVICES_SCOPE | No | Comma-separated scopes to expose (e.g. pg, kafka, pg,kafka, or all). Valid: all, core, pg, kafka, application, integrations. |
AIVEN_ALLOW_SECRETSsecret | No | Set to true to let the connection-info tool return live credentials instead of [REDACTED]. |
Tools (40)
Parsed from the Tools section of the README; check the repository for the current list.
aiven_project_listList projects
aiven_project_getGet project details
aiven_list_project_cloudsList cloud platforms for a project
aiven_project_vpc_listList VPCs for a project
aiven_service_listList services
aiven_service_type_plansList plans with cloud availability
aiven_service_type_getGet default and available engine versions for a service type
aiven_service_plan_pricingGet pricing for a plan in a specific cloud
aiven_service_createCreate a service
aiven_service_getGet service information
aiven_service_updateUpdate a service (plan, config, power state)
aiven_service_metrics_fetchFetch metrics for managed data services
aiven_service_application_metrics_getFetch metrics for application services
aiven_project_get_service_logsGet service log entries
aiven_service_query_activityFetch current queries for a service
aiven_project_get_event_logsGet project event log entries
aiven_kafka_topic_listList Kafka topics
aiven_kafka_topic_createCreate a Kafka topic
aiven_kafka_topic_getGet Kafka topic info
aiven_kafka_topic_updateUpdate a Kafka topic
aiven_kafka_topic_deleteDelete a Kafka topic
aiven_kafka_topic_message_listRead messages from a Kafka topic
aiven_kafka_topic_message_produceProduce messages into a Kafka topic
aiven_kafka_connect_available_connectorsList available connector types
aiven_kafka_connect_listList running connectors
aiven_kafka_connect_create_connectorCreate a connector
aiven_kafka_connect_edit_connectorEdit a connector
aiven_kafka_connect_get_connector_statusGet connector status
aiven_kafka_connect_pause_connectorPause a connector
aiven_kafka_connect_resume_connectorResume a connector
aiven_kafka_connect_restart_connectorRestart a connector
aiven_kafka_connect_delete_connectorDelete a connector
aiven_kafka_schema_registry_subjectsList Schema Registry subjects
aiven_kafka_schema_registry_subject_version_getGet Schema Registry subject version
aiven_pg_service_available_extensionsList available extensions
aiven_pg_service_query_statisticsFetch query statistics
aiven_pg_bouncer_createCreate a PgBouncer connection pool
aiven_pg_bouncer_updateUpdate a PgBouncer connection pool
aiven_pg_bouncer_deleteDelete a PgBouncer connection pool
aiven_pg_readRun a read-only SQL query
About Aiven MCP
A Model Context Protocol (MCP) server for the Aiven cloud data platform. Manage PostgreSQL, Apache Kafka, applications, and other Aiven services directly from AI assistants like Claude, Cursor, and VS Code Copilot.
Similar MCP servers
More databases MCP servers
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
DatabasesRustButterbase AI MCP Server
butterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
DatabasesTypeScriptDBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
DatabasesTypeScriptLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DatabasesC#Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
DatabasesTypeScriptMCP Memory Service
doobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
DatabasesPython
What is Aiven MCP?
Aiven MCP is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant. It has 28 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y mcp-aiven. The source code is at github.com/Aiven-Open/mcp-aiven.
How do I install the Aiven MCP MCP server?
Add the command npx -y mcp-aiven to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Aiven MCP free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (AIVEN_TOKEN and AIVEN_ALLOW_SECRETS) for the service it connects to, which may require a paid account.
Is Aiven MCP actively maintained?
The most recent commit was on Oct 5, 2026. The latest release is v1.17.1, published Oct 6, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.