Aiven
Manage Aiven cloud services like Kafka, PostgreSQL, and Redis via its API.
MCP Aiven Docker
A simple Docker container for the MCP Aiven server.
Setup
- Create a
.envfile with your Aiven credentials:
# Aiven API configuration
AIVEN_BASE_URL=https://api.aiven.io
AIVEN_PROJECT_NAME=your-project-name
# Aiven Authentication Token
AIVEN_TOKEN=your-token-here
- Build and run the Docker container:
docker-compose up -d
- Access the server at http://localhost:8000
API Endpoints
GET /: HTML page showing the server status and environment variablesGET /api/projects: JSON response with the list of projects
Stopping the Server
docker-compose down
Aiven MCP Server
An MCP server for Aiven.
Features
Tools
-
list_projects- List all projects on your Aiven account.
-
list_services- List all services in a specific Aiven project.
-
get_service_details- Get the detail of your service in a specific Aiven project.
-
get_metadata- Get the metadata of a specific Aiven service, currently only working for Aiven for PostgreSQL®.
-
run_query- Run a query against a specific Aiven service, currently only working for Aiven for PostgreSQL®.
Configuration for Claude Desktop
-
Open the Claude Desktop configuration file located at:
- On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
- On macOS:
-
Add the following:
{
"mcpServers": {
"mcp-clickhouse": {
"command": "uv",
"args": [
"--directory",
"$REPOSITORY_DIRECTORY",
"run",
"--with-editable",
"$REPOSITORY_DIRECTORY",
"--python",
"3.13",
"mcp-aiven"
],
"env": {
"AIVEN_BASE_URL": "https://api.aiven.io",
"AIVEN_PROJECT_NAME": "$DEFAULT_PROJECT_NAME",
"AIVEN_TOKEN": "$AIVEN_TOKEN"
}
}
}
}
Update the environment variables:
$REPOSITORY_DIRECTORYto point to the folder cointaining the repositoryAIVEN_PROJECT_NAMEto the default project nameAIVEN_TOKENto the Aiven login token.
-
Locate the command entry for
uvand replace it with the absolute path to theuvexecutable. This ensures that the correct version ofuvis used when starting the server. On a mac, you can find this path usingwhich uv. -
Restart Claude Desktop to apply the changes.
Configuration for Cursor
-
Navigate to Cursor -> Settings -> Cursor Settings
-
Select "MCP Servers"
-
Add a new server with
- Name:
mcp-aiven - Type:
command - Command:
uv --directory $REPOSITORY_DIRECTORY run --with-editable $REPOSITORY_DIRECTORY --python 3.13 mcp-aiven
- Name:
Where $REPOSITORY_DIRECTORY is the path to the repository. You might need to add the AIVEN_BASE_URL, AIVEN_PROJECT_NAME and AIVEN_TOKEN as variables
Development
- Add the following variables to a
.envfile in the root of the repository.
AIVEN_BASE_URL=https://api.aiven.io
AIVEN_PROJECT_NAME=$DEFAULT_PROJECT_NAME
AIVEN_TOKEN=$AIVEN_TOKEN
-
Run
uv syncto install the dependencies. To installuvfollow the instructions here. Then dosource .venv/bin/activate. -
For easy testing, you can run
mcp dev mcp_aiven/mcp_server.pyto start the MCP server.
Environment Variables
The following environment variables are used to configure the ClickHouse connection:
Required Variables
AIVEN_BASE_URL: The Aiven API urlAIVEN_PROJECT_NAME: The default project nameAIVEN_TOKEN: The authentication token =======
mcp-demo
Demo private repo for testing mcp hosting on Aiven.
Related Servers
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support, using Cloudflare KV for data storage.
AWS CDK
Get prescriptive CDK advice, explain CDK Nag rules, check suppressions, generate Bedrock Agent schemas, and discover AWS Solutions Constructs patterns.
OpenAI MCP Server
An MCP server for integrating with the OpenAI API.
MCP Replicate FLUX
Generates images using Replicate's FLUX model and stores them in Cloudflare R2.
Pangea MCP proxy
Protect any MCP server from malicious entities and confidential PII using Pangea's AI Guard and Vault.
Google Cloud MCP
Interact with Google Cloud services and manage your cloud resources.
AWS Customer Playbook Advisor MCP
Provides real-time AWS security guidance by fetching official security playbooks from the AWS Customer Playbook Framework GitHub repository.
Datadog MCP Server
An MCP server for the Datadog API, allowing you to search logs and traces.
Octodet Keycloak
Administer Keycloak by managing users, realms, roles, and other resources through an LLM interface.
Qlik Cloud
Interact with Qlik Cloud applications and extract data from visualizations using the Qlik Cloud API.