feat(mcp): harden cancellation and guest operations
Reims-Go MCP Service
reims.agent is the official Reims-Go L3 plugin that exposes host-authorized virtual machine information and desktop controls to MCP clients. The host retains QMP access and permission checks. The plugin communicates with the host through reims-go plugin connect reims.agent mcp; it does not open a network listener.
Development
Requirements are Go 1.26 or later and a Reims-Go checkout with plugin API 1.1 support.
go test ./...
go vet ./...
go build -o bin/reims-agent.exe ./cmd/reims-agent
reims-go plugin doctor .
reims-go plugin pack .
Use the Reims-Go Plugins page to link this directory in developer mode. Configure an MCP client to launch reims-go.exe plugin connect reims.agent mcp over stdio. Grant the plugin permissions in Reims-Go before calling VM tools.
Current MCP tools
vm_list,vm_get,vm_start,vm_shutdown, andvm_unlockcomputerfor screenshots, zoom, pointer, keyboard, and text inputwait_for_screenfor changed or stable framesguest_public_key,guest_wait_ready, andguest_trust_hostfor explicit SSH setup and host-key pinningguest_exec,guest_put,guest_get, andguest_logsfor SSH commands, bounded SFTP transfers, and paged command outputreims://vm/{ref}/screenimage resource
Screenshots are returned to the MCP client and are not retained by the plugin. The plugin package contains a native Windows sidecar and therefore runs with the current Windows account's permissions. Reims-Go presents the declared capabilities and requires approval before enabling them.
Guest SSH requires port forwarding and a configured username in the host VM settings. Review the fingerprint from guest_wait_ready before calling guest_trust_host, and add the returned public key to the guest account's ~/.ssh/authorized_keys. SFTP transfers are limited to the guest user's home directory and 64 MiB per file.
Releases
Tags named vX.Y.Z run the Windows CI, tests, vet, build the sidecar, and package the plugin with the Reims-Go CLI. The resulting reims.agent-X.Y.Z.zip and its SHA-256 are attached to the GitHub Release. Market registration is maintained separately in reims-go/plugins.
The L3 release workflow builds the executable from this public source repository. The binary is not committed to Git.