This guide walks you through connecting the ShingleAI MCP server to Windsurf, allowing Cascade (Windsurf’s AI) to access your contacts, messages, and other business data.Documentation Index
Fetch the complete documentation index at: https://docs.shingleai.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, ensure you have:- Windsurf installed
- A ShingleAI account
Connect
Windsurf supports streamable-HTTP MCP servers and runs the OAuth 2.1 + PKCE handshake for you.-
Add ShingleAI to
~/.codeium/windsurf/mcp_config.json:Or, from Windsurf, open the Command Palette withCmd+Shift+P(Mac) /Ctrl+Shift+P(Windows/Linux), run Open Windsurf Settings, navigate to Cascade → Plugins, and add ShingleAI as a custom MCP plugin pointing athttps://mcp.shingleai.com/mcp— Windsurf writes the same JSON. - Restart Windsurf.
- The first time Cascade uses a ShingleAI tool — or when you click Connect in the plugin entry — Windsurf opens a browser tab for OAuth.
- Sign in to ShingleAI and approve the consent screen. Cascade then has access to the tools you granted.
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
If the OAuth browser tab fails to load, check that you can reach
https://mcp.shingleai.com/.well-known/oauth-protected-resource from your machine.If Cascade shows a stale token error, remove the shingleai entry from ~/.codeium/windsurf/mcp_config.json, restart Windsurf, and re-add it — that forces a fresh Dynamic Client Registration.See Authentication for the underlying flow.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, navigate to Cascade → Plugins
- Navigate to the Tools tab
- Toggle off tools you don’t need
Next Steps
Available Tools
Explore all available MCP tools
Authentication
Learn about MCP server authentication