MCP ExplorerExplorer

Mavlinkmcp

@ion-g-ionon 10 months ago
5 MIT
FreeCommunity
AI Systems
MCP server for LLM to drone communication via MAVLink

Overview

What is Mavlinkmcp

MAVLinkMCP is a Python-based Model Context Protocol (MCP) server designed for communication between LLM (Large Language Models) and MAVLink-enabled devices, primarily drones.

Use cases

Use cases for MAVLinkMCP include controlling drones for delivery services, conducting aerial surveys, and integrating LLMs for automated decision-making in drone operations.

How to use

To use MAVLinkMCP, clone the repository, install the required dependencies, configure the server settings in the YAML files, and run the MCP server using the command ‘python src/server/mavlinkmcp.py’.

Key features

Key features of MAVLinkMCP include the implementation of the MCP protocol for standardized communication, integration with MAVLink for drone communication, configurable settings via YAML files, and robust logging capabilities for debugging and monitoring.

Where to use

MAVLinkMCP can be used in various fields such as drone operations, robotics, and any application requiring communication between LLMs and MAVLink-compatible systems.

Content

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:

    git clone https://github.com/yourusername/MAVLinkMCP.git
    cd MAVLinkMCP
    
  2. Install dependencies:

    pip install -r requirements.txt
    

Usage

Run the MCP server with the following command:

python src/server/mavlinkmcp.py

Alternatively, you can run the server using uv run:

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers