Large language models (LLMs) offer a route to drone autonomy (physical AI), yet a unified LLM-to-drone interface is missing. We present DroneServer, an agentic harness joining the Model Context Protocol (MCP) to MAVLink: any LLM with function calling can fly ArduPilot and PX4 aircraft through 98 tools. The LLM is an untrusted commander: the server validates every command and an independent geofence bounds the aircraft. In 1,010 simulated flights, scored from telemetry, not the model's report, eight of eleven models passed at least 90% of six routine missions on ArduPilot and seven on PX4. With the first mission's hold time also scored, only one and three did. Whatever holds mission state must report it: about half of failed trials were reported as successes, most on the model's word. Before a dangerous command, the server asks the model to confirm by returning a one-time code. This did not restrain a model under prompt injection: it returned the code and cut the motors. In 110 geofence-violation trials no aircraft left the zone: models declined 48, the server blocked 62. A scripted client with no model flew a 37.8-minute mission through a 4-minute disconnection; with a model supervising, three of nine long missions passed. On two real quadcopters, five providers' models flew an unseen mission in all ten cells, in twenty attempts. The architecture is a scaffold for a drone-LLM operating system where plain-language commands realize complex missions, and a path to agent swarms commanding drone swarms under one security umbrella.
翻译:暂无翻译