Tello Drone MCP Server

Tello Drone MCP Server

drone-mcp•by0xkoda

An MCP server that lets MCP-compatible clients control a DJI Tello drone through a standardized interface, offering drone control over SSE.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes MCP tools for taking off, landing, moving, and rotating the drone.
  • •The move tool accepts a direction among up, down, left, right, forward, back plus a distance.
  • •The rotate tool turns the drone clockwise or counter-clockwise by a specified number of degrees.
  • •The server exposes an SSE endpoint for client connections and handles messages separately.

BEST FOR

  • •Connecting MCP-enabled clients such as Cursor, Windsurf, or Code to a Tello drone.
  • •Controlling a Tello drone in a controlled environment without authentication.

ABOUT DRONE-MCP

Tello Drone MCP Server is cataloged as an MCP server attributed to 0xkoda. An MCP server that lets MCP-compatible clients control a DJI Tello drone through a standardized interface, offering drone control over SSE. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Tello Drone MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What prerequisites does the server need?

It requires Python 3.7+, a DJI Tello drone, a network connection to the drone, and root/sudo access for UDP socket binding.

Are there security considerations to be aware of?

The server requires root/sudo access, implements no authentication, and enables CORS for all origins, so it should be used in a controlled environment only.

What error conditions does the server handle?

The server handles drone connection failures, invalid commands, network timeouts, protocol errors, and invalid tool parameters, returning them as JSON-RPC 2.0 error responses.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 4b9d3ec9286a · 采集于 2026-11-13 09:53:46 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Tello Drone MCP Server

A Model Context Protocol (MCP) server implementation for controlling the DJI Tello drone. This server allows any MCP-compatible client to control a Tello drone through a standardized interface.

This is under active development, read security considerations

Features

  • MCP Support
  • Real-time drone control through SSE (Server-Sent Events)
  • Robust error handling and logging
  • CORS-enabled for web clients (like mcp inspector)
  • Supports basic Tello drone commands:
    • Takeoff
    • Land
    • Move (up/down/left/right/forward/back)
    • Rotate (clockwise/counter-clockwise)

Prerequisites

  • Python 3.7+
  • DJI Tello drone
  • Network connection to the Tello drone
  • Root/sudo access (required for UDP socket binding)

Installation

  1. Clone this repository:
git clone <repository-url>
cd drone-mcp
  1. Install dependencies:
pip install -r requirements.txt

MCP Configuration

To enable your MCP client to connect to the Tello drone server, add the following configuration to your mcp.json file (usually located at ~/.cursor/mcp.json or in your project directory):

{
  "tello-drone": {
    "url": "http://localhost:3000/sse"
  }
}

This configuration allows MCP-enabled tools and models to automatically discover and connect to your Tello drone server.

Usage

  1. Connect to your Tello drone's WiFi network (usually starts with "TELLO-").

  2. Start the MCP server:

sudo python tello_mcp.py

The server will:

  • Initialize connection with the Tello drone
  • Start the MCP server on http://0.0.0.0:3000
  • Set up SSE endpoint at /sse
  • Handle messages at /message

Ensure the server is running before you plan to use it in your client (cursor, windsurf, code).

Available Tools

The server provides the following MCP tools:

1. Takeoff

{
    "name": "takeoff",
    "description": "Commands the Tello drone to take off",
    "inputSchema": {
        "type": "object",
        "properties": {}
    }
}

2. Land

{
    "name": "land",
    "description": "Commands the Tello drone to land",
    "inputSchema": {
        "type": "object",
        "properties": {}
    }
}

3. Move

{
    "name": "move",
    "description": "Moves the Tello drone in a specified direction",
    "inputSchema": {
        "type": "object",
        "properties": {
            "direction": {
                "type": "string",
                "enum": ["up", "down", "left", "right", "forward", "back"]
            },
            "distance": {
                "type": "integer",
                "minimum": 20,
                "maximum": 500
            }
        },
        "required": ["direction", "distance"]
    }
}

4. Rotate

{
    "name": "rotate",
    "description": "Rotates the Tello drone clockwise or counter-clockwise",
    "inputSchema": {
        "type": "object",
        "properties": {
            "direction": {
                "type": "string",
                "enum": ["cw", "ccw"]
            },
            "degrees": {
                "type": "integer",
                "minimum": 1,
                "maximum": 3600
            }
        },
        "required": ["direction", "degrees"]
    }
}

MCP Client Integration

To connect an MCP client:

  1. Start your server and Connect to the SSE endpoint:
GET http://localhost:3000/sse
  1. Prompt your MCP enabled model, which will communicate via SSE
event: endpoint
data: /message?sessionId=<session-id>
  1. Send initialize request:
{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize"
}
  1. List available tools:
{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "listTools"
}
  1. Call a tool (example - takeoff):
{
    "jsonrpc": "2.0",
    "id": 3,
    "method": "callTool",
    "params": {
        "name": "takeoff",
        "arguments": {}
    }
}

Error Handling

The server implements comprehensive error handling:

  • Drone connection failures
  • Invalid commands
  • Network timeouts
  • Protocol errors
  • Invalid tool parameters

All errors are logged and returned as proper JSON-RPC 2.0 error responses.

Logging

The server logs to stderr with detailed information about:

  • Server startup/shutdown
  • Drone connection status
  • Command execution
  • Client connections
  • Error conditions

Security Considerations

  • The server requires root/sudo access to bind to UDP ports
  • No authentication is implemented (rely on network security)
  • CORS is enabled for all origins (*)
  • Use in a controlled environment only

Development

The server is built using:

  • Python's mcp library for protocol handling
  • Starlette for HTTP/SSE transport
  • Uvicorn as the ASGI server
  • Native Python socket library for drone UDP communication

Troubleshooting

  1. Server won't start:

    • Ensure you have sudo/root access
    • Check if the Tello's WiFi is connected
    • Verify no other process is using port 3000
  2. Drone won't connect:

    • Ensure drone is powered on
    • Check WiFi connection
    • Verify no other application is controlling the drone
  3. Commands fail:

    • Check drone battery level
    • Ensure drone is in a safe flying environment
    • Verify command parameters are within allowed ranges

License

MIT

Contributing

Welcome to contribute.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Tello Drone MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/drone-mcp)

REPOSITORY STATS

GitHub Stars26
Forks6

GitHub API evidence checked 2026-11-13 10:10:51.308Z (UTC). Repository-level counts are shared by all components, not individual server installs. Open issues including pull requests: 34.

Last repository push (UTC):2025-04-09

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools