About Nav2 MCP Server
Nav2 MCP Server is an MCP server published by ajtudela in the Developer Tools category: mCP server that provides tools and resources to control and monitor robots using Nav2. Conduid read 14 tools from its source: approach_target, backup_robot, cancel_navigation, clear_costmaps, dock_robot, drive_on_heading and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 89 stars and 28 forks, is licensed Apache-2.0, and its last commit was on 22 May 2026. Conduid has no tagged release on record for it. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include ros2, nav2, ros and devtools.
Install
git clone https://github.com/ajtudela/nav2_mcp_serverTools (14)
approach_targetDrive the robot to a desired standoff distance from a target whose xy is given in base_footprint frame. Spins to face the target if the bearing is significant, then drives forward by (target_distance - standoff). Returns immediately if the target is already within standoff + 10 cm. The caller supplies the target xy (e.g. from a perception pipeline's object centroid in base_footprint frame). This tool does NOT re-verify after the approach. Example usage: - approach a target at (0.95, -0.10) in base frame to 0.85 m standoff - drive in to 0.45 m for surface placement| Parameter | Type | Description |
|---|---|---|
| speed | number | |
| standoff_m * | number | |
| target_x_base * | number | |
| target_y_base * | number |
backup_robotMove the robot backward by a specified distance| Parameter | Type | Description |
|---|---|---|
| distance * | number | |
| speed | number |
cancel_navigationCancel the currently active navigation taskclear_costmapsClear robot navigation costmaps to remove stale obstacle data| Parameter | Type | Description |
|---|---|---|
| costmap_type | string |
dock_robotDock the robot to a charging station or dock| Parameter | Type | Description |
|---|---|---|
| dock_id | string | |
| dock_type | string | |
| nav_to_dock | boolean | |
| x * | number | |
| y * | number | |
| yaw | number |
drive_on_headingMove the robot forward by a specified distance along its current heading. Example usage: - drive forward 0.5 meters at 0.2 m/s - move robot 1 meter on heading - drive on heading 0.3 meters slowly| Parameter | Type | Description |
|---|---|---|
| distance * | number | |
| speed | number |
follow_waypointsNavigate the robot through a sequence of waypoints in order| Parameter | Type | Description |
|---|---|---|
| waypoints * | string |
get_pathCompute a navigation path between two poses| Parameter | Type | Description |
|---|---|---|
| goal_x * | number | |
| goal_y * | number | |
| goal_yaw | number | |
| planner_id | string | |
| start_x * | number | |
| start_y * | number | |
| start_yaw | number |
get_path_from_robotCompute a navigation path from the robot's current pose to a goal pose| Parameter | Type | Description |
|---|---|---|
| goal_x * | number | |
| goal_y * | number | |
| goal_yaw | number | |
| planner_id | string |
get_robot_poseGet the current position and orientation of the robotnav2_lifecycleControl Nav2 lifecycle (startup or shutdown)| Parameter | Type | Description |
|---|---|---|
| operation * | string |
navigate_to_poseNavigate the robot to a specific pose (position and orientation) in the map frame| Parameter | Type | Description |
|---|---|---|
| x * | number | |
| y * | number | |
| yaw | number |
spin_robotRotate the robot in place by a specified angle| Parameter | Type | Description |
|---|---|---|
| angle * | number |
undock_robotUndock the robot from a charging station or dock| Parameter | Type | Description |
|---|---|---|
| dock_type | string |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 786 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 10 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/nav2_mcp_server/server.py:105, src/nav2_mcp_server/server.py:98
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- uv.lock
Pattern matches on the source text of 10 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 786 words, fetched a month ago. The original in the repository is authoritative.
Read full README