https://github.com/ion-g-ion/MAVLinkMCP
MCP server for LLM to drone communication via MAVLink
https://github.com/ion-g-ion/MAVLinkMCP
Last synced: 2 months ago
JSON representation
MCP server for LLM to drone communication via MAVLink
- Host: GitHub
- URL: https://github.com/ion-g-ion/MAVLinkMCP
- Owner: ion-g-ion
- License: mit
- Created: 2025-04-07T18:21:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-14T20:44:32.000Z (7 months ago)
- Last Synced: 2025-04-14T21:45:32.660Z (7 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **MAVLinkMCP** - MCP server for LLM to drone communication via MAVLink `python` `mcp` `server` `llm` `pip install git+https://github.com/ion-g-ion/MAVLinkMCP` (🤖 AI/ML)
- awesome-mcp-servers - **MAVLinkMCP** - MCP server for LLM to drone communication via MAVLink `python` `mcp` `server` `llm` `pip install git+https://github.com/ion-g-ion/MAVLinkMCP` (AI/ML)
README
# MAVLink MCP Server
This repository contains a Python-based Model Context Protocol (MCP) server for interacting with MAVLink-enabled devices, such as drones running PX4 software.
## Prerequisites
- Python 3.10 or higher
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/MAVLinkMCP.git
cd MAVLinkMCP
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
## Usage
Run the MCP server with the following command:
```bash
python src/server/mavlinkmcp.py
```
Alternatively, you can run the server using `uv run`:
```bash
uv run src/server/mavlinkmcp.py
```
## Example agent usage
An example client is implemented in `example_agent.py` using the `fastagent` library. This demonstrates how to create an AI agent that interacts with the MCP server and supports human input for controlling a drone.
Export the OpenAI key before running it.
## Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
## License
This project is licensed under the MIT License. See the `LICENSE` file for details.