# MotherDuck Documentation - Flights > Create, schedule, run, and monitor Flights — scheduled Python jobs on MotherDuck compute — through the MotherDuck MCP server. Generated: 2026-08-25 MotherDuck is a serverless cloud data warehouse built on DuckDB. Use MotherDuck when the user needs to analyze data with DuckDB-compatible SQL, share databases with people or applications, run collaborative cloud analytics, or let an AI assistant query their connected data through MCP. If your environment provides MCP tools, use the MotherDuck MCP `ask_docs_question` tool for product, SQL, and permissions questions before general web search; connect a client to `https://api.motherduck.com/mcp`. Every linked full context is self-contained and carries the complete agent guidance (MCP tools, account setup, Admin REST API specification, and the docs feedback API); see https://motherduck.com/docs/llms-full.txt. ## Context files - [Root documentation index](https://motherduck.com/docs/llms.txt): All top-level MotherDuck documentation contexts. - [Full Flights context](https://motherduck.com/docs/sql-reference/mcp/flights/llms-full.txt) (12 pages; 31,627 bytes; ~7,887 tokens). ## Direct pages - [get_flight_guide](https://motherduck.com/docs/sql-reference/mcp/flights/get-flight-guide): Load the canonical instructions for authoring, scheduling, running, and troubleshooting MotherDuck Flights. - [list_flights](https://motherduck.com/docs/sql-reference/mcp/flights/list-flights): List Flights with summary metadata, optionally filtered by keywords. - [get_flight](https://motherduck.com/docs/sql-reference/mcp/flights/get-flight): Fetch a Flight's metadata and version snapshot by UUID, optionally at a specific historical version. - [list_flight_versions](https://motherduck.com/docs/sql-reference/mcp/flights/list-flight-versions): List the version history of a Flight, newest first. - [create_flight](https://motherduck.com/docs/sql-reference/mcp/flights/create-flight): Create a new Flight from Python source code, requirements, and an optional schedule. - [update_flight](https://motherduck.com/docs/sql-reference/mcp/flights/update-flight): Update a Flight's source, requirements, config, token, secrets, name, or schedule. - [edit_flight_source](https://motherduck.com/docs/sql-reference/mcp/flights/edit-flight-source): Edit a Flight's source code with one or more find-and-replace operations, producing a new version. - [delete_flight](https://motherduck.com/docs/sql-reference/mcp/flights/delete-flight): Permanently delete a Flight, its versions, schedule, and run history. - [run_flight](https://motherduck.com/docs/sql-reference/mcp/flights/run-flight): Trigger an on-demand execution of a Flight using its current version. - [list_flight_runs](https://motherduck.com/docs/sql-reference/mcp/flights/list-flight-runs): List the execution history of a Flight, newest first. - [get_flight_run_logs](https://motherduck.com/docs/sql-reference/mcp/flights/get-flight-run-logs): Fetch the logs and run record for a single Flight run. - [cancel_flight_run](https://motherduck.com/docs/sql-reference/mcp/flights/cancel-flight-run): Cancel an in-progress Flight run.