Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By qwreeyv0.1.0MITIn 1 marketplace
luau-lsp 언어 서버를 Claude Code 에 붙인다: .luau 를 고치면 다음 도구 호출에 타입·문법 진단이 붙고, LSP 도구로 hover·정의 찾기를 한다. Rojo 프로젝트(*.project.json, sourcemap.json)면 동봉한 Roblox 정의 파일로 검사한다. luau-lsp 바이너리는 따로 설치한다(rokit, aftman, foreman, mise, 릴리스 zip, VS Code 확장 중 있는 것을 찾아 쓴다). Linux·macOS 는 sh 런처, Windows 는 .cmd 런처(PowerShell 로 찾음, 실기기 미확인).
Language servers for diagnostics and code navigation.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Luau 언어 서버 luau-lsp 를 Claude Code 에 붙이는 가벼운 플러그인이다. 켜 두면 Claude 가 .luau 파일을 고친 뒤 검사기가 낸 타입 오류를 직접 받아 보고, 변수의 타입이나 정의 위치를 검사기에게 물어볼 수 있다. VS Code 에서 쓰는 그 서버를 그대로 쓰므로 에디터에서 보던 빨간 줄을 Claude 도 본다. Rojo 프로젝트면 Roblox 정의 파일(플러그인에 들어 있다)로 검사한다. 서버 바이너리는 들어 있지 않아 따로 설치한다(아래 "바이너리 얻기").
Luau·Roblox 지식(타입 한계, 테스트, 성능, Roblox API)은 별도 팩 luau-kb 가 맡는다. 둘은 서로 없이도 동작한다.
.luau 를 고치면 그 다음 도구 호출에 진단이 붙는다([Line 13:3] TypeError: ... 꼴). 편집을 몰아서 하고 바로 끝내면 진단을 못 보고 끝나니, 고친 뒤 한 번 더 확인하라고 하면 잡는다.*.project.json 이나 sourcemap.json 이 있으면 Roblox 모드(Roblox 전역, require(ReplicatedStorage.X) 해석), 없으면 일반 Luau 모드다..luau 편집이나 첫 LSP 질문 때 뜬다. 파일을 읽기만 하면 뜨지 않는다.아래 중 하나면 된다. 플러그인이 알아서 찾는다.
| 방법 | 명령 |
|---|---|
| VS Code 확장 | 이미 VS Code 에 "Luau Language Server" 확장이 있으면 그 안의 서버를 쓴다. 할 일 없음 |
| rokit | 프로젝트: rokit add JohnnyMorganz/luau-lsp, 전역: rokit add --global JohnnyMorganz/luau-lsp |
| aftman | 프로젝트: aftman add JohnnyMorganz/luau-lsp, 전역: aftman add --global JohnnyMorganz/luau-lsp |
| foreman | foreman.toml 에 luau-lsp = { github = "JohnnyMorganz/luau-lsp", version = "1.70.1" } 를 넣고 foreman install |
| mise | 프로젝트: mise use github:JohnnyMorganz/luau-lsp, 전역: mise use -g github:JohnnyMorganz/luau-lsp |
| 릴리스 zip | 릴리스 페이지에서 luau-lsp-win64.zip(Windows), luau-lsp-macos.zip, luau-lsp-linux-x86_64.zip, luau-lsp-linux-arm64.zip 중 하나를 받아 풀고, PATH 에 있는 폴더에 넣거나 LUAU_LSP_BIN 에 경로를 적는다 |
찾는 순서: LUAU_LSP_BIN → 프로젝트에 mise 로 고정한 버전 → PATH 의 luau-lsp(--version 이 성공할 때만. 버전이 고정되지 않은 rokit·aftman·mise shim 은 건너뛴다) → rokit, aftman, foreman, mise, VS Code(Insiders, Cursor, VS Code Server 포함) 설치본 중 가장 높은 버전. 같은 버전이면 앞의 것.
claude plugin marketplace add <claude-doctor 폴더> # 마켓을 처음 쓸 때 한 번
claude plugin install luau-lsp@claude-doctor-market
설치한 뒤 새 세션을 연다.
--which 를 붙여 실행한다. 쓸 바이너리와 인자가 한 줄로 나오면 된다.
<플러그인 폴더>/launcher/luau-lsp --which<플러그인 폴더>\launcher\luau-lsp.cmd --whichclaude plugin list 나 /plugin 에서 본다. 마켓을 폴더로 추가했으면 claude-doctor 의 plugins/luau-lsp 다..luau 파일에 타입 오류를 일부러 넣었다가 고쳐 줘" 라고 한다. 대화에 Found N new diagnostic issues 줄이 보이면 붙은 것이다(ctrl+o 로 내용).require(ReplicatedStorage.Shared.X) 를 풀려면 sourcemap.json 이 있어야 한다. 플러그인은 rojo 를 띄우지 않으니 직접 만든다: rojo sourcemap default.project.json -o sourcemap.json.luau-analyze 가 아니라 이 서버를 쓴다(luau-analyze 는 Roblox 전역을 모른다).globalTypes.PluginSecurity.d.luau)을 쓴다. 확장이 함께 갱신하므로 버전이 맞는다.api-docs.json)은 VS Code 확장이 받아 둔 것이 있으면 쓴다.LUAU_LSP_DEFS, LUAU_LSP_DOCS 에 경로를 적는다. 최신 정의 파일은 오래된 luau-lsp 가 못 읽을 수 있으니 서버도 최신으로 맞춘다.claude 를 띄우는 셸에서 export 하거나 ~/.claude/settings.json 의 env 에 적는다.
| 변수 | 뜻 |
|---|---|
LUAU_LSP_BIN | 쓸 바이너리 경로. 있으면 찾지 않는다 |
LUAU_LSP_PLATFORM | standard 나 roblox 로 모드를 고정 |
LUAU_LSP_DEFS | Roblox 정의 파일 경로 |
LUAU_LSP_DOCS | 문서 파일 경로 |
LUAU_LSP_LOG | Linux·macOS: 이 파일에 고른 바이너리와 Claude Code 가 보낸 메시지를 남긴다 |
서버가 못 뜨면 Claude 는 진단을 하나도 받지 못하고, 그것이 깨끗한 코드와 구분되지 않는다. 진단이 한 번도 오지 않거나 Claude 가 LSP server ... crashed 를 말하면:
/plugin 의 Errors 탭을 본다.claude --debug 로 띄워 .luau 를 한 번 고치게 하고, 디버그 기록에서 LSP SERVER 와 luau-lsp plugin: 줄을 찾는다. 바이너리를 못 찾으면 luau-lsp plugin: luau-lsp not found ... 한 줄이 남는다.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub qwreey/qwreey-harness --plugin luau-lspPlugins from other owners that cover similar ground