Aiven MCP
MCP server by aiven-open Verified · aiven.io
Aiven MCP lets AI assistants manage Aiven cloud services, including PostgreSQL and Apache Kafka. It is for developers who want to create, update and inspect Aiven services from Claude, Cursor or VS Code Copilot.
Install Aiven MCP
Built from the published package, never by AI.
claude mcp add aiven-mcp -e AIVEN_TOKEN=YOUR_AIVEN_TOKEN -- npx -y mcp-aivenRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"aiven-mcp": {
"env": {
"AIVEN_TOKEN": "YOUR_AIVEN_TOKEN"
},
"args": [
"-y",
"mcp-aiven"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"aiven-mcp": {
"env": {
"AIVEN_TOKEN": "YOUR_AIVEN_TOKEN"
},
"args": [
"-y",
"mcp-aiven"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"aiven-mcp": {
"env": {
"AIVEN_TOKEN": "YOUR_AIVEN_TOKEN"
},
"args": [
"-y",
"mcp-aiven"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add aiven-mcp --env AIVEN_TOKEN=YOUR_AIVEN_TOKEN -- npx -y mcp-aiven{
"mcpServers": {
"aiven-mcp": {
"env": {
"AIVEN_TOKEN": "YOUR_AIVEN_TOKEN"
},
"args": [
"-y",
"mcp-aiven"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add aiven-mcp npx -y mcp-aivenGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the aiven-mcp block.
About
Aiven MCP is a Model Context Protocol server for the Aiven cloud data platform. It gives an AI assistant tools to list projects, create and update services, manage Kafka topics and connectors, run read-only PostgreSQL queries, and read service logs and metrics. The source names Claude, Cursor and VS Code Copilot as clients. It can run as a hosted remote server at mcp.aiven.live or locally over stdio with an Aiven API token.
Access follows the permissions of the authenticated Aiven user. The server can create, modify and delete services and data, so the source warns users to review agent actions, especially in production. Read-only mode, service scoping and a write allowlist limit which tools are exposed. It is aimed at developers and teams who run PostgreSQL, Kafka or applications on Aiven.
Written from the project's README and checked against it.
Tools it gives your assistant
aiven_project_listLists Aiven projects.aiven_service_createCreates an Aiven service.aiven_service_updateUpdates a service's plan, config or power state.aiven_service_query_activityFetches current queries for a service.aiven_project_get_service_logsGets service log entries.aiven_kafka_topic_createCreates a Kafka topic.aiven_kafka_topic_message_produceProduces messages into a Kafka topic.aiven_kafka_connect_create_connectorCreates a Kafka Connect connector.aiven_pg_bouncer_createCreates a PgBouncer connection pool.aiven_pg_readRuns a read-only SQL query.
What you need
- An Aiven account
- An Aiven API token for the stdio option
- Node.js 18+ for the stdio option
- An MCP client such as Claude, Cursor or VS Code Copilot
| Setting | Needed | What it is |
|---|---|---|
AIVEN_Environment variable, secret | Required | Aiven API token (create one at https://console.aiven.io/profile/tokens) |
AIVEN_Environment variable | Optional | Set to true to expose only read-only tools |
AIVEN_Environment variable | Optional | Comma-separated scopes to expose (e.g. pg, kafka, pg,kafka, or all). Valid: all, core, pg, kafka, application, integrations, opensearch. |
AIVEN_Environment variable | Optional | Set to true to let the connection-info tool return live credentials instead of [REDACTED]. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List my Aiven projects and their services
- Create a Kafka topic in my Aiven service
- Show the current queries running on my PostgreSQL service
Good to know
- Can create, modify and delete services and data, so actions should be reviewed.
- read_only=true excludes write operations unless re-enabled by the allowlist.
- Connection credentials are only exposed when AIVEN_ALLOW_SECRETS is true.
- Default HTTP rate limit is 1000 requests per 60000 ms per bearer token.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Aiven MCP
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Aiven MCP: common questions
Do I need an Aiven API token?
For the remote option, the MCP client prompts you to authorize on Aiven and sends your token as a Bearer token. For the local stdio option, you must set the AIVEN_TOKEN environment variable.
Can I stop the assistant from making changes?
Yes. Adding read_only=true to the remote URL or setting AIVEN_READ_ONLY=true excludes all write operations. The write_allowlist option can re-enable specific tools.
Can the assistant see database passwords?
Only if AIVEN_ALLOW_SECRETS is set to true, which enables the aiven_service_connection_info tool. The source says this tool returns live credentials and is disabled in read-only mode.
How do I install Aiven MCP?
In Claude Code run claude mcp add aiven-mcp -e AIVEN_TOKEN=YOUR_AIVEN_TOKEN -- npx -y mcp-aiven. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Aiven MCP the official server?
Aiven MCP is published by aiven.io from its verified domain in the official MCP Registry.
Is Aiven MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Aiven MCP safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Aiven MCP?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Aiven MCP work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
