Agents

Connect Windsurf to Repowise

Wire Windsurf's Cascade agent to the local or hosted Repowise MCP server, see which file changes, verify the connection and remove it.

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:

Paste into Claude Code, Codex, Cursor or any MCP agent

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:

bash
repowise agents add --target=windsurf

Hosted. Run in the repository, then approve the sign-in in Windsurf:

bash
repowise agents add --target=windsurf --hosted

What gets written where

FileScopeWhat repowise writes
~/.codeium/windsurf/mcp_config.jsonusermcpServers.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

bash
repowise agents

You 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

bash
repowise agents remove --target=windsurf

This drops the local repowise entry and keeps every other server in the file.

Troubleshooting

SymptomFix
it serves another repoThe single entry points at a different repository. Run repowise agents add --target=windsurf from the one you want.
Windsurf loads no MCP serversmcp_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 serverRename the hosted entry to repowise-hosted and re-run the add command.
Only five Repowise tools are listedWindsurf gets the core profile by default. See Tool profiles.

Next

Hosted

Indexed on every push, with nothing to install.

Start free
Was this page helpful?
Report a problem with this pageUpdated