Windsurf (MCP Server)
Access your DeepTracer data from Windsurf. Debug production errors without leaving your editor.
DeepTracer includes an MCP server that connects to Windsurf. Once set up, you can ask about production errors, search logs, and read AI investigation reports — all from your editor.
Available Tools
When connected, Windsurf gets access to 5 tools:
| Tool | What it does |
|---|---|
get_errors | List recent error groups with occurrence counts, severity, and resolution status. Filter by environment, project, and service. |
get_error_detail | Get full details for a specific error — stack trace (source-mapped when available), occurrence count, affected users, and recent occurrences. |
get_investigation | Get the AI investigation report for an error — root cause analysis, evidence, blast radius, and suggested fix. |
search_logs | Search through your application logs. Filter by environment, project, service, log level, time range, and search term. |
get_health | Get the latest AI-generated health summary for your projects, including detected anomalies and metrics. |
Setup
Copy the MCP config
Go to your DeepTracer dashboard and navigate to Settings > Editor tab. Select the Windsurf tab and copy the config JSON. It looks like this:
{
"mcpServers": {
"deeptracer": {
"serverUrl": "https://app.deeptracer.dev/mcp"
}
}
}Note that Windsurf uses serverUrl instead of url. The config in the dashboard is already formatted correctly for Windsurf.
Add it to Windsurf
Save the config to ~/.codeium/windsurf/mcp_config.json, or add the deeptracer entry to your existing MCP config file if you already have one.
Authorize
When Windsurf connects for the first time, it will open a browser window asking you to sign in and authorize the connection. Approve access with your DeepTracer account.
That's it. Windsurf now has access to your monitoring data.
Example Prompts
Once connected, try asking Windsurf things like:
- "Show me recent errors in production" — lists recent error groups with counts and status.
- "What's the stack trace for this error?" — pass a fingerprint for full source-mapped traces.
- "Search logs for payment failures" — finds matching log entries with timestamps and metadata.
- "Is my app healthy right now?" — returns the latest AI-generated health summary.
- "What caused error abc123?" — returns the AI investigation with root cause and suggested fix.
All data is scoped to your organization. Windsurf can only see projects you have access to in DeepTracer.
Managing Connections
You can see all connected editors and revoke access from Settings > Editor in your DeepTracer dashboard. Each connection shows when it was created and last used.
What's next?
- Cursor Integration — Same tools, in Cursor
- Claude Code Integration — Same tools, from the command line
- AI Investigations — Learn how the investigation reports work