Prerequisites
Before you begin, ensure you have:Configuration
Windsurf uses a configuration file that follows the same schema as Claude Desktop.Configuration File Location
Step 1: Create the configuration file
Step 2: Add ShingleAI server
Add the following configuration to yourmcp_config.json:
YOUR_MCP_KEY with your actual MCP key.
Step 3: Use environment variables (recommended)
For better security, use environment variables:Step 4: Restart Windsurf
After saving your configuration, restart Windsurf for the changes to take effect.Alternative: UI Configuration
You can also configure MCP servers through Windsurf’s settings:- Open the Command Palette with
Cmd+Shift+P(Mac) /Ctrl+Shift+P(Windows/Linux) - Type “Open Windsurf Settings”
- Navigate to Cascade > Plugins
- Add ShingleAI as a custom MCP plugin
Verification
To verify the connection is working:- Open Cascade (Windsurf’s AI assistant)
- Ask: “What ShingleAI tools do you have access to?”
- Cascade should list the available tools
Example Usage
Once connected, you can use ShingleAI tools in Cascade:| Task | Example Prompt |
|---|---|
| Find contact info | ”Look up contact information for our vendor” |
| Search communications | ”Find messages mentioning the deployment issue” |
| View thread | ”Show the full conversation thread with support” |
Troubleshooting
Cascade doesn't see ShingleAI tools
Cascade doesn't see ShingleAI tools
Possible causes:
- Configuration file in wrong location
- Invalid JSON syntax
- Windsurf not restarted
- Verify the file is at
~/.codeium/windsurf/mcp_config.json - Validate your JSON syntax
- Completely restart Windsurf
Authentication errors
Authentication errors
Possible causes:
- Invalid or expired MCP key
- Environment variable not set
- Verify your MCP key in the ShingleAI dashboard
- Ensure the environment variable is exported
- Try launching Windsurf from terminal after exporting the variable
Tool limit exceeded
Tool limit exceeded
Cascade has a limit of 100 total tools. If you have many MCP servers configured, you may need to disable some tools.Solution:
- Open Windsurf Settings > Cascade > Plugins
- Navigate to the Tools tab
- Toggle off tools you don’t need
Windsurf supports both stdio and HTTP transports for MCP servers. ShingleAI uses SSE (via mcp-remote) for optimal performance.