Skip to main content
Glama

embodied-nav-mcp

一个语言模型,可以环顾房间,走向它命名的物体,数出所见之物,并在完成时停下。

模型决定做什么。传感器决定物体在哪里。

工具

工具

功能

get_view

来自360°相机的四个透视面,加上位姿

ground

指代表达式 → 像素框 → 激光雷达米数 → 转换器吸附的路点

drive_to

发布一个地图坐标系下的 (x, y) 并等待到达或稳定

stop

停车,使规划器不再追逐最后一个路点

parse_numerical

将计数问题拆分为目标/锚点

count_in_view

仅统计此视角;每个实例都通过激光雷达提升

commit_count

按位置聚类观察;发布整数

publish_object

最后一个 ground 的激光雷达 AABB;发布3D标记

commit_count 不从模型获取数字。四个枕头的两个视角变成4,而不是8。

几何部分来自 Team Xiao Hei 的 feat/xiao-hei-instruction-merge 的 Type 3 栈:尺寸门、盲锥处理、转换器稳定位姿、退出时停车。

Related MCP server: Webots MCP

安装

uv sync --extra dev
export ANTHROPIC_API_KEY=...
uv run pytest

Python 3.11+。真实机器人/仿真需要 ROS Jazzy 和自主栈。测试使用假机器人,两者都不需要。

尝试

# Dry run, no ROS
uv run embodied-mcp-agent --fake "How many blue chairs are between the table and the wall?"
uv run embodied-mcp-agent --fake "Find the potted plant on the kitchen island closest to the fridge."
uv run embodied-mcp-agent --fake "Take the path near the window to the fridge."

在机器人(或挑战容器)上,栈已启动时:

uv run embodied-mcp-challenge
# evaluators still run: ros2 launch dummy_vlm dummy_vlm.launch

embodied-mcp --attach-ros 是通过 stdio MCP 的相同工具。挑战节点在进程内调用它们:机器人容器没有用于远程 MCP 连接器的公共 URL。

CMU VLN 挑战

即插即用适配器:examples/cmu_vln/。包名 dummy_vlm 保持不变。

类型

工具

ROS 输出

数值

parse_numerical, count_in_view, commit_count

/numerical_response

物体指代

ground, publish_object

/selected_object_marker

指令跟随

get_view, ground, drive_to, stop

/way_point_with_heading

允许的传感器:/camera/image、/registered_scan、/terrain_map、/terrain_map_ext、/state_estimation。到达状态是 /state_estimation,而不是 /way_point_reached。每个进程一个问题。

配置

变量

默认值

ANTHROPIC_API_KEY

—

必需

EMBODIED_MCP_MODEL

claude-opus-5

主机和像素接地/计数模型

EMBODIED_MCP_BUDGET_S

540

从进程启动起的秒数

XIAO_HEI_IMAGE_TOPIC

/camera/image

相机话题

许可证

MIT。内置的几何和 ROS I/O 来自 Team Xiao Hei;参见 NOTICE。

Available Tools

8 tools
commit_countA

Cluster every count_in_view look by lidar position and publish one integer on /numerical_response. Two views of the same four pillows become 4, not 8. You do not pass the number — geometry does.

Inputs: no named parameters. Returns: result

count_in_viewA

Count matching instances from the current vantage point only. The call is never told the running total — do not add previous looks yourself. Each instance is boxed and lifted with lidar so later looks can be de-duplicated. If sufficient is false, drive as next_view suggests (or ground the anchor) and count_in_view again. When you are done looking, call commit_count — that publishes the clustered integer.

Inputs: target (required), question (required), anchor. Returns: result

drive_toA

Publish one waypoint (map-frame x, y) and wait until the vehicle arrives or settles. Arrival is decided from /state_estimation, not from a 'waypoint reached' topic. Prefer publish_xy from ground() over coordinates you invent.

Inputs: x (required), y (required), timeout_s. Returns: result

get_viewA

Capture the robot's current 360° camera, split into four perspective faces (front, right, back, left), and return them with the current pose. Call this when you need to see the room. Do not guess what is around you.

Inputs: no named parameters. Returns: result

groundA

Ground a referring expression in the live camera + lidar. Pass the object or place to go to, in the instruction's own words (e.g. 'the lantern closest to the fan decoration'). The tool asks a pixel-grounding model for a box, lifts metres from the registered scan, size-checks the range, and snaps the waypoint to where the platform converter will actually settle. Use publish_xy as the argument to drive_to. If committed is false, this is a step to a better viewpoint — drive there and ground again. If visible is false, drive to suggested_xy and look again.

Inputs: query (required). Returns: result

parse_numericalA

Split a counting question into target, attribute, relation, and anchor. Use this first on numerical questions so you know what to ground and what to pass to count_in_view.

Inputs: question (required). Returns: result

publish_objectA

Publish a 3D cube marker on /selected_object_marker for the object you last grounded. Call ground() on the unique referred object first. The box centre and size come from the lidar cluster, not from a guess.

Inputs: label (required). Returns: result

stopA

Park at the current pose so the local planner stops chasing the last waypoint. Call this when the instruction is finished, or after you have published a numerical or object-reference answer.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool serves a distinct function: perception (get_view), grounding (ground), navigation (drive_to, stop), numerical parsing (parse_numerical), counting (count_in_view), finalizing counts (commit_count), and object publication (publish_object). There is no overlap or ambiguous boundaries between them.

    Naming Consistency5/5

    All tool names follow a consistent verb_phrase pattern with snake_case (e.g., get_view, drive_to, commit_count). The verbs are imperative and descriptive, making the intent of each tool predictable from its name alone.

    Tool Count5/5

    With 8 tools, the server is well-scoped for embodied navigation and counting tasks. Each tool covers a necessary step in the workflow without redundancy or excessive granularity, fitting within the ideal 3-15 tool range.

    Completeness5/5

    The tool surface fully covers the lifecycle of the domain: perceiving the environment, grounding references, moving, stopping, parsing questions, counting from multiple views, committing aggregated results, and publishing object markers. There are no obvious gaps or dead ends for the intended tasks.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables controlling robots in ROS environments through natural language, supporting topics, services, actions, and GUI tools.
      24
      36
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables agents to identify appliances and retrieve grounded, robot-executable operation packages, reducing hallucinations from 24% to nearly 0%.
      4
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables LLM agents to control robot simulations (grasping, pouring) in the Genesis physics simulator through persistent sessions, allowing multi-turn interaction with the same scene.
      -