Windsurf reads MCP servers from one file per machine. Repowise writes its server entry there, for the local index or the hosted one.
Install
Local, with your agent. Paste this into Cascade:
Read https://docs.repowise.dev/setup.md and set up Repowise in this repository.
Local, by hand. repowise init wires Windsurf when it is installed. To
wire it later, from the repository it should serve:
repowise agents add --target=windsurfHosted. Run in the repository, then approve the sign-in in Windsurf:
repowise agents add --target=windsurf --hostedWhat gets written where
| File | Scope | What repowise writes |
|---|---|---|
~/.codeium/windsurf/mcp_config.json | user | mcpServers.repowise: command and args, naming the repository it serves |
Windsurf has no project MCP file, so the local entry names one repository.
repowise init never moves an entry that serves another repository;
repowise agents add --target=windsurf does. The hosted entry uses
serverUrl (Windsurf's key for a remote server, not url) and is named
repowise-hosted when a local repowise exists.
Restart
Open Windsurf Settings > Cascade > MCP servers and refresh. For a hosted
entry, approve the repowise sign-in in the browser when Windsurf asks.
Verify
repowise agentsYou should see windsurf with status configured. In Cascade, ask "What
are the hotspot files in this repo?" and check that it calls a Repowise
tool.
Uninstall
repowise agents remove --target=windsurfThis drops the local repowise entry and keeps every other server in the
file.
Troubleshooting
| Symptom | Fix |
|---|---|
it serves another repo | The single entry points at a different repository. Run repowise agents add --target=windsurf from the one you want. |
| Windsurf loads no MCP servers | mcp_config.json is not valid JSON. repowise doctor reports it. Fix the file, then run repowise agents add --target=windsurf --scope=user. |
"repowise" entry names a remote server | Rename the hosted entry to repowise-hosted and re-run the add command. |
| Only five Repowise tools are listed | Windsurf gets the core profile by default. See Tool profiles. |
Next
- Connecting your IDE for the hosted URL.
- Tool profiles to list all ten tools.
- repowise agents for every flag.