Using with Windsurf
Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json.
codehub setup writes the entry for you.
Wire the MCP server
Section titled “Wire the MCP server”codehub setup --editors windsurfThe writer merges a codehub entry into the existing mcpServers
object without touching other servers.
Prerequisite: codehub must be on your PATH — run
mise run cli:link from a checkout, or mise run cli:install-global
to install the packed tarball. See
Install.
The entry uses the same shape as Claude Code and Cursor:
{ "mcpServers": { "codehub": { "command": "codehub", "args": ["mcp"], "env": {} } }}Reload Windsurf after the first write so it picks up the new server. The server runs over stdio for the lifetime of the session.
Multi-editor setup
Section titled “Multi-editor setup”--editors accepts any comma-separated subset of
claude-code,cursor,codex,windsurf,opencode. The default is all five.
codehub setup --editors windsurf,cursorReverting
Section titled “Reverting”codehub setup --editors windsurf --undo--undo removes only the codehub entry. Other Windsurf MCP servers
are left alone.
- MCP tools — the catalogue of 29 tools Windsurf will see.