Claude Code
Claude Code is Anthropic's official CLI for Claude. It supports MCP servers for extending Claude's capabilities with external tools.
Configuration
Claude Code supports two configuration levels:
| Scope | Location | Use Case |
|---|---|---|
| User | ~/.claude.json | Available in all projects |
| Project | .mcp.json in project root | Project-specific, shareable via git |
Choose the configuration based on whether you have the Desktop App or VS Code Extension installed.
Desktop App
If you have the SF Veritas Desktop App installed:
macOS
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["/Applications/SF Veritas.app/Contents/Resources/app.asar.unpacked/dist/mcp-server/index.js"]
}
}
}
Windows
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["%LOCALAPPDATA%\\Programs\\SF Veritas\\resources\\app.asar.unpacked\\dist\\mcp-server\\index.js"]
}
}
}
Linux
{
"mcpServers": {
"sailfishTelemetry": {
"command": "node",
"args": ["/opt/SF Veritas/resources/app.asar.unpacked/dist/mcp-server/index.js"]
}
}
}
VS Code Extension
If you have the SF Veritas VS Code Extension installed:
macOS / Linux
{
"mcpServers": {
"sailfishTelemetry": {
"command": "bash",
"args": ["-c", "node \"$(ls -d ~/.vscode/extensions/sailfish-ai.sf-veritas-extension-* 2>/dev/null | sort -V | tail -1)/dist/mcp-server-bundled.js\""]
}
}
}
This command:
- Uses glob pattern to find the extension (no hardcoded version)
- Sorts by version and picks the latest if multiple exist
- Uses
bash -cto handle path expansion
Windows
{
"mcpServers": {
"sailfishTelemetry": {
"command": "cmd",
"args": ["/c", "for /d %d in (%USERPROFILE%\\.vscode\\extensions\\sailfish-ai.sf-veritas-extension-*) do @node \"%d\\dist\\mcp-server-bundled.js\""]
}
}
}
Verification
After configuring, verify the connection:
- Open your terminal in the project directory
- Run
claudeto start Claude Code - Type
/mcpto see connected MCP servers - You should see
sailfishTelemetryin the list
Alternatively, run /config to see the full configuration including MCP servers.
Usage
Once connected, ask Claude to use the telemetry tools:
> List my recent telemetry sessions
> Show me any errors from the last hour
> What are the slowest functions in my application?
> Analyze the performance of API calls to /api/users
Claude will automatically use the appropriate MCP tools to query your telemetry data.
Troubleshooting
Server not appearing in /mcp
- Desktop App: Verify the app is installed at the expected location
- VS Code Extension: Ensure the extension exists:
ls ~/.vscode/extensions | grep sf-veritas - Check that Node.js 18+ is installed:
node --version - Verify the JSON syntax in your config file
- Restart Claude Code
"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