Windsurf

MCP server for Windsurf (Cascade)

Zephex is a hosted MCP server: one API key, ten tools for your real codebase—context, search, package checks, architecture maps. This page is for Windsurf users adding MCP to Cascade without running a local Node MCP process on every machine.

Windsurf reads MCP from a global file only: ~/.codeium/windsurf/mcp_config.json. A config file inside a repo folder will not work.

What tools do you get?

  • get_project_contextFull project snapshot: stack, deps, scripts, and config markers in one call.
  • read_codeAST-based symbol and file reading — no whole-file dumps.
  • find_codeRanked search across the repo for definitions and usages.
  • check_packageLive registry safety check before installing unknown packages.
  • audit_packageCVEs, breaking changes, and migration notes between versions.
  • explain_architectureMermaid diagrams for how services and modules connect.
  • scope_taskTask description → minimal file set with risk ratings.
  • audit_headersGrade deployed URLs for CSP, HSTS, TLS, and cookies.
  • keep_thinkingStructured multi-step debugging that remembers conclusions.
  • Zephex_dev_infoExpert patterns for auth, DB, frontend, and deployment topics.

All tools →

How does Zephex connect in Windsurf?

Cascade calls your MCP config over HTTPS to https://zephex.dev/mcp with a Bearer API key. No npx command block—use serverUrl, not url or command.

Developer
    │
    ▼
Cursor / Claude Code / VS Code  (MCP client)
    │
    ▼
npx zephex  (stdio bridge)  OR  HTTPS + Bearer
    │
    ▼
https://zephex.dev/mcp  (hosted MCP server)
    │
    ▼
10 tools: get_project_context, find_code, read_code,
          check_package, audit_package, explain_architecture, …

How do I add MCP to Windsurf?

  1. Create an API key at zephex.dev.
  2. Open or create ~/.codeium/windsurf/mcp_config.json.
  3. Paste the zephex block with serverUrl https://zephex.dev/mcp and Authorization Bearer your_key.
  4. Fully quit Windsurf and reopen.
  5. Open Cascade → confirm zephex shows 10 tools.
  6. With a repo open, ask: “Run get_project_context on this project.”

What goes wrong most often?

  • Config saved under the project instead of ~/.codeium/windsurf/.
  • Used url instead of serverUrl (Windsurf remote shape).
  • Left an old npx stdio block—duplicate zephex entries show 0 tools.
  • Project tools need a path or github:owner/repo in the prompt (global MCP does not auto-scope).

MCP troubleshooting · MCP Q&A

Windsurf vs Cursor for MCP

Cursor can use per-project .cursor/mcp.json. Windsurf is global-only—great for one key across all repos on a machine; use team key rotation if the laptop is shared. Many developers run Zephex in both editors with the same API key policy.

Cursor MCP guide · Cursor + hosted MCP

Get API keyWindsurf guide