Apache Gravitino + Windsurf Editor: Complete MCP Integration
Apache Gravitino is a MCP server that Allow LLMs to explore metadata of structured data and unstructured data with Gravitino, and perform data governance tasks including tagging/classification..
When integrated with Windsurf Editor, you can:
- Access Apache Gravitino functionality through Windsurf Editor
This guide provides step-by-step instructions to set up Apache Gravitino in Windsurf Editor, including configuration, examples, and troubleshooting.
What You'll Achieve
After completing this setup:
- Apache Gravitino will be fully integrated and operational
- You can use Apache Gravitino tools directly in Windsurf Editor
- All Apache Gravitino capabilities will be available for your workflows
Prerequisites
Before starting, ensure you have:
- Windsurf Editor installed and configured
- Compatible operating system (Desktop App)
Installation
Step 1: Install Apache Gravitino
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": {
"apache-gravitino": {
"command": "apache gravitino",
"args": []
}
}
}
Note: If Apache Gravitino requires environment variables, add them to the server configuration:
"env": {
}
- Restart Windsurf Editor
Completely quit and restart Windsurf Editor to load the new configuration.
Examples
Once configured, you can use Apache Gravitino in Windsurf Editor:
Testing Your Setup
- Launch Windsurf Editor
- Verify Apache Gravitino is available in the tools list
- Test basic Apache Gravitino 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.
Apache Gravitino not appearing in Windsurf Editor
Symptoms: Server not listed, Tools not available
Cause: Configuration or installation issue
Solution:
- Verify configuration syntax
- Check Apache Gravitino installation
- Restart Windsurf Editor
- Check logs for error messages
Next Steps
Now that Apache Gravitino is integrated with Windsurf Editor:
- Explore all Apache Gravitino 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 Apache Gravitino development
Need Help?
- Search for Apache Gravitino documentation
- Check the Windsurf Editor MCP guide
- Join the MCP community discussions