Files
reims-agent/README.md
T

2.3 KiB

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, and vm_unlock
  • computer for screenshots, zoom, pointer, keyboard, and text input
  • wait_for_screen for changed or stable frames
  • guest_public_key, guest_wait_ready, and guest_trust_host for explicit SSH setup and host-key pinning
  • guest_exec, guest_put, guest_get, and guest_logs for SSH commands, bounded SFTP transfers, and paged command output
  • reims://vm/{ref}/screen image 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.