Build an MCP server and a language server from one Rust engine.
Your editor speaks the Language Server Protocol. Claude Code, Cursor and Codex speak MCP. lspkit serves both from one Rust engine, and profiles it too.
The language server toolkit
Write your language analysis once, as one Rust trait. lspkit serves it to your VS Code extension over the Language Server Protocol and to Claude Code, Cursor and Codex as an MCP server. Find the hot path and the memory leak with a profiler built into VS Code.
Get startedSharpLsp and Osprey ship the lspkit profiler in VS Code today: hot lines in the source, a flame graph beside it, and ranked memory leak suspects. See both examples.


Your editor speaks the Language Server Protocol. Claude Code, Cursor and Codex speak MCP. lspkit serves both from one Rust engine, and profiles it too.