32 lines
1016 B
Markdown
32 lines
1016 B
Markdown
# Terminal Go2 MCP Server
|
|
|
|
This project provides a server that uses the Machine Control Protocol (MCP) to interact with a Go2 robot via MQTT. It exposes the robot's capabilities, such as navigation and speech, as tools that can be called by an MCP client.
|
|
|
|
## Features
|
|
|
|
- **MQTT Integration:** Communicates with the robot over MQTT for robust and real-time command execution.
|
|
- **MCP Tooling:** Exposes robot actions as standardized MCP tools.
|
|
- **Core Functions:**
|
|
- `nav_to`: Navigate the robot to a specified location.
|
|
- `speak`: Make the robot say a given phrase.
|
|
- `custom_action`: Trigger a predefined custom action on the robot.
|
|
- `save_position`: Save the robot's current position with a name.
|
|
|
|
## Installation
|
|
|
|
To install the necessary dependencies, run:
|
|
|
|
```bash
|
|
pip install -e .
|
|
```
|
|
|
|
## Usage
|
|
|
|
To start the server, run the following command from the project's root directory:
|
|
|
|
```bash
|
|
terminal_go2_mcp
|
|
```
|
|
|
|
The server will connect to the MQTT broker and expose the robot's functions as MCP tools.
|