Usage
Options
| Option | Default | Description |
|---|---|---|
--config | auto-discovered | Path to .langsight.yaml |
--json | false | Output results as JSON |
What it does
Connects to each configured MCP server, runsinitialize + tools/list, measures latency, and detects schema drift vs. the last stored snapshot.
Exit codes:
0— all servers healthy1— one or more servers DOWN or DEGRADED
Example output
Schema drift detection
LangSight stores a hash of each server’s tool list on the first run. On subsequent runs, if the hash changes, the server is marked DEGRADED and a warning appears. This catches:- Unplanned tool additions or removals
- Changed tool descriptions (potential poisoning)
- Breaking parameter changes
JSON output
Data persistence
Results are stored in~/.langsight/data.db (SQLite, default) or ClickHouse (production). Use --config to point at a different .langsight.yaml with a different storage backend.