lspi-0.2.0 is not a library.
lspi
Giving AI the sight of LSP.
lspi bridges Language Server Protocol (LSP) capabilities to AI coding CLIs (starting with Codex) via an MCP server over stdio.
What it does
- Symbol navigation (definition/references/hover)
- Safe rename with preview-first edits (
dry_run=trueby default) - Multi-server routing by file extension + root directory
- Server lifecycle controls (restart/stop)
Install
From source:
Quickstart (Codex)
- Generate a project config (recommended):
- Configure Codex MCP (
~/.codex/config.toml):
[]
= "lspi"
= ["mcp", "--workspace-root", "."]
Docs
- Configuration:
docs/CONFIG.md - Smoke tests:
docs/SMOKE_TEST.md