Cursor
Cursor is an AI-first code editor built on VS Code. It supports MCP servers through JSON configuration files.
Configuration
Cursor supports two configuration levels:
| Scope | Location | Use Case |
|---|---|---|
| Global | ~/.cursor/mcp.json | Available in all projects |
| Project | .cursor/mcp.json in project root | Project-specific |
Configure the MCP server path based on your platform:
macOS
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["/Applications/SF Veritas.app/Contents/Resources/mcp-server/index.js"]
}
}
}
Windows
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["%LOCALAPPDATA%\\Programs\\SF Veritas\\resources\\mcp-server\\index.js"]
}
}
}
Linux
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["/opt/SF Veritas/resources/mcp-server/index.js"]
}
}
}
Enabling MCP in Cursor
MCP must be enabled in Cursor settings:
- Open Cursor Settings (
Cmd+,on macOS,Ctrl+,on Windows/Linux) - Search for "MCP"
- Ensure MCP Servers is enabled
You can also access MCP settings via:
- Command Palette (
Cmd+Shift+P) → "Cursor Settings: Open MCP Settings"
Agent Mode Requirement
Important: MCP tools only work in Cursor's Agent mode, not in normal chat.
To use MCP tools:
- Open the AI pane (Composer)
- Switch to Agent mode using the mode selector
- Now the telemetry tools are available
Verification
After configuring, verify the connection:
- Reload Cursor window (
Cmd+Shift+P→ "Reload Window") - Open Command Palette (
Cmd+Shift+P) - Search for "MCP: List Servers" or check MCP settings
- You should see
sailfishTelemetryin the list - Check the Output panel → "MCP Logs" for connection status
Usage
Once connected, use Agent mode to query telemetry:
> List my recent telemetry sessions
> Show me errors from the last session
> What are the performance bottlenecks in my app?
> Trace the execution of the handleSubmit function
Cursor will use the MCP tools to analyze your application's behavior.
Troubleshooting
Server not appearing in MCP settings
- Ensure the config file is in the correct location
- Verify JSON syntax is valid
- Reload Cursor window
- Check Output → "MCP Logs" for errors
MCP tools not available in chat
Make sure you're in Agent mode, not normal chat mode. MCP tools are only available in Agent mode.
"No telemetry data found"
- Ensure your application has been instrumented with SF Veritas SDK
- Run your application to generate telemetry data
- Check that the database exists:
ls ~/.sailfish/telemetry.db