Aiven + SpinAI: 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 SpinAI, 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 SpinAI, 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 SpinAI
- 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
- SpinAI installed and configured
- Compatible operating system (Node.js)
Installation
Step 1: Install Aiven
Configuration
Step 2: Configure SpinAI
- Open SpinAI settings
- Navigate to MCP server configuration
- Add Aiven server with appropriate settings
- Save and restart if needed
Examples
Once configured, you can use Aiven in SpinAI:
Multi-Cloud Database Management
undefined
Ask SpinAI: "Check status of all PostgreSQL services and their performance"
Expected Result: undefined
Event Streaming Monitoring
undefined
Ask SpinAI: "Show Kafka service health and recent message volumes"
Expected Result: undefined
Analytics Platform Health Check
undefined
Ask SpinAI: "Check ClickHouse query performance and storage usage"
Expected Result: undefined
Testing Your Setup
- Launch SpinAI
- Verify Aiven is available in the tools list
- Test basic Aiven functionality
Troubleshooting
Common Issues
Tool Execution Error
Symptoms: Agent fails to retrieve data
Cause: MCP server process crashed or returned invalid JSON
Solution:
- Enable debug logging in SpinAI
- Check stderr of the MCP server process
Timeout
Symptoms: Agent hangs on tool call
Cause: MCP server is unresponsive
Solution:
- Configure timeouts in
createMCPTooloptions
Aiven not appearing in SpinAI
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Aiven installation
- Restart SpinAI
- Check logs for error messages
Next Steps
Now that Aiven is integrated with SpinAI:
- Explore all Aiven capabilities through SpinAI
- Check out other MCP servers that work with SpinAI
- Join the MCP community for tips and support
- Consider contributing to Aiven development
Need Help?
- Search for Aiven documentation
- Check the SpinAI MCP guide
- Join the MCP community discussions