千川白浪 f19eef7946 feat(mcp)!: require pluginApi 1.3 for held input, region capture and force stop
The host serves held key transitions, host/console.release, region screenshots and force on host/vm.shutdown, and the plugin relies on all of them, so it declares pluginApi 1.3.
2026-12-05 02:01:04 -07:00
2026-12-02 13:18:10 +08:00
2026-12-02 13:18:10 +08:00
2026-12-02 13:18:10 +08:00

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; it does not open a network listener.

Configure an MCP client to launch one of these commands over stdio. Grant the plugin permissions in Reims-Go before calling VM tools. Source builds and package checks are documented in CONTRIBUTING.md.

Command Tools
reims-go.exe plugin connect reims.agent mcp The six computer-use tools
reims-go.exe plugin connect reims.agent mcp-dev The computer-use tools plus guest SSH, restore point, clone and test tools

Computer-use tools

  • vm_list and vm_get read the VMs this plugin may use.
  • vm_power starts, shuts down, force-stops, suspends or resumes a VM.
  • vm_unlock types the saved login password and returns the screen once it settles.
  • screen returns the display. It can first wait for the display to change or settle, for up to 180 seconds while a VM boots, and it can return one region at up to source resolution.
  • computer_input runs up to 50 mouse and keyboard actions in order and returns the screen after the last one. A wait_screen step waits for the UI to respond, and a timeout stops the sequence.

Version 0.2 needs a Reims-Go build whose Host API provides region screenshots, held-key input, input release and forced shutdown.

Every x and y is a pixel of the last full screen image the plugin returned, whatever its scale. Each result reports that image's width, height and a 16-digit sha256 that later waits can use as a baseline. computer_input checks every step before it sends any input, and it releases held keys and buttons when it finishes, fails, or is cancelled. Calls on one VM run one at a time; calls on different VMs and the guest and test tools run independently.

Development tools

These tools are only served on the mcp-dev channel.

  • guest_wait_ready and guest_trust_host set up SSH. guest_wait_ready returns the host fingerprint to review and the plugin public key to add to the guest.
  • guest_exec, guest_put and guest_get run commands and copy files over SSH.
  • snapshot_list, snapshot_create and snapshot_restore manage restore points. Restore works only on temporary clones created by this plugin.
  • session_create and session_dispose create and delete temporary clones.
  • test_run, test_wait and test_cancel run guest tests on a temporary clone with optional workspace sync, JUnit summaries and artifact collection.
  • logs_read pages through the output of a guest_exec call or a test run.

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.

S
Description
No description provided
Readme Apache-2.0
143 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%