by JohnKennedyOSS
A simple Docker container for the MCP Aiven server.
.env file 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
docker-compose up -d
GET /: HTML page showing the server status and environment variablesGET /api/projects: JSON response with the list of projectsdocker-compose down
An MCP server for Aiven.
list_projects
list_services
get_service_details
get_metadata
run_query
Open the Claude Desktop configuration file located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.jsonAdd the following:
*Configuration content*
Update the environment variables:
$REPOSITORY_DIRECTORY to point to the folder cointaining the repositoryAIVEN_PROJECT_NAME to the default project nameAIVEN_TOKEN to the Aiven login token.Locate the command entry for uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server. On a mac, you can find this path using which uv.
Restart Claude Desktop to apply the changes.
Navigate to Cursor -> Settings -> Cursor Settings
Select "MCP Servers"
Add a new server with
mcp-aivencommanduv --directory $REPOSITORY_DIRECTORY run --with-editable $REPOSITORY_DIRECTORY --python 3.13 mcp-aivenWhere $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
.env file 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 sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.
For easy testing, you can run mcp dev mcp_aiven/mcp_server.py to start the MCP server.
The following environment variables are used to configure the ClickHouse connection:
AIVEN_BASE_URL: The Aiven API urlAIVEN_PROJECT_NAME: The default project nameAIVEN_TOKEN: The authentication tokenDemo private repo for testing mcp hosting on Aiven.
No version information available