Commands Reference
Complete command reference for all TONL-MCP Bridge operations. See the main project's COMMANDS.md for the authoritative reference.
Quick Access
bash
# Show comprehensive commands
tonl help
# Command-specific help
tonl convert --help
tonl analyze --help
tonl roi --help
tonl top --helpMost Common Commands
File Conversion
bash
# Convert JSON to TONL
tonl convert data.json
# With statistics
tonl convert data.json -s
# Anonymize sensitive fields
tonl convert users.json --anonymize email,ssn --maskLive Monitoring
bash
# Monitor local server
tonl top
# Monitor production server
tonl top --url https://api.production.comServer Operations
bash
# Start MCP server
export TONL_AUTH_TOKEN=your-token
tonl-mcp-server
# Health checks
curl http://localhost:3000/health
curl http://localhost:3000/readyAnalysis & ROI
bash
# Analyze file
tonl analyze data.json --visual
# Calculate ROI
tonl roi --savings 45 --queries-per-day 1000Full Documentation
For complete command documentation including:
- All CLI commands and options
- Server endpoints and API
- Docker and Kubernetes commands
- Environment variables
- Programmatic API usage
- Troubleshooting commands
See: COMMANDS.md
CLI Help System
The tonl help command provides access to comprehensive documentation:
bash
# General help
tonl help
# Command help
tonl help convert
tonl convert --helpCategories
File Operations
convert- Convert between JSON/YAML/TONLbatch- Convert multiple fileswatch- Auto-convert on file changesstream- Stream NDJSON to TONL
Analysis
analyze- Token usage analysisroi- ROI calculation
Monitoring
top- Live server monitoring
Server
tonl-mcp-server- Start MCP server
Common Options
bash
-s, --stats # Show statistics
-n, --name <name> # Collection name
-m, --model <model> # LLM model
--anonymize <fields> # Anonymize fields
--mask # Smart masking
--url <url> # Server URL
--visual # Visual dashboardGetting Help
bash
# General help
tonl --help
# Version
tonl --version
# GitHub
open https://github.com/kryptomrx/tonl-mcp-bridge
# Documentation
open https://tonl-mcp-bridge-docs.vercel.app/Next Steps
- Streaming Pipeline - Real-time conversion
- Privacy & Compliance - Data anonymization
- Live Monitoring - Server metrics
- MCP Server - Production deployment