lspi

Crates.iolspi
lib.rslspi
version0.2.0
created_at2026-01-21 17:03:20.254837+00
updated_at2026-01-22 13:05:49.005481+00
descriptionGiving AI the sight of LSP: bridge LSP capabilities to AI coding CLIs via an MCP server over stdio.
homepagehttps://github.com/Latias94/lspi
repositoryhttps://github.com/Latias94/lspi
max_upload_size
id2059692
size85,261
Latias94 (Latias94)

documentation

README

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=true by default)
  • Multi-server routing by file extension + root directory
  • Server lifecycle controls (restart/stop)

Install

From source:

cargo install --path crates/lspi --locked

Quickstart (Codex)

  1. Generate a project config (recommended):
cd /path/to/project
lspi setup --wizard --non-interactive --write
  1. Configure Codex MCP (~/.codex/config.toml):
[mcp_servers.lspi]
command = "lspi"
args = ["mcp", "--workspace-root", "."]

Docs

Commit count: 77

cargo fmt