Add initial implementation of Terminal Go2 MCP server with MQTT integration, core functionalities for robot navigation and speech, and comprehensive documentation. Includes configuration files and main application structure.

This commit is contained in:
2025-09-28 12:12:58 +08:00
parent 9b7b69d8c3
commit 924bce9554
6 changed files with 426 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# 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.