Live Code Intelligence
from Real Language Servers
38 LSP MCP tools and 5 architecture tools over 21 pre-configured language servers: each found where you already have it, or installed, checksum-verified, when you ask.
4-Tier LSP Detection
Devscriptor looks for a server in four places, in priority order, and uses the first it finds. A server found nowhere is installed when you ask — checksum-verified, from the Devscriptor mirror or the server's own source.
A Configuration File
devscriptor-lsp.toml · DEVSCRIPTOR_LSP_CONFIGWhen one applies it is authoritative: the LSP tools use exactly the servers it lists.
- Each server’s command, arguments and environment
- Its file extensions and project markers
- Initialization options and settings
- A project’s file applies only once trusted
Devscriptor’s Own Installs
<cache>/devscriptor/lsp-servers/ · bundle/lsp-servers/The servers lsp setup installed, then a bundle beside the executable.
- Installs made by lsp setup or lsp_arch_setup
- Every download checked against its SHA-256
- jdtls and the Dart SDK at the version pinned
- Reused across projects
The System
$PATH + known locationsReuse servers already installed on your system.
- The server’s command on the PATH
- rustup toolchains, ~/go/bin, ~/.npm-global/bin
- LLVM’s directories and Xcode’s toolchain
- No duplicate installs
Editor Extensions
~/.vscode/extensions/Reuse the language servers bundled with your VS Code extensions.
- Read-only: nothing is changed there
- VS Code Server, Cursor, Windsurf or Code - OSS when VS Code is absent
- No separate install needed
- Checked last
Install when you ask: when none of the four places has a server, devscriptor lsp setup (or the MCP lsp_arch_setup) installs it after a prerequisite check — from the Devscriptor mirror, a GitHub release whose archives the build pins by SHA-256, or, where the mirror has no build, from the server's own source: its GitHub release, npm, go install, dotnet tool, gem, Coursier, or its publisher's archive. An unverified download is refused, and nothing is installed unasked. A server Devscriptor installed starts only where the runtime it needs is there and new enough — Java 21 for jdtls, Node.js 18 for the npm servers, Ruby 3.0 for ruby-lsp, PHP 8.2 for phpactor — and is otherwise refused with what it needs.
38 LSP Tools
Live language-server features exposed as MCP tools, organized by category. The position tools take a symbol name, resolved from the index, or file_path, line and character, counted from 0 as LSP counts them; every result with a position carries a cite (path:line:column, counted from 1) to quote.
get_hover
Hover information (type signature, docs) for a symbol
get_definition
Definition location of a symbol
get_references
All references to a symbol, with the uses the index records
get_type_definitions
Type definitions
get_implementations
Implementations
21 Pre-Configured Servers
Together these cover every Devscriptor language and framework but VB.NET, which is indexed but has no language server. Each installs from the Devscriptor mirror first; the source shown is the one used where the mirror has no build. devscriptor lsp check <server> names what a server needs to run — Node.js, Java, .NET, a toolchain — and how to install it.
rust-analyzer
Rust
GitHub releaseclangd
C · C++ · CUDA · Objective-C
GitHub releasegopls
Go
go installtypescript-language-server
TypeScript · JS · TSX
npmvolar
Vue
npmsvelte-language-server
Svelte
npmhtml-languageserver
HTML
npmgraphql-language-service
GraphQL
npmpyright
Python
npmsql-language-server
SQL
npmjdtls
Java
Eclipse milestone archivekotlin-lsp
Kotlin
JetBrains, latest build (never mirrored)metals
Scala
Coursiercsharp-ls
C#
dotnet toolfsautocomplete
F#
dotnet tool, with Fantomassourcekit-lsp
Swift
the Swift toolchain (not installed)dart-ls
Dart
Google’s Dart SDK archiveruby-lsp
Ruby
gembash-language-server
Bash
npmnomicfoundation-solc
Solidity
npmphpactor
PHP
GitHub release (not on Windows)What the Servers See
A language server answers from its own view of the files. Before each request, Devscriptor brings that view up to date with the disk, so an answer never comes from an older copy of the code.
Open documents
A document the server holds open is sent again when its file changed, and closed when its file is gone, so a server never reports references in a deleted file.
Every other file
The files a re-index finds created, changed or deleted reach the servers whose folders hold them, as workspace/didChangeWatchedFiles before their next request. So do the files the watcher saw change when another process indexing the same database, such as devscriptor watch in a terminal, re-indexed them first.
A cache it can write
Each server runs with a temporary directory of its own. Where the cache folder cannot be written, as where it is mounted read-only, the server’s cache is a folder in that directory: phpactor cannot build its index without one, nor gopls read a package’s metadata.
A ruby-lsp for this Ruby
ruby-lsp’s native extensions load only on a Ruby like the one that built them. Devscriptor checks them with the Ruby it runs, skips a package another Ruby built with a warning naming both, and lsp setup ruby-lsp installs it again for this Ruby.
Overriding Server Resolution
The first place is a configuration file: devscriptor-lsp.toml in the directory Devscriptor runs in, or the file DEVSCRIPTOR_LSP_CONFIG names. It names commands to run, so a project's file is ignored until you trust its exact content with devscriptor lsp trust; editing the file withdraws the trust.
Choose the servers
# devscriptor-lsp.toml: the LSP tools use exactly these
[workspace]
roots = ["."]
[[lsp_servers]]
language_id = "rust"
command = "/home/user/.cargo/bin/rust-analyzer"
extensions = ["rs"]
heuristics = { markers = ["Cargo.toml", "Cargo.lock"], max_depth = 3 }
[[lsp_servers]]
language_id = "python"
command = "pyright-langserver"
args = ["--stdio"]
extensions = ["py", "pyw", "pyi"]
[lifecycle]
startup = "lazy" # or "eager"
idle_timeout_secs = 600 # 0 never stops an idle serverEnvironment variables
# A configuration file anywhere (needs no trust: you set it)
export DEVSCRIPTOR_LSP_CONFIG=/path/to/devscriptor-lsp.toml
# Install from another place that holds the mirror's archives
export DEVSCRIPTOR_LSP_MIRROR_URL=https://mirror.example.com/lsp-servers
# Stop idle servers after 5 minutes; run at most 4 at once
export DEVSCRIPTOR_LSP_IDLE_SECS=300
export DEVSCRIPTOR_LSP_MAX_SERVERS=4LSP CLI Commands
Manage language servers from the command line with devscriptor lsp.
devscriptor lsp setupDetect the project's languages and install the servers it lacks, after asking (--yes skips the question). Name servers, by id or language, to install those instead.
$ devscriptor lsp setup
🔧 LSP Setup
Project: .
Languages Detected:
• rust (confidence: 80%)
Indicators: Cargo.toml
• python (confidence: 30%)
✅ Found LSP Servers
⬇️ rust-analyzer ~/.cache/devscriptor/lsp-servers/rust-analyzer/bin/rust-analyzer - installed
⬇️ pyright ~/.cache/devscriptor/lsp-servers/pyright/node_modules/.bin/pyright-langserver - installed
📋 Summary
Total languages detected: 2
LSP servers available: 2
Ready to install: 0
Missing prerequisites: 0devscriptor lsp detectDetect the project's languages and where each server resolves, without installing.
$ devscriptor lsp detect
🔍 LSP Detection
Languages Detected:
• rust (confidence: 80%)
Indicators: Cargo.toml
• python (confidence: 30%)
Found LSP Servers
⬇️ rust-analyzer ~/.cache/devscriptor/lsp-servers/rust-analyzer/bin/rust-analyzer - installed
⬇️ pyright ~/.cache/devscriptor/lsp-servers/pyright/node_modules/.bin/pyright-langserver - installeddevscriptor lsp statusList the 21 servers, grouped by where each resolves.
$ devscriptor lsp status
📊 LSP Status
Found 21 LSP servers:
system (1)
✅ sourcekit-lsp
installed (20)
✅ rust-analyzer
✅ clangd
✅ gopls
…devscriptor lsp check <server>Check one server: where it resolves, or why it does not run or cannot start here (a runtime missing or too old, such as jdtls on a Java older than 21), with what it lacks and how to install it.
$ devscriptor lsp check rust-analyzer
🔍 Checking: rust-analyzer
✅ found at: ~/.cache/devscriptor/lsp-servers/rust-analyzer/bin/rust-analyzer
Source: installeddevscriptor lsp batch-check <servers…>Check several servers at once.
$ devscriptor lsp batch-check rust-analyzer pyright gopls
🔍 Batch Server Check
✅ rust-analyzer - ~/.cache/devscriptor/lsp-servers/rust-analyzer/bin/rust-analyzer (installed)
✅ pyright - ~/.cache/devscriptor/lsp-servers/pyright/node_modules/.bin/pyright-langserver (installed)
✅ gopls - ~/.cache/devscriptor/lsp-servers/gopls/bin/gopls (installed)devscriptor lsp trust [file]Show the servers a project's devscriptor-lsp.toml would start, then trust that exact content; lsp untrust withdraws it.
$ devscriptor lsp trust
devscriptor-lsp.toml runs these language servers:
rust rust-analyzer
Trusted. Devscriptor uses it until the file changes.Bring Live Code Intelligence to Your Agent
Download Devscriptor and expose 38 LSP tools across 21 language servers — found where you already have them, or installed when you ask.