MCP Overview
Coming Soon: Rockfish MCP is currently under development and will be available in March 2025.
Rockfish MCP is a Model Context Protocol (MCP) server for querying Parquet files using DuckDB.
Features
- SQL queries via DuckDB - Full SQL support for Parquet files
- S3 support - AWS, MinIO, Cloudflare R2, DigitalOcean Spaces
- Configurable data sources - Abstract file locations from API
- Multiple output formats - JSON, JSON Lines, CSV, Table
- TLS support - Secure connections for remote access
- HTTP/WebSocket mode - Standard HTTP with Bearer token auth
- License validation - Verify Parquet files were generated by licensed probes
Operation Modes
| Mode | Transport | Use Case |
|---|---|---|
| stdio | stdin/stdout | Claude Desktop, local tools |
| TLS | Raw TCP+TLS | Custom integrations |
| HTTP | HTTPS+WebSocket | Web clients, standard tooling |
Built-in Tools
| Tool | Description |
|---|---|
list_sources | List configured data sources |
schema | Get column names and types |
query | Query with filters and column selection |
aggregate | Group and aggregate data |
sample | Get random sample rows |
count | Count rows with optional filter |
Quick Example
# config.yaml
sources:
flow:
path: s3://security-data/netflow/
description: Network flow data
output:
default_format: json
max_rows: 1000
ROCKFISH_CONFIG=config.yaml rockfish_mcp
Query example:
query:
source: flow
columns: [saddr, daddr, sbytes, dbytes]
filter: "sbytes > 1000000"
limit: 50
License Validation
Rockfish MCP will validate that Parquet files were generated by a licensed rockfish_probe. Each Parquet file includes signed metadata:
rockfish.license_id- License identifierrockfish.tier- License tier (Community, Basic, Professional, Enterprise)rockfish.company- Company namerockfish.observation- Observation domain name
Configure validation per data source:
sources:
prod_flows:
path: s3://data/flows/
require_license: true # Reject unlicensed files
allowed_license_ids: # Optional: restrict to specific licenses
- "lic_abc123"
Next Steps
- Setup - Configure MCP server
- Authentication - Secure your server
- Tools & Queries - Query reference