rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

[WIP] MCP

Open zth opened this issue 1 month ago • 1 comments

This bootstrap a simple MCP for ReScript, through Rewatch. Initially it adds a single command diagnose, which will run quick diagnostics for a single file. Diagnostics here means that we'll run a compilation only on the single file targeted, no dependents, so it's really quick. Warnings and errors are returned to the LLM.

Supersedes https://github.com/rescript-lang/rescript/pull/7566.

zth avatar Nov 02 '25 17:11 zth

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8001
@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8001
@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8001
@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8001
@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8001
@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8001
@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8001

commit: ffdd6de

pkg-pr-new[bot] avatar Nov 06 '25 18:11 pkg-pr-new[bot]