xray / setup / windsurf
Setup guide
Set up XRAY in Windsurf
communitystdioneeds caution
Progressive code-intelligence server: lets AI assistants map structure, fuzzy-find symbols, and assess change-impact across Python, JS/TS, and Go codebases (powered by ast-grep)
01Configuration
{
"mcpServers": {
"xray": {
"command": "uvx",
"args": [
"--from",
"/path/to/xray",
"xray-mcp"
]
}
}
}
Add this to ~/.codeium/windsurf/mcp_config.json. Generated from the captured install method (uvx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.
02Steps
- Make sure Windsurf is installed and up to date.
- Open
~/.codeium/windsurf/mcp_config.jsonand add the block above (merge into any existingmcpServers). - Provide any required API keys/credentials as environment variables.
- Restart Windsurf and confirm XRAY’s tools appear.
03Other runtimes
04Provenance
config_sourcegenerated from captured install method
last_checked2026-08-07 11:02Z
sourcesAwesome MCP Servers (wong2) [p6]
Next step
Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.
Explore Apex →See also: server page · is it safe? · alternatives