mayros lsp
Query Cortex-stored language diagnostics and manage LSP bridge servers. The standalone CLI provides access to diagnostics, status, and server lifecycle outside of active sessions.
Global options
--cortex-host <host>— Cortex host (default:127.0.0.1or from config)--cortex-port <port>— Cortex port (default:8080or from config)--cortex-token <token>— Cortex auth token (or setCORTEX_AUTH_TOKEN)
Subcommands
lsp diagnostics
Show diagnostics stored in Cortex by the LSP bridge. Displays file path, line number, severity, and message for each diagnostic.
| Option | Description |
|---|---|
--file <path> | Filter by file path or URI |
--format <fmt> | Output format: terminal (default) or json |
lsp status
Show LSP bridge status including Cortex connectivity (connected/offline). Indicates that LSP servers are managed by the lsp-bridge plugin during sessions.
lsp start
Start LSP servers. Requires an active session with the lsp-bridge plugin enabled. Configure servers in the plugin config and start a session.
lsp stop
Stop LSP servers. Requires an active session with the lsp-bridge plugin enabled. Servers are automatically stopped when the session ends.
Examples
bashmayros lsp status mayros lsp diagnostics mayros lsp diagnostics --file src/index.ts mayros lsp diagnostics --format json mayros lsp start mayros lsp stop
Related
- Cortex — AIngle Cortex backend
- Code Indexer — automatic code scanning
- Plugins — plugin management