AO

aiven-open/mcp-aiven

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

28 stars 22 forks 质量 85 趋势 20Apache-2.0

Aiven 的 Model Context Protocol 服务器

概览

这是Aiven云数据平台的模型上下文协议(MCP)服务器。 直接通过 Claude、Cursor 和 VS Code Copilot 等 AI 助手管理 PostgreSQL、Apache Kafka、应用程序及其他 Aiven 服务。 该MCP服务器可以代表你创建、修改和删除Aiven服务和数据。AI代理可能会根据对你提示的解读执行破坏性行为(丢弃数据库、删除服务、生成消息)。你对通过该工具采取的操作负全部责任。访问由与认证账户关联的Aiven用户权限管理。MCP服务器只能执行你的Aiven用户被允许执行的操作。AI代理可能需要访问权限凭证(数据库连接字符串、流令牌)才能代表你行动。审查你的代理正在做什么,尤其是在生产环境中。遵循组织的安全政策,并在授权AI代理访问敏感资源前进行风险评估。

概述(AI 翻译)

这是Aiven云数据平台的模型上下文协议(MCP)服务器。

直接通过 Claude、Cursor 和 VS Code Copilot 等 AI 助手管理 PostgreSQL、Apache Kafka、应用程序及其他 Aiven 服务。

[!警告] 请谨慎使用。 该MCP服务器可以代表您创建、修改和删除Aiven服务和数据。AI代理可能会根据对您的提示的解读执行破坏性操作(丢弃数据库、删除服务、发送消息)。您对通过该工具采取的操作负全部责任。

权限: 访问由与已认证账户关联的 Aiven 用户权限管理。MCP 服务器只能执行 Aiven 用户被允许执行的操作。

AI 代理安全: AI 代理可能需要访问凭证(数据库连接字符串、流令牌)来代表你行动。审查代理的操作,尤其是在生产环境中。遵循组织的安全政策,并在允许 AI 代理访问敏感资源前进行风险评估。

快速启动

选项1:远程(由Aiven主持)

MCP服务器托管在https://mcp.aiven.live/mcp。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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, context. 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": {
在 GitHub 查看完整 README

安装

npx -y mcp-aiven
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "aiven-mcp": { "url": "https://mcp.aiven.live/mcp" } } }