Files
reims-agent/README.md
T

2.7 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.

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. Source builds and package checks are documented in CONTRIBUTING.md.

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
  • snapshot_list, snapshot_create, and snapshot_restore for restore points. Restore is limited to temporary sessions created by this plugin.
  • session_create and session_dispose for process-owned CoW sessions.
  • test_run, test_wait, test_status, test_logs, test_result, and test_cancel for guest test runs with optional workspace sync, JUnit summaries, and artifact collection.
  • 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.

Enable Allow AI to access this VM in the MCP Service settings for each VM before using its desktop or SSH tools. This permission is stored per VM and can be revoked there at any time.

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.