Aiven + Windsurf Editor: Complete MCP Integration
Aiven is a MCP server that Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services.
When integrated with Windsurf Editor, you can:
- List all projects in your Aiven account
- List all services in a specific project
- Get detailed information about a specific service
This guide provides step-by-step instructions to set up Aiven in Windsurf Editor, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Aiven will be fully integrated and operational
- You can use Aiven tools directly in Windsurf Editor
- All Aiven capabilities will be available for your workflows
- Access to 5 different tools
Prerequisites
Before starting, ensure you have:
- Aiven API token with appropriate permissions
- Windsurf Editor installed and configured
- Compatible operating system (Desktop App)
Installation
Step 1: Install Aiven
Configuration
Step 2: Configure Windsurf Editor
-
Locate your configuration file:
- Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json - macOS:
~/.codeium/windsurf/mcp_config.json - Linux:
~/.codeium/windsurf/mcp_config.json
- Windows:
-
Add server configuration:
{
"mcpServers": {
"aiven": {
"command": "aiven",
"args": []
}
}
}
Note: If Aiven requires environment variables, add them to the server configuration:
"env": {
"AIVEN_TOKEN": "aiven_token_1234567890abcdef",
"AIVEN_BASE_URL": "https://api.aiven.io"
}
- Restart Windsurf Editor
Completely quit and restart Windsurf Editor to load the new configuration.
Examples
Once configured, you can use Aiven in Windsurf Editor:
Multi-Cloud Database Management
undefined
Ask Windsurf Editor: "Check status of all PostgreSQL services and their performance"
Expected Result: undefined
Event Streaming Monitoring
undefined
Ask Windsurf Editor: "Show Kafka service health and recent message volumes"
Expected Result: undefined
Analytics Platform Health Check
undefined
Ask Windsurf Editor: "Check ClickHouse query performance and storage usage"
Expected Result: undefined
Testing Your Setup
- Launch Windsurf Editor
- Verify Aiven is available in the tools list
- Test basic Aiven functionality
Troubleshooting
Common Issues
Tools Not Appearing
Symptoms: Cascade does not see new tools, Hammer icon missing
Cause: Configuration syntax error or server failed to start.
Solution:
- Check the JSON configuration for syntax errors.
- Verify the command (e.g.,
npx,python) is in your system PATH. - Check Windsurf logs for MCP connection errors.
Environment Variables
Symptoms: Authentication failed, Permission denied
Cause: Missing API keys in configuration.
Solution:
- Ensure
envblock is correctly defined inside the server config. - Restart Windsurf after changing environment variables.
Aiven not appearing in Windsurf Editor
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Aiven installation
- Restart Windsurf Editor
- Check logs for error messages
Next Steps
Now that Aiven is integrated with Windsurf Editor:
- Explore all Aiven capabilities through Windsurf Editor
- Check out other MCP servers that work with Windsurf Editor
- Join the MCP community for tips and support
- Consider contributing to Aiven development
Need Help?
- Search for Aiven documentation
- Check the Windsurf Editor MCP guide
- Join the MCP community discussions