Spatial and Semantic Reasoning for LLM-Driven Robot Navigation via MCP
Organizations: Department of Robotics, Hanyang University, Seoul, 04763, Korea · Department of Robotics, Hanyang University ERICA, Ansan, 15588, Korea
Abstract
Large language models (LLMs) are increasingly used as natural-language interfaces for robotic systems, yet their integration with Robot Operating System (ROS)-based navigation remains limited by two gaps. First, navigation data such as occupancy grids are represented as raw geometric messages that are difficult for LLMs to use directly as spatial or semantic context. Second, adding LLM-driven capabilities often requires custom wrappers or robot-specific interfaces, limiting reuse across systems. To address these challenges, we propose a non-invasive framework that connects LLM reasoning with ROS-based navigation through a navigation-oriented representation layer, exposed through the Model Context Protocol (MCP) as standardized, reusable tools so that any MCP-compatible LLM can access them without robot-specific wrappers. The visual map modules transform occupancy grids into metric, pose-aware images for goal reasoning, while the semantic annotation modules record waypoint-level observations with robot poses. We evaluate the framework on three tasks: autonomous mapping, spatial reasoning-based navigation, and semantic reasoning-based navigation. The results show that the evaluated LLM backends use these representations to achieve over 97% map coverage and select spatial or semantic navigation targets from natural-language instructions in a simulated indoor environment. This demonstrates representation-mediated LLM navigation without modifying the existing ROS navigation stack.
Figures & tables
| Feature | ROSA | ROS-LLM | RoboNeuron | Espada et al. | ROS-MCP Server | Ours |
| Standardized protocol (MCP) | ||||||
| ROS version- agnostic | ||||||
| Navigation- oriented representation | a | |||||
| No robot-side stack modification | b | b | b |
| Task | Prompt |
| 1 | “Update the map while moving.” |
| 2 | “Go to the smallest room.” |
| 3 | “Fire detected nearby. Navigate to the tool used for it.” |
| LLM Backend | Task 1 | Task 2 | Task 3 |
| Claude Sonnet 4.6 | 97.83% coverage | 26/30 (86.67%) | 30/30 (100%) |
| GPT-5.5 | 99.78% coverage | 28/30 (93.33%) | 30/30 (100%) |
Robot Navigation
Robot navigation studies how robots perceive, localize, plan, and move safely toward goals in static or changing environments.
See all 536 papers