Metrics & logs monitoring
Pull CPU/memory metrics and service logs for daily health checks and incident response.
The MCP server that lets your AI assistant provision PostgreSQL®, stream with Apache Kafka®, and diagnose your data, all in a single conversation. Free with your Aiven account. Works with Claude, Cursor, VS Code, and more.
Real-time context
Enterprise security
Zero custom code










Connect in 30 seconds
Free with your Aiven account. One click for Cursor or Claude Code. For VS Code, Gemini, and other clients, follow the setup docs, it's a single config snippet.
Aiven MCP in action
Watch how an AI agent uses Aiven MCP to query historical data from PostgreSQL and publish live alerts to a Kafka topic in real-time, all without custom middleware.
Give your agents the real-time enterprise data they need to make real decisions.
Real workflows
Straight from how customers use the Aiven MCP today, all from their AI tool, no context switching.
Metrics & logs monitoring
Pull CPU/memory metrics and service logs for daily health checks and incident response.
Slow query & index diagnosis
Use pg_stat_statements and EXPLAIN to find slow queries and missing indexes.
Kafka topic produce/consume
Create topics and produce or consume messages directly via MCP, no separate client.
Extension management
Check whether extensions like pg_trgm or pg_stat_statements are installed, then add the missing ones.
Migration verification
Independently verify migrated tables and row counts landed correctly after a DB migration into Aiven.
Roles & least-privilege access
Audit login-capable roles and grants, and set up least-privilege read-only roles for dashboards.
Vibe-code a multiplayer game
Ask your AI editor to spin up PostgreSQL for game state and leaderboards and Kafka for live player moves, then build and wire the whole backend without touching infra.
pgvector & AI agent memory
Enable pgvector and build embeddings tables for AI agent memory, RAG, or semantic search.
Investigating Kafka lags
Check consumer group lag and offsets to spot slow or stalled consumers, then trace where a topic is falling behind.
Customer story
From incident response to shipping new features, teams use the Aiven MCP to work with their data straight from their AI tools.
We had a bad message in one of our Kafka topics, and the Aiven MCP quickly took us straight to the root cause right from our AI tool. It surfaced far more about our operational data than we'd initially seen, all without leaving our workflow. Intuitive and precise.
Oron Karmona
R&D, Fiverr
The Aiven MCP server plugs into your existing AI workflow with a single config snippet. No custom middleware, no glue code, and no rebuilding your stack. Your AI agent talks to managed PostgreSQL and Apache Kafka directly over the open Model Context Protocol, so it can query data, manage services, and diagnose issues without leaving the chat.
Connect Claude (Desktop and Code), Cursor, VS Code with GitHub Copilot, the Gemini CLI, or any MCP-compatible client. Because the Aiven MCP server follows the open Model Context Protocol, the same setup works across every tool your team already uses, and any new agent that adopts MCP. One server, every assistant, no per-tool integration work.
Run your managed MCP server alongside your PostgreSQL and Apache Kafka data in AWS, Google Cloud, or Azure, or in a sovereign bring-your-own-cloud (BYOC) environment. Your data stays in your chosen region, and the MCP server inherits the same enterprise security, networking, and compliance controls as the rest of your Aiven platform.
The Aiven MCP (Model Context Protocol) server lets any MCP-compatible AI assistant securely provision and manage your Aiven services, including PostgreSQL and Apache Kafka, in plain language, without writing custom integration code.
Aiven MCP works with any MCP-compatible client, including Claude (Desktop and Code), Cursor, VS Code (GitHub Copilot), and the Gemini CLI. Setup is a single configuration snippet. See the setup docs to connect your tool.
Yes. The Aiven MCP server is included free with your Aiven account. You can start on Aiven's free plans for PostgreSQL and connect your AI tool in under a minute.
With the Apache Kafka MCP server, your AI assistant can create and inspect topics, produce and consume messages, and diagnose issues, such as tracing a bad message to its root cause, directly from your chat, without a separate Kafka client.
The PostgreSQL MCP server lets your AI agent run SQL queries, identify slow queries and missing indexes, manage extensions and pgvector, audit roles and access, and verify migrations, turning your database into usable context for AI workflows.
Aiven MCP authenticates against your Aiven account and can be run in read-only mode, so agents can explore and diagnose without making changes. It runs alongside your data in AWS, GCP, Azure, or sovereign clouds, keeping enterprise security controls in place.