Aiven MCP
What it does
Provision PostgreSQL, manage Apache Kafka, and deploy apps with Aiven - all from your AI assistant.
- Connects 电脑或云端
- Account or key Cloud: No key needed · Local: Needs AIVEN_TOKEN
- Category 数据库与数据集
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 你的提问会经过开发者的服务器(mcp.aiven.live)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
地址中有 {…} 部分,需要先改成你自己的 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“+ Add” → “Add custom connector”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称Aiven MCPRemote MCP server URL · 地址https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}Authentication 保持 Claude 检测到的设置,然后点击 Add
在聊天中开启
+ConnectorsAiven MCP
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP · 地址中有 {…} 部分,需要先改成你自己的
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称Aiven MCPConnection · 地址https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}在聊天中选择 Aiven MCP
开启新聊天,输入前先从插件列表中选择 Aiven MCP
试一试
用 Aiven MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Aiven MCP,或回答中出现 Aiven MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user aiven 'https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}'在 Claude Code 中输入 /mcp
应能看到 Aiven MCP 在列表中并显示已连接
试一试
用 Aiven MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Aiven MCP,或回答中出现 Aiven MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
打开 Cursor 的 MCP 设置文件
~/.cursor/mcp.json
粘贴这些设置,填写空着的值并保存
{ "mcpServers": { "aiven": { "url": "https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}" } } }在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Aiven MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Aiven MCP,或回答中出现 Aiven MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
地址中有 {…} 部分,需要先改成你自己的
打开 VS Code 的 MCP 设置文件
MCP: Open User Configuration
粘贴这些设置,填写空着的值并保存
{ "servers": { "aiven": { "type": "http", "url": "https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}" } } }在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Aiven MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Aiven MCP,或回答中出现 Aiven MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}JSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user aiven 'https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"aiven": {
"url": "https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}"
}
}
}VS Code (mcp.json)
{
"servers": {
"aiven": {
"type": "http",
"url": "https://mcp.aiven.live/mcp?read_only={read_only}&services_scope={services_scope}&allow_secrets={allow_secrets}"
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user aiven --env AIVEN_TOKEN=your-value --env AIVEN_READ_ONLY=your-value --env AIVEN_SERVICES_SCOPE=your-value --env AIVEN_ALLOW_SECRETS=your-value -- npx -y mcp-aivenClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"aiven": {
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "your-value",
"AIVEN_READ_ONLY": "your-value",
"AIVEN_SERVICES_SCOPE": "your-value",
"AIVEN_ALLOW_SECRETS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"aiven": {
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "your-value",
"AIVEN_READ_ONLY": "your-value",
"AIVEN_SERVICES_SCOPE": "your-value",
"AIVEN_ALLOW_SECRETS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"aiven": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-aiven"
],
"env": {
"AIVEN_TOKEN": "your-value",
"AIVEN_READ_ONLY": "your-value",
"AIVEN_SERVICES_SCOPE": "your-value",
"AIVEN_ALLOW_SECRETS": "your-value"
}
}
}
}需要你填写的值
AIVEN_TOKEN机密 必填 envAiven API token (create one at https://console.aiven.io/profile/tokens)AIVEN_READ_ONLYenvSet to true to expose only read-only toolsAIVEN_SERVICES_SCOPEenvComma-separated scopes to expose (e.g. pg, kafka, pg,kafka, or all). Valid: all, core, pg, kafka, application, integrations, opensearch.AIVEN_ALLOW_SECRETSenvSet to true to let the connection-info tool return live credentials instead of [REDACTED].
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
这个地址需要填入你自己的值,所以我们无法替你读取工具列表。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 aiven.io 验证(注册中心会核实域名所有权)
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 Apache-2.0
- – 不适用
端点有响应
这个地址需要填入你自己的账户信息,所以我们无法替你检查
- – 不适用
使用 OAuth 登录
这个地址需要填入你自己的账户信息,所以我们无法替你检查
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1173 个服务器的 95%
- 发布到注册中心的时间比此分类中其他 1173 个服务器的 96% 更新
- 基础检查结果等于或优于此分类中其他 1173 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Aiven MCP 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:AIVEN_TOKEN
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(1.20.0)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
有什么可以替代它?
同一分类中有:Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Aiven MCP Server
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.
[!WARNING]
Use with care. This MCP server can create, modify, and delete Aiven services and data on your behalf. AI agents may execute destructive actions (dropping databases, deleting services, producing messages) based on their interpretation of your prompts. You are fully responsible for the actions taken through this tool.
Permissions: Access is governed by the Aiven user permissions associated with the authenticated account. The MCP server can only perform actions that your Aiven user is allowed to do.
AI Agent Security: AI agents may need access credentials (database connection strings, streaming tokens) to act on your behalf. Review what your agent is doing, especially in production environments. Follow your organization's security policies and do a risk assessment before giving AI agents access to sensitive resources.
Quick Start
Option 1: Remote (hosted by Aiven)
The MCP server is hosted at https://mcp.aiven.live/mcp. Your MCP client will prompt you to authorize on Aiven.
Claude Code
claude mcp add --scope user --transport http aiven-mcp "https://mcp.aiven.live/mcp"
Cursor
Or manually add to Cursor MCP settings:
{
"mcpServers": { "aiven-mcp": { "url": "https://mcp.aiven.live/mcp" } } }
VS Code / Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": { "aiven-mcp": { "type": "http", "url": "https://mcp.aiven.live/mcp" } } }
Read-Only Mode (Remote)
Enable read-only mode by adding ?read_only=true to the URL. All write operations will be excluded from the MCP:
{
"mcpServers": { "aiven-mcp": { "url": "https://mcp.aiven.live/mcp?read_only=true" } } }
Scoped Tools (Remote)
Reduce the tool surface exposed to your AI agent by adding ?services_scope= to the URL. Useful when you only work with a subset of Aiven services and want to keep the agent's context focused. Combine values with commas. core (project/service discovery) is always included implicitly.
Valid scopes: all, core, pg, kafka, application, integrations, opensearch. Use all to explicitly load every tool (same as omitting the param). all cannot be combined with other scopes. opensearch follows the same rules as kafka or pg (core plus OpenSearch-category tools); there are no OpenSearch-specific tools yet, so it currently exposes core only.
{
"mcpServers": { "aiven-mcp": { "url": "https://mcp.aiven.live/mcp?services_scope=kafka" } } }
You can also combine with read_only:
https://mcp.aiven.live/mcp?services_scope=pg&read_only=true
Write Exceptions in Read-Only Mode (Remote)
When read_only=true, add ?write_allowlist= to re-enable specific write tools while keeping everything else read-only. Useful when you want mostly-read access but still need to allow one write action, for example creating Kafka topics. Combine multiple tool names with commas. Ignored when read_only is not enabled.
https://mcp.aiven.live/mcp?read_only=true&write_allowlist=aiven_kafka_topic_create
Marketplace Customers (Remote)
If you subscribed to Aiven through a cloud marketplace, add your marketplace as a path segment so sign-in uses the correct console:
| Marketplace | Path segment |
|---|---|
| AWS Marketplace | https://mcp.aiven.live/mcp/aws |
| Azure Marketplace | https://mcp.aiven.live/mcp/azure |
| Google Cloud Marketplace | https://mcp.aiven.live/mcp/gcp |
{
"mcpServers": { "aiven-mcp": { "url": "https://mcp.aiven.live/mcp/ " } } }
The path segment combines with the query parameters above, for example https://mcp.aiven.live/mcp/gcp?services_scope=pg&read_only=true.
Option 2: stdio (local)
Run the server locally as a child process of your MCP client. Requires Node.js 18+.
You must provide your Aiven API token via the AIVEN_TOKEN environment variable. Create a token here.
Claude Code
claude mcp add --scope user aiven-mcp -e AIVEN_TOKEN=your-token-here -- npx -y mcp-aiven
Cursor, VS Code -- add to your MCP client config:
{
"mcpServers": { "aiven-mcp": { "command": "npx", "args": ["-y", "mcp-aiven"], "env": { "AIVEN_TOKEN": "your-token-here" } } } }
Config file locations:
- Cursor: Cursor Settings > MCP Servers
- VS Code:
.vscode/mcp.jsonin your workspace
Option 3: Local development
Run a local build of the server (useful for development and testing):
pnpm install && pnpm generate:api-types && pnpm generate && pnpm build && AIVEN_TOKEN="<YOUR_TOKEN>" MCP_TRANSPORT="http" PORT=3000 node dist/index.js
The server listens on port 3000 by default. Connect your MCP client to http://localhost:3000/mcp.
To point a remote deployment at a custom host (e.g. your local build), set MCP_HOST:
MCP_HOST=http://localhost:3000 node dist/index.js
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
AIVEN_TOKEN | stdio only | -- | Aiven API token (create one here) |
AIVEN_READ_ONLY | No | false | Set to true to expose only read-only tools |
AIVEN_SERVICES_SCOPE | No | -- | Comma-separated scopes to expose (e.g. kafka, pg,kafka, or all). Valid: all, core, pg, kafka, application, integrations, opensearch. core is included implicitly for scoped service types. opensearch has no dedicated tools yet (core only until OpenSearch tools are added). Omitting the var or setting all loads every tool. |
AIVEN_ALLOW_SECRETS | No | false | Set to true to expose the aiven_service_connection_info tool, which returns live credentials (passwords, connection URIs, certs) into the conversation. Disabled while AIVEN_READ_ONLY=true. |
AIVEN_WRITE_ALLOWLIST | No | -- | Comma-separated tool names to re-enable while AIVEN_READ_ONLY=true (e.g. aiven_kafka_topic_create). Ignored when read-only mode is not enabled. |
MCP_HOST | No | https://mcp.aiven.live | Override the OAuth protected resource host |
MCP_TRANSPORT | No | stdio | Set to http to start an HTTP server instead of stdio |
MCP_HTTP_RATE_LIMIT_MAX | No | 1000 | Max requests per window on POST /mcp (HTTP transport), per bearer token. Client IP rate limiting is expected at Cloudflare. |
MCP_HTTP_RATE_LIMIT_WINDOW_MS | No | 60000 | Window length in milliseconds for MCP_HTTP_RATE_LIMIT_MAX. |
EXTRA_PROTECTION | No | false | Set to true on HTTP deployments to require a valid X-Edge-Auth header on every request except GET /health. See Edge protection rollout below. |
MCP_EDGE_AUTH_SECRET | When EXTRA_PROTECTION=true | -- | Shared secret; must match the value Cloudflare injects as X-Edge-Auth via Transform Rules. |
In remote (HTTP) mode, AIVEN_TOKEN is not needed. Your MCP client sends your token as a Bearer token with each request.
Production HTTP traffic is rate-limited in two layers: Cloudflare enforces a per-client-IP limit (configured in the Cloudflare dashboard), and this server enforces MCP_HTTP_RATE_LIMIT_* per bearer token on POST /mcp.
Edge protection rollout
When EXTRA_PROTECTION=true, any mismatch between MCP_EDGE_AUTH_SECRET and the value Cloudflare injects as X-Edge-Auth causes every request to return 403 (except GET /health). Both values are environment/config on opposite sides of the wire, so the only recovery path is to fix the secret and redeploy or update Cloudflare.
Enable in this order:
- Cloudflare Transform Rule — Add a rule that sets
X-Edge-Auth(and, if used for PG tools,X-Client-IP) on traffic to the MCP origin. Note the secret value you configure. - `MCP_EDGE_AUTH_SECRET` — Deploy the server with this env var set to the same secret as the Transform Rule. Leave
EXTRA_PROTECTIONunset orfalsefor now; verify the origin still accepts traffic. - `EXTRA_PROTECTION=true` — Enable only after steps 1–2 are live and matched. Confirm a normal MCP request succeeds and direct origin access without
X-Edge-Authis rejected. - Secret rotation — Update Cloudflare and
MCP_EDGE_AUTH_SECRETtogether (or briefly setEXTRA_PROTECTION=false), redeploy, then re-enable. Never rotate one side alone while the flag is on.
If EXTRA_PROTECTION=true at startup and MCP_EDGE_AUTH_SECRET is missing, the process exits immediately with an error.
While rejections continue, the server logs a misconfig warning at most once every 15 minutes (reset after a request with valid X-Edge-Auth), so a secret mismatch is visible in logs without one line per rejected request.
Tools
Core
| Tool | Description |
|---|---|
aiven_project_list | List projects |
aiven_project_get | Get project details |
aiven_list_project_clouds | List cloud platforms for a project |
aiven_project_vpc_list | List VPCs for a project |
aiven_service_list | List services |
aiven_service_type_plans | List plans with cloud availability |
aiven_service_type_get | Get default and available engine versions for a service type |
aiven_service_plan_pricing | Get pricing for a plan in a specific cloud |
aiven_service_create | Create a service |
aiven_service_get | Get service information |
aiven_service_update | Update a service (plan, config, power state) |
aiven_service_metrics_fetch | Fetch metrics for managed data services |
aiven_service_application_metrics_get | Fetch metrics for application services |
aiven_project_get_service_logs | Get service log entries |
aiven_service_query_activity | Fetch current queries for a service |
aiven_project_get_event_logs | Get project event log entries |
Kafka
| Tool | Description |
|---|---|
aiven_kafka_topic_list | List Kafka topics |
aiven_kafka_topic_create | Create a Kafka topic |
aiven_kafka_topic_get | Get Kafka topic info |
aiven_kafka_topic_update | Update a Kafka topic |
aiven_kafka_topic_delete | Delete a Kafka topic |
aiven_kafka_topic_message_list | Read messages from a Kafka topic |
aiven_kafka_topic_message_produce | Produce messages into a Kafka topic |
aiven_kafka_connect_available_connectors | List available connector types |
aiven_kafka_connect_list | List running connectors |
aiven_kafka_connect_create_connector | Create a connector |
aiven_kafka_connect_edit_connector | Edit a connector |
aiven_kafka_connect_get_connector_status | Get connector status |
aiven_kafka_connect_pause_connector | Pause a connector |
aiven_kafka_connect_resume_connector | Resume a connector |
aiven_kafka_connect_restart_connector | Restart a connector |
aiven_kafka_connect_delete_connector | Delete a connector |
aiven_kafka_schema_registry_subjects | List Schema Registry subjects |
aiven_kafka_schema_registry_subject_version_get | Get Schema Registry subject version |
PostgreSQL
| Tool | Description |
|---|---|
aiven_pg_service_available_extensions | List available extensions |
aiven_pg_service_query_statistics | Fetch query statistics |
aiven_pg_bouncer_create | Create a PgBouncer connection pool |
aiven_pg_bouncer_update | Update a PgBouncer connection pool |
| aiven_pg_bouncer_delete | Delete a PgB