MCP.so
Sign In

MAVLink MCP Server

@ion-g-ion

Basic information

Category

Other

License

MIT

Transports

stdio

Author

ion-g-ion

About MAVLink MCP Server

MCP server for LLM to drone communication via MAVLink

MAVLink MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "MAVLinkMCP": {
      "command": "python",
      "args": [
        "src/server/mavlinkmcp.py"
      ]
    }
  }
}

MAVLink MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MAVLink MCP Server?

A Python-based Model Context Protocol (MCP) server for interacting with MAVLink-enabled devices, such as drones running PX4 software. It is designed for developers building AI agents that need to communicate with MAVLink systems.

How to use MAVLink MCP Server?

  1. Clone the repository and install dependencies with pip install -r requirements.txt.
  2. Run the server with python src/server/mavlinkmcp.py or uv run src/server/mavlinkmcp.py.
  3. An example client is provided in example_agent.py using the fastagent library, which demonstrates creating an AI agent with human input for drone control.

Key features of MAVLink MCP Server

  • MCP server for MAVLink‑enabled drone systems
  • Supports PX4 drone software
  • Python 3.10+ required
  • Installable via pip from requirements
  • Runnable with standard Python or uv run
  • Example agent using fastagent library included

Use cases of MAVLink MCP Server

  • Build AI agents that can command and monitor drones
  • Integrate drone telemetry and control into LLM‑powered applications
  • Prototype human‑in‑the‑loop drone tasks with agent assistance

Frequently asked questions

1

What is the MAVLink MCP Server?

It is an MCP server that allows AI agents to interact with MAVLink devices, particularly drones running PX4.

2

What are the prerequisites?

Python 3.10 or higher is required.

3

How do I install the server?

Clone the repository and run `pip install -r requirements.txt`.

4

How do I run the server?

Use `python src/server/mavlinkmcp.py` or `uv run src/server/mavlinkmcp.py`.

5

Is there an example of how to use it?

Yes, an example agent is provided in `example_agent.py` using the `fastagent` library. You need to export your OpenAI API key before running it.

Comments

More Other MCP servers