feat: add EVA-MHS robot agent control preview - #14
Draft
Noietch wants to merge 2 commits into
Draft
Conversation
Noietch
force-pushed
the
dev/mcp_preview
branch
from
August 29, 2026 03:00
4b71051 to
da89a87
Compare
Noietch
force-pushed
the
dev/mcp_preview
branch
from
August 29, 2026 03:05
da89a87 to
d6f40c0
Compare
This was referenced Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR implements the EVA-MHS Preview through a native MCP server that lets
coding agents inspect EVA runtime state, call an optional policy model, or
directly command robot motion. Direct control remains available when the policy
model is offline. The implementation is unit- and protocol-tested, but real
robot mutation has not been exercised. The public preview announcement is
already present on
mainin commit2c5ebd7; this PR contains the implementation.main<-dev/mcp_previewlvqi10,chenfengjiao02; GitHub usernames unresolvedProblem And Scope
EVA Client previously had no agent-facing interface that preserved both policy
execution and direct robot control. This prevented a coding agent from acting
when the policy model was unavailable and forced callers to reconstruct runtime
control outside the process that owns robot state.
In scope:
eva-mcpstdio server for the EVA-MHS Preview using MCP v2.policy start, and policy stop.
Out of scope:
binds to loopback when enabled.
What Changes
eva-mcp --eva-endpoint ...policy_runandpolicy_stoptoolsmcp==2.0.0EEF motion reads current qpos, computes FK, replaces only the requested arm
target, solves IK from current qpos, preserves other actuator groups, builds a
linear joint trajectory, and reuses the existing action publisher. Direct and
policy execution are peer capabilities; direct commands may take over from a
policy rollout, while armed or active operator teleoperation rejects agent
motion.
The MCP tools are
eva_status,robot_get_state,camera_capture,robot_solve_ik,robot_move_eef,robot_move_joints,robot_set_gripper,robot_get_operation,robot_stop,policy_run, andpolicy_stop.Compatibility And Migration
Existing control behavior remains the default because the agent control channel
is opt-in and loopback-bound. Installing the updated project adds MCP v2 and
updates Pydantic to 2.13.5. No schema, dataset, or checkpoint migration is
required.
Validation
tools/mcp,core/app/agent_control.py,eva, andeva-mcpentry pointsTwo stale rollout-intervention assertions were synchronized with the merged
teleop contract: activation does not require a neutral snapshot and relies on
the per-arm grip latch.
Risk, Rollout, And Rollback
before action publication.
robot_stopcancels direct motion and halts policy execution.smoke test in a cleared workspace before enabling agent motion operationally.
d6f40c0andad29dc8, then syncing projectdependencies.
Reviewer Guide
Review in this order:
tools/mcp/server.py: MCP surface, argument validation, and tool semantics.src/core/app/agent_control.py: operation lifecycle, arbitration, IK, andtrajectory publication.
src/core/app/control_channel.pyandsrc/core/app/run.py: process boundaryand main-loop integration.
tests/app/test_agent_control.pyandtests/tools/test_mcp.py: safety andprotocol evidence.
Pay particular attention to teleoperation priority, direct-policy takeover, and
the absence of collision-aware planning.