Aiven MCP Server
OfficialThe Aiven MCP Server allows you to interact with your Aiven account and services through these key functions:
List Projects: Retrieve all projects associated with your Aiven account.
List Services: Get a list of all services (like PostgreSQL, Kafka, etc.) within a specified project (requires
project_name).Get Service Details: Obtain detailed information about a specific service in a project (requires both
project_nameandservice_name).
Provides access to Aiven for ClickHouse services, allowing interaction with analytical databases hosted on the Aiven platform.
Enables working with Aiven for OpenSearch services, providing tools to interact with search and analytics capabilities.
Enables interaction with Aiven for PostgreSQL services, allowing access to database resources hosted on the Aiven platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Aiven MCP Serverlist all my Aiven projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
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. Use all to explicitly load every tool (same as omitting the param). all cannot be combined with other scopes.
{
"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=trueMarketplace 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 |
|
Azure Marketplace |
|
Google Cloud Marketplace |
|
{
"mcpServers": {
"aiven-mcp": {
"url": "https://mcp.aiven.live/mcp/<marketplace>"
}
}
}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-aivenCursor, 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.jsThe 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.jsEnvironment Variables
Variable | Required | Default | Description |
| stdio only | -- | Aiven API token (create one here) |
| No |
| Set to |
| No | -- | Comma-separated scopes to expose (e.g. |
| No |
| Set to |
| No |
| Override the OAuth protected resource host |
| No |
| Set to |
| No |
| Max requests per window on |
| No |
| Window length in milliseconds for |
In remote (HTTP) mode, AIVEN_TOKEN is not needed. Your MCP client sends your token as a Bearer token with each request.
Related MCP server: MCP TapData Server
Tools
Core
Tool | Description |
| List projects |
| Get project details |
| List cloud platforms for a project |
| List VPCs for a project |
| List services |
| List plans with cloud availability |
| Get pricing for a plan in a specific cloud |
| Create a service |
| Get service information |
| Update a service (plan, config, power state) |
| Fetch metrics for managed data services |
| Fetch metrics for application services |
| Get service log entries |
| Fetch current queries for a service |
| Get project event log entries |
Kafka
Tool | Description |
| List Kafka topics |
| Create a Kafka topic |
| Get Kafka topic info |
| Update a Kafka topic |
| Delete a Kafka topic |
| Read messages from a Kafka topic |
| Produce messages into a Kafka topic |
| List available connector types |
| List running connectors |
| Create a connector |
| Edit a connector |
| Get connector status |
| Pause a connector |
| Resume a connector |
| Restart a connector |
| Delete a connector |
| List Schema Registry subjects |
| Get Schema Registry subject version |
PostgreSQL
Tool | Description |
| List available extensions |
| Fetch query statistics |
| Create a PgBouncer connection pool |
| Update a PgBouncer connection pool |
| Delete a PgBouncer connection pool |
| Run a read-only SQL query |
| Run a write SQL statement (INSERT, UPDATE, DELETE, CREATE TABLE, etc.) |
| AI-powered query optimization (EverSQL) |
Applications
Tool | Description |
| Deploy a Dockerized application to Aiven |
| Rebuild and redeploy an existing application |
| List connected VCS (GitHub) accounts |
| List repositories for a VCS integration |
Documentation
Tool | Description |
| Search the official Aiven documentation in natural language. Only available on the hosted server ( |
Contributing
See CONTRIBUTING.md for development setup, running locally, and adding new tools.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aiven-Open/mcp-aiven'
If you have feedback or need assistance with the MCP directory API, please join our Discord server