Installation¶
Prerequisites¶
agent-lsp is a single binary with no runtime dependencies. You need:
- A language server for your language (e.g.,
goplsfor Go,typescript-language-serverfor TypeScript,pyrightfor Python). Runagent-lsp doctorafter installing to check which servers are available on your PATH. - An MCP client to connect to agent-lsp: Claude Code, Cursor, Continue, or any tool that supports the Model Context Protocol.
For specific install methods below, you also need the corresponding package manager: Homebrew, npm (Node.js 18+), Go 1.21+, or Docker.
Recommended: install script¶
Homebrew (macOS / Linux)¶
npm¶
Go install¶
Docker¶
# Go
docker run --rm -i -v /your/project:/workspace ghcr.io/blackwell-systems/agent-lsp:go go:gopls
# TypeScript
docker run --rm -i -v /your/project:/workspace ghcr.io/blackwell-systems/agent-lsp:typescript typescript:typescript-language-server,--stdio
# Python
docker run --rm -i -v /your/project:/workspace ghcr.io/blackwell-systems/agent-lsp:python python:pyright-langserver,--stdio
See distribution for the full Docker tag list and HTTP mode setup.
Windows¶
PowerShell (no admin required)¶
Scoop¶
scoop bucket add blackwell-systems https://github.com/blackwell-systems/agent-lsp
scoop install blackwell-systems/agent-lsp
Winget¶
Verify your installation¶
This probes each configured language server and reports capabilities. Fix any failures before proceeding. See language support for install commands and server-specific notes.