Prerequisites
- Windsurf installed on your computer
- A Shuriken Agent Key (create one here if you haven’t already)
Step-by-step setup
1
Copy your Agent Key
If you just created your key, copy it from the setup screen. It starts with
sk_.If you already closed that screen, you’ll need to create a new key - keys are only shown once.2
Open the MCP config file
Windsurf stores its MCP config in a file called Press
mcp_config.json.Option A: Use the Command Palette (recommended)- Open Windsurf
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(macOS) - Type MCP and select “Windsurf: Configure MCP Servers”
- This opens your
mcp_config.jsonfile
- Open the Cascade AI panel
- Click the MCPs icon
- Click Configure
- Windows
- macOS
- Linux
Win+R, paste %USERPROFILE%\.codeium\windsurf and hit Enter. Look for mcp_config.json. If it doesn’t exist, create it.3
Add the Shuriken server
Paste the following into your If you already have other MCP servers, add the
mcp_config.json file. Replace YOUR_AGENT_KEY with the key you copied in step 1.If the file is empty or doesn’t exist, paste this entire block:mcp_config.json
"Shuriken" block inside the existing "mcpServers" object:mcp_config.json
4
Save and refresh
Save the file. In Windsurf, you can either:
- Restart Windsurf completely, or
- Click the refresh button next to the MCPs section in the Cascade panel
Unlike Cursor and Claude Desktop, Windsurf can sometimes pick up config changes without a full restart. But if it doesn’t work, restart to be safe.
5
Verify the connection
Open a chat in the Cascade panel and try one of these prompts:If Shuriken is connected, Cascade will use Shuriken tools to answer your question.
If you see results, you’re all set. Windsurf is now connected to Shuriken.
Troubleshooting
Cascade doesn't show Shuriken tools
Cascade doesn't show Shuriken tools
- Make sure you saved the
mcp_config.jsonfile - Try clicking the refresh button in the Cascade panel
- If that doesn’t work, fully restart Windsurf
- Check that there are no JSON syntax errors
Tools show up but return errors
Tools show up but return errors
- Double-check that your Agent Key is correct (starts with
sk_) - Make sure you’re using
"serverUrl"(not"url") - Make sure you included the
AgentKeyprefix before the key (with a space) - Check that the key hasn’t been revoked on the Agent Keys dashboard
Copied config from Cursor/Claude but it's not working
Copied config from Cursor/Claude but it's not working
Windsurf uses
"serverUrl" while Cursor and Claude Desktop use "url". Change the field name: