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 |
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"]
}
}
}
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
- Verify the app is installed at the expected location
- 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